Expand my Community achievements bar.

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