This information helps you with a GDPR data deletion request.
Starting with Android SDK 4.15 , setting the privacy status to unknown
holds Audience Manager and Experience Cloud ID hits.
You can control whether the Analytics, Target, and Audience Manager activity is allowed on a device by using the following settings:
privacyDefault
in ADBMobile JSON Config.
This setting controls the initial setting that persists until it is changed in the code.
The Config.setPrivacyStatus
method.
After the privacy setting is changed by using this method, this change remains effective until you change it again or when you uninstall and install the app again. For more information about the methods, see Configuration Methods.
The following table describes each privacy status:
Opt in
optedin
setPrivacyStatus
: MOBILE_PRIVACY_STATUS_OPT_IN
Opt out
optedout
setPrivacyStatus
: MOBILE_PRIVACY_STATUS_OPT_OUT
Unknown
Analytics: If offline tracking enabled, hits are saved until the privacy status changes to opt-in (hits are sent) or opt-out (hits are discarded).
If offline tracking is not enabled, hits are discarded until the privacy status changes to opt-in.
Target: Mbox requests are sent.
Audience Manager: Signals and ID syncs are sent.
Value in the JSON config file: optunknown
Value in setPrivacyStatus
: MOBILE_PRIVACY_STATUS_UNKNOWN
public void setOptIn(View view) {
Config.setPrivacyStatus(MobilePrivacyStatus.MOBILE_PRIVACY_STATUS_OPT_IN);
currentStatus = Config.getPrivacyStatus();
}
public void setOptOut(View view) {
Config.setPrivacyStatus(MobilePrivacyStatus.MOBILE_PRIVACY_STATUS_OPT_OUT);
currentStatus = Config.getPrivacyStatus();
}
public void setOptUnknown(View view) {
Config.setPrivacyStatus(MobilePrivacyStatus.MOBILE_PRIVACY_STATUS_UNKNOWN);
currentStatus = Config.getPrivacyStatus();
}