---
title: Privacy - Capacitor
description: Learn how Contentsquare deals with Personal Data and related APIs
lastUpdated: 07 April 2026
source_url:
  html: https://docs.contentsquare.com/en/capacitor/privacy/
  md: https://docs.contentsquare.com/en/capacitor/privacy/index.md
---

> Documentation index: https://docs.contentsquare.com/llms.txt
> Use this file to discover all available pages before exploring further.

The Contentsquare Capacitor Plugin and SDKs are compliant with the **Play Store and App Store Privacy guidelines** and 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 `optIn()` 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 `optIn()` API to get user consent. Calling this API will generate a user ID and initiate tracking.

```javascript
import { ContentsquarePlugin } from "@contentsquare/capacitor-plugin";


ContentsquarePlugin.optIn();
```

## 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 { ContentsquarePlugin } from "@contentsquare/capacitor-plugin";


ContentsquarePlugin.optOut();
```
