Skip to content
FunnelGuard

Fix guide by FunnelsGuard

Plausible, Fathom or Matomo tag missing: how to find and fix it

TRK-246Low impactCould addBy FunnelGuardPublished Updated
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.

Reported visits vs real visitsExample numbers
Reported visits vs real visits (example)Real visits: 5,000 visits per week; Reported (tag on home only): 1,800 visits per week01,9173,8335,0001,800Real visitsReported (tag on home…visits per week

Example: the tag is missing on the blog and landing page templates, so the dashboard shows far fewer visits than really happened.

Where the data gets lost
  1. Visitor landsPage loads normally
  2. Analytics snippetScript missing from the page
  3. Pageview hitNever sent
  4. 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

Check the snippet is on the page
  1. 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.

  2. 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).

  3. 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.

  4. 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.

  5. 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.

Plausible snippet (example, use your own domain)html
<script defer data-domain="yourdomain.com" src="https://plausible.io/js/script.js"></script>
Add the snippet site-wide
  1. 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.

  2. Check caching

    Clear your cache plugin and CDN after saving, then view source on a logged-out page.

How to confirm it's fixed

Confirmation checklist
  • 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

Prevention habits
  • 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.

Does FunnelGuard catch this?

Could add

Not checked yet: could be added to FunnelGuard.

Stop finding out from your customers

FunnelGuard runs your real forms and checkouts on a schedule, checks the tracking and the leads behind them, and alerts you once, with a screenshot. Try any paid plan free for 3 days.