On this page
What this issue is
Plausible, Fathom and Matomo are privacy-focused web analytics tools. Each works by loading a small JavaScript snippet on your pages. That script sends a hit to the tool each time someone views a page or triggers a goal. If the snippet is missing, loads on only some templates, or points at the wrong domain, those visits are never counted.
Typical causes: a theme change that dropped the header code, a snippet added to one page builder page but not the rest, a tag manager container that was unpublished, an ad blocker or consent rule stopping it, or a staging site snippet never moved to the live site.
Why it costs you leads or sales
The missing tag does not break your forms or checkout, so the direct impact is low. The cost is bad data. Traffic, source and goal numbers drop, so you may cut a channel that works or trust a report that is too small. If you use this tool as your main analytics, you lose the picture of where leads come from.
Example: the tag is missing on the blog and landing page templates, so the dashboard shows far fewer visits than really happened.
- Visitor landsPage loads normally
- Analytics snippetScript missing from the page
- Pageview hitNever sent
- DashboardVisit and goal not counted
The visitor journey works, but the analytics hit never leaves the page.
How to check if your site has it
View the page source
Open a key page (home, landing page, thank-you page), press Ctrl+U (Cmd+Option+U on Mac) and search for plausible, fathom or matomo. Repeat on a blog post and a checkout or form page, since templates differ.
Check the Network tab
Open DevTools, go to Network, reload and filter by the tool name. Look for the script file loading (status 200) and then a request to the event or tracking endpoint (for Plausible, /api/event; for Matomo, matomo.php or a similar tracker URL).
Test with an ad blocker off
Disable extensions or use a clean browser profile. Blockers can stop these scripts, which is not a site fault.
Look at the live view
Open the tool's real-time view, visit your site in another tab and see if you appear within a minute or so.
Check the domain setting
The domain in the snippet (data-domain for Plausible, the site ID for Fathom and Matomo) must match the site added in your dashboard.
How to fix it
Add the snippet once, in a place that loads on every page. Copy the exact code from your analytics dashboard, because it contains your own domain or site ID. Below is the Plausible form as an example.
<script defer data-domain="yourdomain.com" src="https://plausible.io/js/script.js"></script>Use a header code tool
Use the tool's official plugin, or a header and footer code plugin, and paste the snippet in the head section. Avoid editing header.php directly in a theme that updates, as updates can remove it.
Check caching
Clear your cache plugin and CDN after saving, then view source on a logged-out page.
Edit theme.liquid
Go to Online Store, Themes, Edit code, open layout/theme.liquid and paste the snippet just before </head>.
Check checkout pages
Checkout pages use separate rules. Theme code does not run there on most plans, so expect gaps unless you use a supported checkout option.
Create a Custom HTML tag
Paste the snippet into a Custom HTML tag, trigger it on All Pages, then Submit and publish the container.
Check the container is live
Confirm the GTM container code itself is on every page, and use Preview mode to see the tag fire.
Add to project custom code
Open Project settings, Custom code, paste the snippet in Head code, save and publish the site.
Add a custom code snippet
Go to Settings, Custom code (under Advanced), add the code, set it to load on All pages and place it in the Head. This needs a premium plan with a connected domain.
Use code injection
Open Settings, Developer Tools, Code Injection and paste the snippet in the Header box. Code injection needs a plan that supports it.
Put it in the shared head
Add the snippet to the layout or template that every page extends, not to individual pages. Deploy and check production source.
How to confirm it's fixed
- Page source shows the snippet once on the home page, a landing page, a blog post and a thank-you page
- Network tab shows the script loading and the tracking request returning a success status
- Your own visit appears in the real-time view
- A test goal or custom event, if you use them, shows up in the dashboard
- The next day's totals look in line with your other data, such as server logs or ad platform clicks
How to prevent it happening again
- Keep the snippet in one place, such as the shared layout or one tag manager container
- Re-check page source after every theme change, redesign or migration
- Do not rely on a child theme or page builder block that may be replaced
- Add a note in your launch checklist to move the snippet from staging to the live site
- Check the dashboard weekly for sudden drops in visits
- Use your tool's own alert or email report for traffic dips if it offers one
How FunnelGuard handles this
FunnelGuard does not check for a missing Plausible, Fathom or Matomo tag yet. It is a possible future check. For now, use the manual steps above after each site change.
Nearby, FunnelGuard runs your real customer journeys (lead forms, checkouts, booking and chat buttons) on a schedule and checks each step, the tracking hits sent to GA4, Google Ads, Meta, TikTok, LinkedIn, Bing, Pinterest, Snapchat, X and Reddit, and whether test leads reach your inbox and CRM. Those cover the ad and analytics platforms on that list, not privacy-focused tools like these.
To watch for this yourself, set a weekly reminder to compare your analytics visits against another source, such as ad platform clicks or server logs, and view source on a few key pages after any release. A free FunnelGuard plan (1 site, 2 journeys, daily checks, no card) can cover the journeys that matter while you do that.
Questions people ask
Why is my Plausible dashboard showing no visits?
The snippet is probably missing, has the wrong data-domain, or is being blocked. View the page source and look for the plausible script, then check the Network tab for a request to /api/event. Also make sure the domain in the snippet matches the site you added in Plausible.
How do I check if Fathom is installed on my website?
Open your page, view the source and search for fathom. In DevTools, Network, you should see the Fathom script load and a tracking request after. Visiting the site while watching Fathom's live view is the quickest confirmation.
Why is Matomo not recording visits?
Common causes are a missing tracking code, a wrong site ID, a blocked tracker URL or a cache serving old pages without the code. Check the page source for the Matomo tracker and confirm the site ID matches the one in Matomo. Then test in a browser without ad blockers.
Can an ad blocker stop Plausible, Fathom or Matomo?
Yes. Some blockers and browser privacy settings stop these scripts, even though the tools are privacy-focused. A small share of real visitors will therefore not be counted. If your tag is installed correctly, this is a known limit rather than a site fault.
Where should I put the Plausible or Fathom script?
Put it in the head of a layout that loads on every page, such as the theme header, a site-wide custom code setting or a tag manager All Pages tag. Do not paste it into single pages. Add it only once to avoid double counting.
Does a missing analytics tag hurt my sales?
Not directly, as the pages and checkout still work. It hurts your decisions, because traffic and conversion numbers are too low and sources are unclear. That can lead you to cut spending on channels that actually work.
Does FunnelGuard check for a missing Plausible, Fathom or Matomo tag?
No, not yet. It is a possible future check. FunnelGuard does test your journeys and the tracking hits to major ad and analytics platforms like GA4 and Meta, so you would still need to check these tools manually.
Related issues
- TRK-247Matomo tracking with wrong site IDFix guide
- TRK-248Two analytics tools disagreeing on conversion countsFix guide
- TRK-238Hotjar script missing or wrong site IDFix guide
- TRK-239Microsoft Clarity missing or wrong project IDFix guide
- TRK-243Mixpanel / Amplitude / Segment events missingFix guide
- TRK-240Session recording capturing form fields (PII in recordings)Fix guide