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 SDK Overview
Ours Privacy provides three families of SDKs, each designed for a different use case. This page will help you decide which is right for you.
Client SDKs
Client SDKs run in the browser or on a mobile device. They automatically capture page views, query parameters (click IDs like gclid and fbclid), referrer data, and other context — so you get tracking out of the box with minimal setup.
| 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 | CocoaPods / SPM | iOS SDK |
| React Native | npm install | React Native 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.
| 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 | Python SDK |
| PHP | Composer | PHP SDK |
| Ruby | gem install oursprivacy | Ruby SDK |
| .NET | NuGet | .NET SDK |
| C# | NuGet | C# SDK |
You can test payloads before integrating using the Ingest API Testing Center.
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 | Go SDK (platform) |
| CLI | with-ours/platform-cli | CLI (platform) |
More language SDKs are coming soon.
Next Steps
- Client SDKs — Set up automatic 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?