This article contains information on how to block Google Analytics on a single device, we recomend you use a Network Level Blocking Strategy with something like a PiHole if possible.If you're using a laptop, or desktop computer the best way to block Twitter tracking is edit your hosts file(Windows or Mac). The reason you want to use your hosts file is it blocks all network activity, in cluding background processes, programs and apps. Using a browser extension or plugin, only blocks network activity from your web browser.
Blocking Google Analytics Tracking is pretty straightforward, all you have to is add the following to your hosts file:
# GOOGLE ANALYTICS
Save the file and you're done. The lines that begin with a "#" are comments, you don't need them, but it helps you keep things organized. The "127.0.0.1" tells the computer to redirect any traffic to that domain, back to the local computer, preventing it from getting out.
If you're not comfortable editing your hosts file, here is a browser extension, that will block Google Analytics tracking:
- Privacy Badger Extention- A customizable tracking blocker that can be used to block multiple services including Twitter.
You should NEVER have the Google App or YouTube App installed on any phone you actually use, it tracks every call you make, every place you visit, every person you are near, and every website you visit. Additionally the amount of personal information that can captured using your phone's accelerometer is terrifying.
- Operational Security - Tips for maintaing online anonymity, and keeping people out of your personal life.