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







No comments:

Post a Comment

Featured Post

Root Google Pixel 4 Android 13 with Ubuntu 22.04 LTS

  Root Google Pixel 4 Android 13 – Ubuntu 22.04 LTS using terminal 1. Install Google Chrome (no Chromium)                ...