Your achievements

Level 1

0% to

Level 2

Tip /
Sign in

Sign in to Community

to gain points, level up, and earn exciting badges like the new
Bedrock Mission!

Learn more

View all

Sign in to view all badges

SOLVED

Disable tracking by "Do Not Track" Browser settings

christopherh958
Level 1
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
Gigazelle
Correct answer by
Employee
Employee

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
Gigazelle
Correct answer by
Employee
Employee

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

christopherh958
Level 1
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 🙂

ankits3107362
Level 2
Level 2

Hi,

Is there a way to disable Adobe Target?

Thanks

Ankit