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.
| SDK | Install | Docs |
|---|---|---|
| Web SDK (script tag) | <script> snippet | Web SDK |
| Web SDK (npm) | npm install @oursprivacy/cdp-sdk | Web SDK |
| Android | Gradle dependency | Android SDK |
| iOS | Swift Package Manager | iOS SDK |
| React Native | npm install @oursprivacy/react-native | React Native SDK |
| Flutter | flutter pub add ours_privacy | Flutter SDK |
You can also install the Web SDK through a tag manager:
- Ours Privacy Tag Manager (recommended)
- Google Tag Manager
- Other tag managers (Adobe, Piwik)
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.
| SDK | Package / Install | Docs |
|---|---|---|
| Go | go get github.com/with-ours/ingest-sdk-go | Go SDK |
| Kotlin | Gradle dependency | Kotlin SDK |
| Node.js | npm install @oursprivacy/server-sdk | Node.js SDK |
| Python | pip install oursprivacy-client | Python SDK |
| PHP | Composer | PHP SDK |
| Ruby | gem install oursprivacy-ingest | Ruby SDK |
| C# | NuGet | C# 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.
| Tool | Package / Repo | Docs |
|---|---|---|
| Node.js / TypeScript | npm install @oursprivacy/platform-sdk | Node.js SDK (platform) |
| Go | go get github.com/with-ours/platform-sdk-go/v2 | Go SDK (platform) |
Next Steps
- Client SDKs: set up tracking in your website or mobile app.
- Ingest SDKs: send events from your server-side code.
- Platform SDKs: automate your account configuration or explore the Platform API docs.
How is this guide?

