Avoid being tracked on the web
Tags: privacy, tracking, security
Published: 2019-09-08 06:27:55

---
title: Avoid being tracked on the web
published: true
description: A few tips to keep you a bit more invisible
tags: privacy, tracking, security
canonical_url: https://zander.wtf/writing/not-tracked-online
---
## A few tips to keep you a bit more invisible

So, you don't want to be tracked online 🙅 by advertisers & analytics scripts etc? What do you do? You need to block them. There are many different ways to achieve this, but I use a few different tools and services to block all these guys.

➡️ Visit [github.com/StevenBlack/hosts#list-of-all-hosts-file-variants](https://github.com/StevenBlack/hosts#list-of-all-hosts-file-variants) and find the "hosts" recipe that you'd like. The "Unified hosts = (adware + malware)" should be sufficient, but you can also find ones that block porn and/or gambling content.

![A screenshot of the table of block recipes provided by the StevenBlack repo](https://zanderwtf.cdn.prismic.io/zanderwtf/248fd4298643dd9149d830671f263036598d0be8_screenshot-2019-09-07-at-15.26.00.png)

If you're on a Mac, download Gas Mask (free) from [clockwise.ee](http://clockwise.ee/). If you're on Windows, you can try Unified Hosts AutoUpdate from [github.com/ScriptTiger/Unified-Hosts-AutoUpdate](https://github.com/ScriptTiger/Unified-Hosts-AutoUpdate). Both will allow you to select one of the hosts lists (mentioned above) and have it auto-update at regular intervals.

![Screenshot of the Gas Mask app](https://zanderwtf.cdn.prismic.io/zanderwtf/24385952ba39f04ac6186c6b967225d31eff66ac_screenshot-2019-09-07-at-15.31.24.png)

⚠️ Gas Mask can reference remotely hosted files, but only if they're not https, so use the "Non Github mirror" links from [github.com/StevenBlack/hosts#list-of-all-hosts-file-variants](https://github.com/StevenBlack/hosts#list-of-all-hosts-file-variants), like this one: [sbc.io/hosts/hosts](http://sbc.io/hosts/hosts).

With this setup, visit an ad-riddled site like [theverge.com](http://theverge.com/) or [mashable.com](http://mashable.com/) and see that there are no ads anymore.

By the way, these hosts files don't just block ads, but also trackers, malware, fake news and more that are otherwise hidden to you and other users.

You may find that it isn't working, so have a look at these instructions to find out if you need to reset a few things on your computer: [github.com/StevenBlack/hosts#reloading-hosts-file](https://github.com/StevenBlack/hosts#reloading-hosts-file).

If you want to go one step further, you can setup a Pi-hole. Its a network-level blocking application that runs on a Raspberry Pi or similar device. Any device (smartphone or laptop) on your network is protected without installing apps etc like I outlined in the thread above.

Find out about Pi-hole at [pi-hole.net](https://pi-hole.net/)

And if you don't want to setup a Pi-hole, give [nextdns.io](https://nextdns.io/) a try. I've been using it for a couple of months now and love it.

![A screenshot of the intro from the NextDNS website](https://zanderwtf.cdn.prismic.io/zanderwtf/6807a25f5ef859742f79065f95d6546ff24050ed_screenshot-2019-09-07-at-15.25.35.png)

NextDNS can be used on both your smartphone and your PC and has many different configurations. Some of the rules are based on the StevenBlack rules (from above), but there is so much more to it. It is my recommended solution.

If you want to level-up even further, I suggest using a VPN like [NordVPN](https://nordvpn.com/). NordVPN is very cheap, does not keep logs of your activity (this is crucial), and is extremely privacy focused.

If you're looking to keep more of your online self private, I suggest you visit [privacytools.io](https://www.privacytools.io/) to find many other tools.

---

👨‍💻 The source for this post was originally one of my Twitter threads: [twitter.com/MrMartineau/status/1128578179730423808](https://twitter.com/MrMartineau/status/1128578179730423808)

---

This post was originally published on [my blog](https://zander.wtf/writing/not-tracked-online)