Implement opt-out links
Some visitors to your website prefer not to have their browsing information included in your data set. Adobe offers the ability to provide visitors to your website a means to opt out of their information being analyzed.
Opt-out links are a way that you can allow visitors to your website to omit their data from Analytics reporting. These links are limited to AppMeasurement implementations; Adobe recommends using the Adobe Experience Cloud Opt-in service instead. The Opt-in service is more robust and works across multiple Adobe Experience Cloud products, including Adobe Analytics and AppMeasurement.
When a visitor reaches an opt-out URL, they are prompted to install an opt-out cookie. If a user chooses not to be tracked and an opt-out cookie is set, AppMeasurement continues to send data to Adobe. However, that data is not processed or included in reports.
Opt-out URL
The opt-out page for your organization depends on the trackingServer
variable value in your implementation.
-
In the Analytics extension:
- Log in to Adobe Experience Platform Data Collection using your AdobeID credentials.
- Click the desired tag property.
- Click the Extensions tab, then click Configure under Adobe Analytics.
- Click the General accordion, and note the Tracking Server value.
-
In a JavaScript implementation:
- On your web server, open the AppMeasurement.js file used on your site in a code or text editor.
- Note the
trackingServer
variable value.
-
Using the Adobe Experience Cloud Debugger:
- Navigate to your site using the Chrome browser.
- Open the Experience Cloud Debugger, then go to the Network tab.
- Note the Request URL - Hostname value.
Once you have found your implementation’s trackingServer
domain, append the path /optout.html
to the end. For example:
- Third-party cookies:
https://example.data.adobedc.net/optout.html
- First-party cookies:
https://stats.example.com/optout.html
Opt-out query string parameters
There are settings that you can automatically load onto this page by using query strings.
Locale
Automatically switch the language of the opt-out page by including the locale
query string parameter. Assign this query string parameter one of the following values:
en_US
(English, default)bg_BG
(Bulgarian)zh_CN
(Simplified Chinese)zh_TW
(Traditional Chinese)cs_CZ
(Czech)da_NK
(Danish)nl_NL
(Dutch)et_EE
(Estonian)fi_FI
(Finnish)fr_FR
(French)de_DE
(German)el_GR
(Greek)it_IT
(Italian)jp_JP
(Japanese)ko_KR
(Korean)lv_LV
(Latvian)lt_LT
(Lithuanian)nb_NO
(Norwegian)pl_PL
(Polish)pt_BR
(Portuguese)sk_SK
(Slovak)es_ES
(Spanish)
For example, https://example.data.adobedc.net/optout.html?locale=ko_KR
loads the opt-out page in Korean.
Popup
Adds a ‘Close Window’ button to the page, allowing the potential to make the opt-out page a popup window. Use the popup
query string parameter, and give it a value of 1
.
For example, https://example.data.adobedc.net/optout.html?popup=1
loads the opt-out page with a ‘Close Window’ button.
Single click opt-out
Allows the user to immediately opt out of tracking. Add the two query string parameters opt_out
and confirm_change
, giving each a value of 1
.
For example, https://example.data.adobedc.net/optout.html?opt_out=1&confirm_change=1
immediately installs the opt-out cookie on the visitor’s page.
Single click opt-in
Allows the user to immediately opt back in to tracking by deleting the opt-out cookie. Add the two query string parameters opt_in
and confirm_change
, giving each a value of 1
.
For example, https://example.data.adobedc.net/optout.html?opt_in=1&confirm_change=1
immediately deletes the opt-out cookie for the visitor.