CDPGuidesSupport
SDKs

Ours Privacy SDK Overview

Overview of the three Ours Privacy SDK families: Client SDKs for browser and mobile tracking, Ingest SDKs for server-side event tracking, and Platform SDKs for configuration management and automation.

Ours Privacy provides three families of SDKs, each designed for a different use case.


Client SDKs

Client SDKs run in the browser or in your mobile app. The Web SDK captures page views, click IDs such as gclid and fbclid, and referrers automatically. The mobile SDKs collect app opens, sessions, and screens, and read campaign values from the links that open your app.

SDKInstallDocs
Web SDK (script tag)<script> snippetWeb SDK
Web SDK (npm)npm install @oursprivacy/cdp-sdkWeb SDK
AndroidGradle dependencyAndroid SDK
iOSSwift Package ManageriOS SDK
React Nativenpm install @oursprivacy/react-nativeReact Native SDK
Flutterflutter pub add ours_privacyFlutter SDK

You can also install the Web SDK through a tag manager:


Ingest SDKs

Ingest SDKs send events from your server on behalf of a user. Use these for server-side conversions, CRM syncs, backend form handling, or any event that originates from your servers rather than a browser.

All ingest SDKs call the same Ingest API, described by an OpenAPI specification. For high-volume replay and backfill support, see the batch reference.

SDKPackage / InstallDocs
Gogo get github.com/with-ours/ingest-sdk-goGo SDK
KotlinGradle dependencyKotlin SDK
Node.jsnpm install @oursprivacy/server-sdkNode.js SDK
Pythonpip install oursprivacy-clientPython SDK
PHPComposerPHP SDK
Rubygem install oursprivacy-ingestRuby SDK
C#NuGetC# SDK

You can test single-event payloads before integrating using the Track Events API reference. The batch endpoint is documented separately at /docs/reference/batch.


Platform SDKs

Platform SDKs give you programmatic access to manage your Ours Privacy account: sources, destinations, consent settings, and more. Use these to automate setup, integrate with CI/CD, or build custom tooling.

All platform SDKs wrap the Platform REST API, generated from our OpenAPI specification.

ToolPackage / RepoDocs
Node.js / TypeScriptnpm install @oursprivacy/platform-sdkNode.js SDK (platform)
Gogo get github.com/with-ours/platform-sdk-go/v2Go SDK (platform)

Next Steps

  1. Client SDKs: set up tracking in your website or mobile app.
  2. Ingest SDKs: send events from your server-side code.
  3. Platform SDKs: automate your account configuration or explore the Platform API docs.

How is this guide?

On this page