Expand my Community achievements bar.

Join us at Adobe Summit 2024 for the Coffee Break Q&A Live series, a unique opportunity to network with and learn from expert users, the Adobe product team, and Adobe partners in a small group, 30 minute AMA conversations.
SOLVED

Disable tracking by "Do Not Track" Browser settings

Avatar

Level 1

Dear community,

I am forced to switch off Analytics tracking in case the user visiting our website has enabled the "Do Not Track Feature" in his browser. By default the tracking is still working with this settings and I do not find a way to respect this setting.

I am using Dynamic Tag Management to implement Adobe Analytics on my websites

Thank you in advance

1 Accepted Solution

Avatar

Correct answer by
Employee Advisor

You can put this in the custom code section of each page:

if (navigator.doNotTrack == true) {s.abort=true;}

This checks if do not track is enabled, and if it is, it cancels the sending of the image request.

View solution in original post

3 Replies

Avatar

Correct answer by
Employee Advisor

You can put this in the custom code section of each page:

if (navigator.doNotTrack == true) {s.abort=true;}

This checks if do not track is enabled, and if it is, it cancels the sending of the image request.

Avatar

Level 1

Hi Gigazelle

thank you very much after some research we are testing exactly what you have described. Wanted to update this ticket after successfully testing it :-)

Avatar

Level 2

Hi,

Is there a way to disable Adobe Target?

Thanks

Ankit