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. 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.

<script>
var script = document.createElement('script'); script.id = 'fathom';
script.dataset.site = 'YOUR-SITE-ID';
script.src = "https://cdn.usefathom.com/script.js";
document.getElementsByTagName('head')[0].appendChild(script);
</script>

Note that your site firewall settings will still work when you add the Fathom code as above in GTM (woohoo!).

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.