3 ms·
PSA: Add this to /etc/hosts if you don't want other sites collecting info from you via Google Analytics/Ads 0.0.0.0 googleanalytics.com 0.0.0.0 googles
by dheera 6y ago
PSA: Add this to /etc/hosts if you don't want other sites collecting info from you via Google Analytics/Ads
0.0.0.0 googleanalytics.com
0.0.0.0 googlesyndication.com
A more complete list of things worth adding to /etc/hosts here (I'm not affiliated with this):
https://github.com/StevenBlack/hosts https://github.com/StevenBlack/hosts
- userbinator 6y agoI've always had the ones with the dash, since they are what's mentioned in the official docs ( https://developers.google.com/analytics/devguides/collection/analyticsjs https://developers.google.com/analytics/devguides/collection... ): 0.0.0.0 google-analytics.com 0.0.0.0 www.google-analytics.com 0.0.0.0 ssl.google-analytics.com I'm not sure what googleanalytics.com is for, however; but I'll add it to my HOSTS, in any case.
- ss64 6y agoThe only supported way to block GA without breaking pages is to use a plug-in https://tools.google.com/dlpage/gaoptout https://tools.google.com/dlpage/gaoptout No doubt your use of the plug in is logged somewhere.