Privacy features

GDPR right to be forgotten

In accordance with article 17 of the EU's General Data Protection Regulation (GDPR), you can notify Adjust when a user has exercised their right to be forgotten (RTBF). Call the Adjust.gdprForgetMe method to have the Adjust SDK communicate the user's RTBF request to the Adjust backend:

Java
Javascript
Adjust.gdprForgetMe(context);

When the backend receives this information, Adjust will erase the user's data. The SDK will also stop tracking the user and will not send requests from the device in future.

Third-party sharing for specific users

You can use the Adjust SDK to record when a user changes their third-party sharing settings.

Disable third-party sharing for specific users

Some users may want to opt-out of sharing their data with third-parties. To communicate this to Adjust, call the Adjust.trackThirdPartySharing method with a false value.

Java
Javascript
AdjustThirdPartySharing adjustThirdPartySharing = new AdjustThirdPartySharing(false);
Adjust.trackThirdPartySharing(adjustThirdPartySharing);

When the Adjust backend receives this information it will stop sharing the user's data with third-parties. The Adjust SDK will continue to work as expected.

Enable or re-enable third-party sharing for specific users

If a user enables or re-enables sharing with third-parties, you need to relay this to the backend. Call the Adjust.trackThirdPartySharing method with a true value to do this.

Java
Javascript
AdjustThirdPartySharing adjustThirdPartySharing = new AdjustThirdPartySharing(true);
Adjust.trackThirdPartySharing(adjustThirdPartySharing);

When the backend gets this information it will update the user's settings. The Adjust SDK will continue to work as expected.

Send granular information to the Adjust backend

You can attach granular information when a user updates their third-party sharing preferences. You can use this information to communicate more detail about a user's decision.

Java
Javascript
AdjustThirdPartySharing adjustThirdPartySharing = new AdjustThirdPartySharing(null);
adjustThirdPartySharing.addGranularOption("PartnerA", "foo", "bar");
Adjust.trackThirdPartySharing(adjustThirdPartySharing);

Set third-party sharing for specific partners

You can give users the option to customize their third-party sharing settings on a per-partner basis. There are three levels of user consent: Yes, Analytics, and No. See Partner-specific settings for more information.

To communicate the user’s consent level to Adjust, call the addPartnerSharingSetting method. Pass the following arguments:

ArgumentData typeDescription
partnerNameStringThe name of the partner.
keyStringThe metric to share with the partner. See the list of available partners.
valueBooleanThe user's decision

Yes

Analytics

No

Available partners

Partner nameString value
AppleAdsapple_ads
Facebookfacebook
GoogleAdsadwords
GoogleMarketingPlatformgoogle_marketing_platform
Snapchatsnapchat
Tencenttencent
TikTokSantiktok_san
Twittertwitter
YahooGeminiyahoo_gemini
YahooJapanSearchyahoo_japan_search

Manage Facebook Limited Data Use

Important:
The Adjust SDK sends information to Facebook as soon as the app is installed. You need to make sure you call this method before initializing the SDK.

Facebook provides a feature called Limited Data Use (LDU) to comply with the California Consumer Privacy Act (CCPA). This feature enables you to notify Facebook when a California-based user is opted out of the sale of data. You can also use it if you want to opt all users out by default.

You can update the Facebook LDU status by passing arguments to the AdjustThirdPartySharing.addGranularOption method.

Java
Javascript
AdjustThirdPartySharing tps = new AdjustThirdPartySharing(null);
tps.addGranularOption("facebook", "data_processing_options_country", "1");
tps.addGranularOption("facebook", "data_processing_options_state", "1000");
Adjust.trackThirdPartySharing(tps);

Parameters

Note:
If you call this method with a 0 value in either the data_processing_options_country or data_processing_options_state field, the Adjust SDK will pass both fields back as 0.

Data residency

The data residency feature allows you to choose the country in which Adjust will store your data. This is useful if you are operating in a country with strict privacy requirements. When you set up data residency, Adjust will store your data in a data center located in the region your have chosen.

To set your country of data residency, call the AdjustConfig.setUrlStrategy method on your config object. For example, you can call the following to set your data residency region to the EU:

Java
Javascript
adjustConfig.setUrlStrategy(AdjustConfig.DATA_RESIDENCY_EU);

Consent measurement for specific users

If you are using Data Privacy settings in your Adjust dashboard, you need to set up the Adjust SDK to work with them. This includes settings such as consent expiry period and user data retention period. To toggle this feature, call the Adjust.trackMeasurementConsent method. When enabled, the SDK will communicate the data privacy settings to the backend.

Java
Javascript
Adjust.trackMeasurementConsent(true);

Only for those users where Adjust.trackMeasurementConsent method was called, the Adjust backend will then apply your data privacy rules to the user. The Adjust SDK will continue to work as expected.