http://example.com/page
and https://example.com/page
, or www.example.com/page
and example.com/page
, you’ll see separate rows for what looks like the same pathname.
Below are the most common causes, how to confirm what’s happening, and fixes we recommend.
http
vs https
, www
vs non-www
, or a different domain/subdomain.
www
and non-www
versions are accessiblehttps://example.com/page
and https://www.example.com/page
and they both load without redirecting. Fathom will treat these as separate pages.
Fix: Choose a primary host (with or without www
) and permanently redirect the other to it.
Example fixes:
www.example.com/*
→ https://example.com/$1
(301).
<link rel="canonical">
tag so everything points to your chosen host.http
and https
are accessiblehttp://example.com/page
and https://example.com/page
both load. Each protocol shows up as a separate URL.
Fix: Redirect all HTTP traffic to HTTPS, and consider enabling HSTS.
Example fixes:
https://example.com/pricing
(production)https://staging.example.com/pricing
(staging)http://localhost:3000/pricing
(local dev)<link rel="canonical" href="...">
tag is present. If your canonical points to a different host or path than the one the visitor is on, you’ll see data attributed to that canonical URL instead.
How to check:
<link rel="canonical">
tag and confirm the href
exactly matches your intended, public URL (correct protocol, www
vs non-www
, correct domain/subdomain, correct path and trailing slash conventions).https://example.com/page
and https://example.com/page/
are distinct URLs. Pick a convention, redirect the other, and make sure your canonical tags and internal links follow the same convention.
Do query strings matter?utm_source
, utm_medium
, utm_campaign
, utm_term
, utm_content
) and the ref
parameter are read for attribution — and they don’t create separate page rows. So https://example.com/page?a=1
and https://example.com/page
are reported as the same page. If you’re seeing duplicates, it’s almost certainly due to host/protocol differences or canonicals, not query strings.