I am planning to put google analytics tracking code on my website, but I don’t know how to make it respond to those who send the “Do not track” signal. How can I make GA tracking code track those who don have DNT signal while protecting those who have it?
Advertisement
Answer
I just want to jump in to say that you are using the wrong tool for this job. If you want an analytics platform that respects DNT, then you will need to use something other than Google Analytics. There aren’t a lot of privacy-friendly analytcis – this was actually the reasoning that led us to create Insights. The following tools are privacy-focused and, as far as I know, respect DNT requests:
Insights: Tracks events, page views, and more. Respects DNT requests.
SimpleAnalytics: Tracks page views. Respects DNT requests.
Matomo: Probably the most complete privacy-friendly analytics tool. It can be configured to respect DNT requests. Self-hosted.