Client SDKs
Browser and mobile SDKs for tracking page views, events, and user identity. Automatic capture of URLs, click IDs, referrers, and more.
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.
All client SDKs expose simple methods for tracking events and identifying users (e.g., ours('track', 'Event Name')), and handle batching, retrying, and default property hydration for you.
Available SDKs
| 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 @oursprivacy/react-native-sdk | React Native SDK |
Tag Manager Installation
You can also install the Web SDK through a tag manager:
- Ours Privacy Tag Manager (recommended)
- Google Tag Manager
- Other tag managers (Adobe, Piwik)
Looking for Server-Side Tracking?
If you need to send events from your backend, see the Ingest SDKs. For managing your account configuration programmatically, see the Platform SDKs.
How is this guide?