How to connect Fathom Analytics

Hi,

Fathom Analytics (the alternative to Google Analytics that doesn’t bother your users with cookie consent pop-ups) seems little discussed in this community. Anyway, I’m using this tool and ran into an issue where the tracker script didn’t work. Fathom helped me out - so I’ll share it here:

This is the CORRECT script:

<script src="https://cdn.usefathom.com/script.js" data-site="YOUR CODE HERE" defer></script>

And this is where it should be registered (on every page you want to be tracked):

3 Likes

Nice tip. I like Fathom (and Plausible, too).

You could also add the script in “Custom Code” in the “More” menu, if you want to track all pages. That way, you don’t have to repeat this for every page.

1 Like