For the complete documentation index, see llms.txt.

Privacy

Last updated View as Markdown

This SDK mainly receives critical fixes. New capabilities are shipping in the CSQ SDK first.

Migrate to the CSQ SDK using our AI wizard.

The Contentsquare React Native Bridge 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 ↗ and Privacy Policy ↗.

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.

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

import Contentsquare from "@contentsquare/react-native-bridge";
Contentsquare.optIn();

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.

import Contentsquare from "@contentsquare/react-native-bridge";
Contentsquare.optOut();

We allow the client to provide to their users their Contentsquare user ID.

This ID is a non binding identifier which can be used to make a data request to Contentsquare. You are able to get an ID only if the user is not Opted-out. To do so, pass a callback as a parameter to the function.

import Contentsquare from "@contentsquare/react-native-bridge";
const [userId, setUserId] = useState("not retrieved yet");
// Contentsquare.getUserId(string => {})
Contentsquare.getUserId((newUserId) => {
console.log(`Your Contentsquare UserID is ${newUserId}`);
setUserId(newUserId);
});

Although we do not gather any humanly readable text from the user's screens, we understand that there may be some areas that you want to completely exclude from tracking. For this reason, we also support stopping and resuming the complete tracking mechanism.

import Contentsquare from "@contentsquare/react-native-bridge";
// Stop tracking
Contentsquare.stopTracking();
// Resume tracking
Contentsquare.resumeTracking();