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.

You can use consent expiry periods and user data retention periods to instruct Adjust how to manage user data based upon the consent status.

Before you begin

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

Requirements

  • Admin, Editor, or Custom Editor permissions
  • Data privacy is only configured at the app-level.

SDK setup

  • 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 Android / iOS developer guides.

(Optional) Set the SDK to receive user consent after install

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

How it works

When you use data privacy, you can manage how you collect and keep user-data based on consent information we receive. When a user consents, you can choose to process their data for a limited time. You can also define how long Adjust will store this data.

Rules for data privacy settings

  • 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.

Choose your data privacy settings

  1. Under AppView, select All apps.
  2. Select your app.
  3. Select the Protection tab.
  4. Under Data privacy, select Edit, and turn on the Data privacy toggle.
  5. Enter a value for the Consent expiry period. Your users' consent is valid only for this time period. Once the consent expiry period ends, we no longer process user data.
  6. Enter a value for the User data retention period. This is the maximum time that we can store users' data. Once the user data retention period ends, we delete user data.
  7. Select Save.

Remove data privacy settings

  1. Under AppView, select All apps.
  2. Select your app.
  3. Select the Protection tab.
  4. Under Data privacy, select Edit, and turn off the Data privacy toggle.
  5. Select Save.