Disable tracking by "Do Not Track" Browser settings | Community
Skip to main content
February 14, 2018
Solved

Disable tracking by "Do Not Track" Browser settings

  • February 14, 2018
  • 3 replies
  • 3962 views

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

This post is no longer active and is closed to new replies. Need help? Start a new post to ask your question.
Best answer by Gigazelle

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.

3 replies

Gigazelle
Adobe Employee
GigazelleAdobe EmployeeAccepted solution
Adobe Employee
February 22, 2018

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.

February 25, 2018

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 :-)

Level 2
August 10, 2018

Hi,

Is there a way to disable Adobe Target?

Thanks

Ankit