This post shows how to block google analytics from tracking you. You simply add the below in the
127.0.0.1 www.google-analytics.com 127.0.0.1 google-analytics.com 127.0.0.1 ssl.google-analytics.com
It looks like this:
hosts file is located in the following path, depending on your OS:
- Windows: C:\Windows\System32\drivers\etc
- UNIX: /etc/hosts
Finally, restart your browser. If this still does not work, just reboot your computer.