Set up data privacy

Some countries have data privacy laws that specifically concern data collection and retention. Companies based in that country, or have users there, must comply. Here, you can learn how to apply data privacy settings in Adjust for this purpose.

Before you begin

Here's what you need to know before getting started.

  • Data privacy is set at the app-level

Requirements

  • Admin, Editor, or Custom Editor permissions.

SDK setup

⚙️  This feature requires Adjust Android SDK v4.26.0+ or Adjust iOS SDK v4.25.0+

To use this feature, you first need to download and set up the Adjust SDK for your platform. Once you have the Adjust SDK installed and configured, follow our developer guides to use this feature:

Android / iOS

Optional: Set the SDK to receive user consent after install

To ensure that a user's measurement consent is sent after Adjust tracks the install session, you need to call the trackMeasurementConsent method after you call Adjust.onResume(). This is because Adjust.onResume() creates the install session.

Add a data privacy setting in the dashboard

There are certain rules applied to how time periods are defined. Consider these when adding settings in the Adjust dashboard.

  • Time is measured in Months.
  • A month is defined as 30 days.
  • The consent expiry period cannot be equal to 0.
  • The user data retention period cannot be equal to 0.
  • Expiry and retention periods must be entered as values between 1 and 25.
  • The consent expiry period cannot be greater than the user data retention period.

Setup:

To add a data privacy setting, follow these steps in the Adjust Dashboard.

  1. Find your app and select your app options caret (^).
  2. Select Data Privacy.
  3. Enter a Consent Expiry Period.
  4. Enter a User Data Retention Period.
  5. Select Save.

The setting is immediately active and the toggle switches ON.

Remove a data privacy setting

To remove a data privacy setting, follow these steps in the Adjust Dashboard.

  1. Find your app and select your app options caret (^).
  2. Select Data Privacy.
  3. Switch OFF the Data Privacy toggle.
  4. Select Save.