# Client SDKs

> Browser and mobile SDKs for tracking events and user identity, with automatic page views and click IDs on the web and app lifecycle events in mobile apps.

Source: https://docs.oursprivacy.com/docs/client-overview

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.

Every client SDK has methods to track events and identify users, and handles batching, retries, and default properties for you.

> **Before you wire up `identify`:** read [Data Types and Field Values](https://docs.oursprivacy.com/docs/data-types). Passing `null` to a top-level visitor property clears the existing value on the visitor. This is a common mistake when code like `urlParams.get('gclid')` returns `null` and overwrites an attribution value captured earlier.

## Available SDKs

| SDK                  | Install                                 | Docs                                                                   |
| -------------------- | --------------------------------------- | ---------------------------------------------------------------------- |
| Web SDK (script tag) | `<script>` snippet                      | [Web SDK](https://docs.oursprivacy.com/docs/web-sdk-javascript)        |
| Web SDK (npm)        | `npm install @oursprivacy/cdp-sdk`      | [Web SDK](https://docs.oursprivacy.com/docs/web-sdk-javascript)        |
| Android              | Gradle dependency                       | [Android SDK](https://docs.oursprivacy.com/docs/android-sdk)           |
| iOS                  | Swift Package Manager                   | [iOS SDK](https://docs.oursprivacy.com/docs/ios-sdk)                   |
| React Native         | `npm install @oursprivacy/react-native` | [React Native SDK](https://docs.oursprivacy.com/docs/react-native-sdk) |
| Flutter              | `flutter pub add ours_privacy`          | [Flutter SDK](https://docs.oursprivacy.com/docs/flutter-sdk)           |

## Tag Manager Installation

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

* [Ours Privacy Tag Manager](https://docs.oursprivacy.com/docs/tag-manager) (recommended)
* [Google Tag Manager](https://docs.oursprivacy.com/docs/gtm-install)
* [Other tag managers](https://docs.oursprivacy.com/docs/tag-manager-integrations) (Adobe, Piwik)

## Looking for Server-Side Tracking?

If you need to send events from your backend, see the [Ingest SDKs](https://docs.oursprivacy.com/docs/ingest-overview). For managing your account configuration programmatically, see the [Platform SDKs](https://docs.oursprivacy.com/docs/platform-overview).
