Fathom Only Showing Homepage in Stats
Quick answer
Fathom records canonical URLs by default, so a canonical tag pointing to your homepage on every page makes all traffic show as '/'. Fix the canonical tags or add data-canonical="false" to the script.
Most likely fix: Fix the canonical tags
How to fix it
Try these in order — the most common fix is first.
1. Fix the canonical tags
- Open an inner page and view source
- Find <link rel="canonical"> and check it points to that page, not the homepage
- Correct the setting in your theme or SEO plugin (this also hurts SEO, so fix it quickly)
Did this fix it?2. Tell Fathom to ignore canonicals
- Edit the Fathom script tag
- Add data-canonical="false" so the current URL is recorded
- Keep the other attributes (src, data-site, defer) unchanged
Did this fix it?3. Install the script site-wide
- Move the embed code from the homepage content into the template header
- Confirm it appears in the source of inner pages
Did this fix it?
Symptoms
The Pages report lists only the homepage, or nearly all pageviews land on '/', even though visitors read other pages.
Why it happens
- Theme or SEO plugin outputs a canonical tag pointing to the homepage on every page
- Embed script added only to the homepage instead of the site template
This guide also covers
- fathom only showing homepage
- fathom analytics pages not showing
- fathom canonical
Still not working?
If Fathom Analytics keeps failing, you're not alone. See every Fathom Analytics problem users report or the alternatives people switch to.
Done fighting Fathom Analytics? Our small team builds your own Fathom Analytics alternative, made for how you work. On your domain or hosted by us. Price agreed together.
Get a quoteOther Fathom Analytics errors
- Fathom Analytics Not Working (No Visits Showing)
- Fathom Analytics Blocked by Ad Blockers
- Fathom Events Not Showing Up
- Fathom Not Tracking Page Changes in Next.js and SPAs
- Fathom WordPress Plugin Not Tracking
- Fathom Numbers Different From Google Analytics
- Fathom Referrers Missing or Showing as Direct
- Fathom Google Search Console Data Not Showing