Welcome to WebmasterWorld Guest from

Forum Moderators: DixonJones & mademetop

Force Google Analytics to honor Do Not Track (DNT)

2:49 am on Jun 25, 2018 (gmt 0)

Administrator from JP 

WebmasterWorld Administrator bill is a WebmasterWorld Top Contributor of All Time 10+ Year Member Top Contributors Of The Month

joined:Oct 12, 2000
posts: 15132
votes: 167

I have been asked if I can make the Google Analytics code on my sites honor Do Not Track (DNT) settings if users have selected that option in their browser. It does not appear that Google will be making this something that we can easily toggle, so I was looking for recommended ways to accomplish this that would be cross-browser compatible. I have some sites using Tag Manager, but others are using the manually added code snippets from Analytics in template headers.

How can I make Analytics respect the DNT settings of the site visitors?

Join The Conversation

Moderators and Top Contributors

Hot Threads This Week

Featured Threads

Free SEO Tools

Hire Expert Members