Fathom Analytics Fathom Analytics

How to stop my website analytics from tracking me

Fathom Analytics is masterful at bypassing ad-blockers because we use custom domains.

That said, there are instances where you want to block your own visits (so you loading pages on your site does not skew your stats). To do this, we’ve created a function that will block all interaction with our website analytics on that site, just for you. All other visitors will be tracked normally, but you loading your site, from your primary browser will be fully blocked.

We do this by storing a value in something called localStorage (like a cookie) on your device. And yes, this is fully GDPR, CCPA and PECR compliant, as it’s opt-in by you.

By using this feature, you are consenting to Fathom using localStorage to store this preference for you, indefinitely. You can opt out of this by running the enable function (and then nothing will be stored in localStorage again).

To allow this, you need to run a function from your console (make sure localStorage is enabled):

fathom.blockTrackingForMe();

Exclude your stats via console

And then, if you wish you turn it off, you’d use:

fathom.enableTrackingForMe();

How to get to your console in your browser

If you aren’t sure how to get to your console in your browser, here’s how you do it in all major browsers. Once you see your console, you can type in the commands above and click Run.

Where you see the > is where you paste or type the above commands.

Firefox
☰ > Web Developer > Web Console
Keyboard: Ctrl + Shift + J (Windows/Linux) or Command + Shift + J (Mac)

Chrome/Brave
☰ > More Tools > Developer Tools
Keyboard: Ctrl + Shift + I (Windows/Linux) or Command + Option + I (Mac)

Safari
In preferences, ensure Show Develop menu in menubar is checked off.

Menu: Menu > Develop > Show Web Inspector
Keyboard: Ctrl + Shift + I (Windows/Linux) or Command + Option + I (Mac) Then select the Console tab if it’s not already selected.

Microsoft Edge
Menu: Tools > Developer > Javascript Console
Keyboard: Ctrl + Shift + J (Windows/Linux) or Command + Shift + J (Mac)

← Return to support