Search This Blog

How to disable google analytics tracking in host file?

How to disable google analytics advertising tracking in host file? 

Open the terminal (CTRL + ALT + T)

$ sudo gedit /etc/hosts

(gedit or leafpad or nano)

copy in hosts file, save and reboot Ubuntu

127.0.0.1 www.google-analytics.com # block Analytics
127.0.0.1 ssl.google-analytics.com
127.0.0.1 google-analytics.com
127.0.0.1 www.googleadservices.com # block remarketing
127.0.0.1 googleadservices.com







Featured Post

Firefox Save Image as.. not work

Firefox Save Image as.. not work Note that this be an issue with "xdg-desktop-portal" and may have to install some packages like x...