Opt-out and privacy opt-out-and-privacy

Opt-out / Opt-in opt-out-opt-in

You can control whether tracking activity is allowed on a specific device:

  • Mobile Apps - The Media Extensions respects the privacy settings in Data Collection. To opt out of tracking, you need to set up privacy to Opted out in Tags or Update privacy status in Mobile SDK.

  • JavaScript/Browser Apps - The VA library respects the VisitorAPI privacy and opt­out settings. To opt­out of tracking, you need to opt out from the Visitor API service. For further information on opt­out and privacy, see Adobe Experience Platform Identity Service.

  • OTT Apps (Chromecast, Roku) - The OTT SDKs provide General Data Protection Regulation (GDPR)-ready APIs that allow you to set opt status flags for data collection and transmission, and to retrieve locally stored identities.

    note note
    NOTE
    Media heartbeat tracking calls are also disabled if the privacy status is set to opt-out.

    You can control whether or not Analytics data is sent on a specific device using the following settings:

    • The privacyDefault setting in the ADBMobile.json config file. This controls the initial setting and persists until it is changed in code.

    • The ADBMobile().setPrivacyStatus() method.

      • Opt out:

        • Chromecast:

          code language-none
          ADBMobile.config.setPrivacyStatus(ADBMobile.config.PRIVACY_STATUS_OPT_OUT)
          
        • Roku:

          code language-none
          ADBMobile().setPrivacyStatus(ADBMobile().PRIVACY_STATUS_OPT_OUT)
          
        note important
        IMPORTANT
        When a user opts out of tracking, all of the persisted device data and IDs will be purged until the user opts back in.
      • Opt back in:

        • Chromecast:

          code language-none
          ADBMobile.config.setPrivacyStatus(ADBMobile.config.PRIVACY_STATUS_OPT_IN)
          
        • Roku:

          code language-none
          ADBMobile().setPrivacyStatus(ADBMobile().PRIVACY_STATUS_OPT_IN)
          
      • Return the current setting:

        • Chromecast:

          code language-none
          ADBMobile.config.getPrivacyStatus()
          
        • Roku:

          code language-none
          ADBMobile().getPrivacyStatus()
          

    After the privacy setting is changed using setPrivacyStatus, the change is permanent until it is changed again using this method, or the app is uninstalled and reinstalled.

Retrieving Stored Identifiers (OTT Apps) retrieving-stored-identifiers-ott-apps

This information helps you retrieve locally stored user identities from your Roku app.

IMPORTANT
The method for retrieving all identifiers gets all user identities known and persisted by the SDK. You must call this method before a user opts-out.

The locally stored identities are returned in a JSON string, which might contain:

  • Company Context - IMS Org IDs
  • User IDs
  • Experience Cloud ID (MCID)
  • Data Source IDs (DPID, DPUUID)
  • Analytics IDs (AVID, AID, VID, and associated RSIDs)
  • Audience Manager ID (UUID)

For example:

  • Chromecast:

    code language-none
    ADBMobile.config.getAllIdentifiersAsync(callback)
    
  • Roku:

    code language-none
    vids = ADBMobile().getAllIdentifiers()
    
recommendation-more-help
c8eee520-cef5-4f8c-a38a-d4952cfae4eb