Gatsby
Fathom Analytics works great with Gatsby.js. There are two options for using Fathom with Gatsby:
- gatsby-plugin-fathom by Lars Graubner
- Fathom Analytics Gatsby Plugin by Benedicte Raae
- Use the instructions below:
- In your terminal, navigate to your Gatsby project
- Run cp
.cache/default-html.js src/html.js - Add your embed code just before
</head>in that file
Further customization
To learn about all the options we offer, read our advanced documentation here.