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 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.

SDKInstallDocs
Web SDK (script tag)<script> snippetWeb SDK
Web SDK (npm)npm install @oursprivacy/cdp-sdkWeb SDK
AndroidGradle dependencyAndroid SDK
iOSCocoaPods / SPMiOS SDK
React Nativenpm installReact Native 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.

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 oursprivacyPython SDK
PHPComposerPHP SDK
Rubygem install oursprivacyRuby SDK
.NETNuGet.NET SDK
C#NuGetC# 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.

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

More language SDKs are coming soon.


Next Steps

  1. Client SDKs — Set up automatic 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