What AuditX checks
The crawl reads the HTML of each page it visits. Pages that answered with an error or have no readable text are left out. For each other page, the scan looks for a call to a known tracking function, such as gtag, fbq or dataLayer.push, or a script from a known analytics, advertising or tag manager host. If some pages have a tag and others have none, the result is a warning that names up to five untagged pages, with pages that look like a confirmation or thank you page first. A warning counts toward the technical score at 40 percent of what a fail would cost, here with double weight. If every page has a tag, the check passes. It is an info note, which does not lower the score, when no page has a tag in its HTML, or when the browser saw tracking requests on the scanned page while its HTML names no tag. Then the tags come from a script bundle that the crawl cannot see. A page with a different tag than the others is not a gap. The scan only checks pages the crawl reached.
Why it matters
Google Analytics help tells you to paste the Google tag right after the head tag on each page of your website, and the Google tag guide calls placing tags on every page the best way to measure conversions.
A page without the tag is missing from your reports, and a journey that passes through it breaks. A confirmation page without the tag usually means orders or enquiries are not counted.
How to fix it
- Open the pages named in the result and check the page source for your tag.
- Add the same tag or tag manager container to the template those pages use.
- Check separate systems such as a blog, shop or booking module. They often have their own header template.
- Confirm in the tag preview mode of your tag manager that the tag fires on each page type.
<head>
<!-- Google tag (gtag.js), in the shared header template -->
<script async src="https://www.googletagmanager.com/gtag/js?id=G-4F7K2M9QZD"></script>
</head>
Does your site pass this check? A free scan runs it with every other check and shows the result in about a minute.
Scan my siteSources
- Google Analytics Help: Set up data collection for websites
- Google tag: Set up the Google tag with gtag.js