Advanced Search

Easily find pages with missing Google Analytics code using free GAChecker
04 March 2020 (Edited )
Share this article:

With this tool available free, there's no excuse for any site having missing or incorrect Google Analytics tags

Make sure every page has a GA tracking code

Google Analytics is a wonderful tool. But it only produces good data if the JavaScript tags are where they're supposed to be.

In the simplest case, Google's recommended setup is to have a Google Analytics Global Site Tag (gtag.js) in the HEAD section of every page.

But because an effective website is constantly morphing and evolving, with pages coming and going, and Google updating its tags, once a website gets a bit of size on it, it's easy to end up with pages that have missing or obsolete GA tags.

Currently, the correct GA tag code for our site looks like this:

   <!-- Global site tag (gtag.js) - Google Analytics --> <script async src=""></script> <script>   window.dataLayer = window.dataLayer || [];   function gtag(){dataLayer.push(arguments);}   gtag('js', new Date());    gtag('config', 'UA-111014525-1'); </script>

But that site is now nearly 20 years old, and the pages have had multiple versions of GA tags as Google has made updates. Do all pages have the correct tags?

A free and easy way to find out is provided by the online GAChecker tool, which you can find here:

In this example, I'm going to use GAChecker to check all the pages of for presence of the Global Site Tag as shown above. The GAChecker interface looks like this:

A few seconds after clicking CHECK YOUR SITE, results came up below:

Because I have selected ANALYTICS (blue button) GAChecker is showing me any of 4 GA tags that are present on the pages: Global Site Tags, Universal Analytics Tags, Analytics Classic Tags and Analytics Remarketing Tags.

(That screencap shows results from just the first 3 pages crawled by the GAChecker tool. There's a line for every page.)

Note that in the first 3 pages GAChecker found a Global Site Tag (only) on each. Good!

But farther down the page it found these tags on pages:

Here GAChecker finds that about.htm and new-england.htm have the correct Global Site Tag, but tourism-copywrighting.htm has no GA tag at all, and integrated-marketing.htm has an old Universal Analytics tag.

This website has only 32 pages, so we could have found these errors by simply looking at the source code of every page. But we have other stuff to do. And GAChecker did in seconds what would have taken us a considerable number of minutes.

GAChecker claims to be able to crawl sites with up to 10,000 pages. Nobody has time to check 10,000 pages one at a time.

Also GAChecker can recognize 13 different kinds of JavaScript tags, and you can export results as a CSV file.

With this tool available free, there's no excuse for any site having missing or incorrect Google Analytics tags.

Share this article:

And if you have questions or comments, you can easily send them to me with the Quick Reply form, below, or send me an e-mail.

David Boggs MS    - David
View David Boggs's profile on LinkedIn

Google Certifications - David H Boggs
View my profile on Quora
Subscribe to my blog

External Article:

Subhead With this tool available free, there's no excuse for any site having missing or incorrect Google Analytics tags
Visit Website
4/5 based on 1 vote.
Show Individual Votes
Related Listings

Sorry, you don't have permission to post comments. Log in, or register if you haven't yet.

Please login or register.

Members currently reading this thread: