---
title: Privacy - Cordova
description: Learn how Contentsquare deals with Personal Data and related APIs
lastUpdated: 09 October 2025
source_url:
  html: https://docs.contentsquare.com/en/cordova/privacy/
  md: https://docs.contentsquare.com/en/cordova/privacy/index.md
---

The Contentsquare Cordova Plugin and SDKs are compliant with the **Play Store and App Store Privacy guidelines** as well as with the **EU General Data Protection Regulation (GDPR)**.

Consult our [Privacy Center ↗](https://contentsquare.com/privacy-center/) and [Privacy Policy ↗](https://contentsquare.com/privacy-center/privacy-policy/).

## Handling User Consent

Even though Contentsquare only collects usage data on your app, we will consider every new user to be opted-out. To start tracking, the Opt-in API must be called.

Note

If for some reason you think that securing user consent is not required for your app, discuss it during the Implementation process with your main contact.

## Opt-in

Use the Opt-in API to get user consent. Calling this API will generate a user ID and initiate tracking.

```javascript
import { ContentsquareCDVPlugin } from '@contentsquare/cordova-plugin-types';


declare var ContentsquarePlugin: ContentsquareCDVPlugin;


ContentsquarePlugin.optIn((result)=>{
    // Success
}, (err)=>{
    // Handle error
});
```

## Opt-Out

**Permanently breaking the link and stopping all data collection.**

When this API is called, tracking stops immediately, all settings are reset (session number, page number, user ID...) and all files related to Contentsquare tracking are deleted. Contentsquare will never track and collect any data from the user's phone unless the Opt-in API is called again.

```javascript
import { ContentsquareCDVPlugin } from '@contentsquare/cordova-plugin-types';


declare var ContentsquarePlugin: ContentsquareCDVPlugin;


ContentsquarePlugin.optOut((result)=>{
    // Success
}, (err)=>{
    // Handle error
});
```
