Ghost
Before you begin: Create your Fathom account and add your website to get its site ID. Already have one? You’re ready to follow the steps below.
It’s super easy to get Fathom Analytics working with Ghost. Here’s how you do it:
- Login to the Ghost administration area
- Click on the Settings icon at the bottom, then click on Code injection in the Advanced section
- Paste your embed code below into the text box under Site Header
- Click the save button
<script src="https://cdn.usefathom.com/script.js" data-site="ABCDEF" defer></script>
And you’re ready to roll. A lot of people who use Ghost don’t want their own page views being tracked. You can exclude your own pageviews really easily.
Further customization
To learn about all the options we offer, read our advanced documentation here.
Ready to check your setup? Visit your published website, then open its Fathom dashboard to check for your first pageview. If it doesn’t appear, our installation troubleshooting guide will help.