Fathom Analytics Documentation home page
Search...
⌘K
Documentation
Support
Help Centre
Getting Started
Your Account
Script Settings
Features
Event Conversions
Troubleshooting
Integrations
Integrations
Bloggi
Cal.com
Calendly
Carrd
Discourse
Drupal
Ember.js
Framer
Gatsby
Ghost
Go High Level
Inertia.js
Kit
Magento
Next.js
Nuxt.js
Remix
SavvyCal
Shopify
SquareSpace
Transistor.fm
Vue.js
Webflow
WooCommerce
WordPress
Integrating embed code with other frontend frameworks (SPAs)
Fathom Analytics Documentation home page
Search...
⌘K
Ask AI
Search...
Navigation
Integrations
Gatsby
Integrations
Gatsby
Copy page
Copy page
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
.
Previous
Ghost
Next
On this page
Further customization
Assistant
Responses are generated using AI and may contain mistakes.