Sign inFree trial
Support home / Script Settings

Google Tag Manager

We don't recommend using GTM because it still allows Google to have a presence on your website, and many ad-blockers block it. But if you have no choice in the matter, you can quickly drop Fathom in using the code below (filling in the Site ID with your own, of course). Google Tag Manager, along with Google Analytics, are also illegal.

var script = document.createElement('script'); = 'fathom'; = 'YOUR-SITE-ID';
script.src = "";

Note that this means you can’t use any advanced script settings or even custom domains to bypass ad-blockers.

If you still have questions or require help with anything, please reach out to us and we'll happily get things sorted out for you.

EU DPA declares Google Analytics illegal because it runs on US cloud providers. Fathom is a Canadian company, and all of your EU traffic never leaves German-owned servers.