Disable tracking by "Do Not Track" Browser settings



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

Accepted Solutions (1)

Accepted Solutions (1)




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.