Learn to fix “Some of your pages are not tagged” in GTM

Do you want expert help in setting up/fixing GA4 and GTM?

If you are not sure whether your GA4 property is setup correctly or you want expert help migrating to GA4 then contact us. We can fix your website tracking issues.

When you log in to Google Tag Manager (GTM), you may see the following notification:

Container quality: Needs Attention. Some issues are detected that may need your attention.

Container quality Needs Attention. Some issues are detected that may need your attention

If you see a notification like this, click on the ‘View 1 issue’ (or something similar) link:

click on the ‘View 1 issue

You will now see the ‘Container diagnostic’ window with the following message:

Some of your pages are not tagged. Having your tag installed on all pages of your site is important for comprehensive measurement. Untagged pages may result in gaps in data and lower quality measurement.

Click on the link ‘See untagged pages’ to see the list of links which Google assume to be untagged:

Click on the link ‘See untagged pages

You will now see the ‘Tag Coverage Summary’ report with the following four tabs ‘Included pages’, ‘Not tagged’, ‘No recent activity’ and ‘Tagged’:

You will now see the ‘Tag Coverage Summary report

Here,

Included pages => This tab lists all the unique pages evaluated in the ‘Tag Coverage Summary’ report. This can include both suggested pages from Google and manually imported lists.

Not tagged pages => This tab lists not tagged web pages. These pages have either never loaded the Google Tag, or the Google Tag is yet to be detected. 

Note: The tag coverage summary report can take up to 24 hours to update. So, if you recently installed the Google tag, it may not be detected and reported immediately.

You can use Google Tag Assistant to check the tags on your web page. When Tag Assistant detects your Google tag, the page is marked as tagged.

No recent activity => This tab lists all the web pages with no recent activity. These are the web pages that have not loaded the Google tag in the last 30 days but have in the past.

Tagged => This tab lists all the web pages that are tagged. The Google tag was detected on these pages within the last 30 days.

It is important to note that the ‘Tag Coverage’ summary report is not very reliable and is prone to producing false positives and false negatives.

This means that the report might incorrectly indicate that a page is not tagged when it actually is (false negative) or suggest that a page is tagged when it is not (false positive).

The Tag Coverage Summary report may also suggest tagging for pages that do not necessarily require it, such as those with dynamic URLs, non-content pages or other irrelevant pages.

Because of these potential issues, the Tag Coverage Summary report should be used as a general guide rather than a definitive source of truth.

I use the Screaming Frog SEO Spider to be 100% sure whether my web pages are tagged.

It is a website crawler primarily used as a technical SEO audit tool, but I also use it for tag auditing and tracking web pages with zero pageviews in GA4.

The advantage of using Screaming Frog over tag auditing tools like ‘Google Tag Assistant’ and ‘Ghostery’ is that we can scan the entire website (regardless of its size) for missing Google tags in one go.

This is particularly useful for identifying missing Google tags across a large website with thousands or tens of thousands of pages.

We will use the ‘Custom Search’ feature of the Screaming Frog SEO Spider to search the source code of all the web pages site wide for a particular tag.

This tag could be: 

  • Javascript code for installing Google Analytics 4.
  • Javascript code for installing Google Tag Manager Container.
  • Javascript code for installing Google Ads Conversion Tracking etc.
  • Data Layer used to track particular ecommerce events etc.

You will need to use the paid version of Screaming Frog, as the ‘custom search’ and ‘Google Analytics’ integration are available only in the paid version.

Follow the steps below:

Step-1: Use a Chrome extension like ‘Ghostery’ to find the list of tags firing on a web page:

Use a Chrome extension like ‘Ghostery to find the list of tags firing on a web page

Step-2: Check the source code of the page and find and copy the corresponding hardcoded tags. For example, find and copy the GTM container code:

find and copy the GTM container code

We will later use the ‘custom search’ feature of Screaming Frog to find web pages which do not contain the GTM container code by using the copied code as the search string. 

Similarly, if you want to find web pages that do not contain the Javascript code for installing Google Analytics 4 or Google Ads conversion tracking, you must first find and copy them from the source code.

Step-3: Launch the Screaming Frog SEO Spider tool on your computer.

Step-4: Navigate to the top menu and click on ‘Configuration’ > ‘Custom’ > ‘Custom Search’ to open the custom search configuration screen:

‘Custom Search to open the custom search configuration screen

Step-5: Click on the ‘Add’ button to set up a new custom search filter:

Click on the ‘Add button to set up a new custom search filter

Step-6: Double click on ‘Search 1’and rename it to ‘GTM’:

Double click on ‘Search 1and rename it to ‘GTM
gtm

Step-7: Select ‘Does not contain’ from the drop-down menu:

Select ‘Does not contain from the drop down menu

Step-8: Click on the expand button next to the text box ‘Enter search query’:

Click on the expand button next to the text box ‘Enter search query

You will now see the expanded search query box:

You will now see the expanded search query

Step-9: Paste the copied GTM container code in the expanded search query box:

Paste the copied GTM container code in the expanded search query

Step-10: Click on the ‘Case Sensitive’ checkbox to make your tag search case sensitive (optional):

Click on the ‘Case Sensitive checkbox to make your tag search case sensitive

Step-11: Select ‘HTML’ from the drop-down menu because I want Screaming Frog to search for the GTM container code in the HTML code of the web pages.

Select ‘HTML from the drop down menu

Step-12: Repeat steps 5 to 11 to add the relevant Javascript code for installing Google Analytics 4, Google Ads conversion tracking, etc, as search text based on your unique tag auditing requirements:

add the relevant Javascript code for installing Google Analytics 4

Step-13: Click on the ‘Ok’ button:

Click on the ‘Ok button

Step-14: Navigate to ‘Configuration’ > ‘Spider’ > ‘Crawl

Crawl

Step-15: Uncheck the following checkboxes to speed up your website crawl and then click on the ‘Ok’ button:

Uncheck the following checkboxes to speed up your website crawl

I have unchecked these resources so that Screaming Frog does not crawl images, media, CSS, JavaScript and SWF files during the website crawl. 

By not crawling these resources, you will greatly reduce the crawling time, especially if your website has hundreds or thousands of web pages.

Step-16: Enter your full website URL and then click on the ‘Start’ button to start the website crawl:

Enter your full website URL and then click on the ‘Start button to start the website crawl

Screaming Frog will now crawl your website and search for tags in the HTML code of your web pages based on your configuration settings.

Step-17: Once the crawl is complete, find and click on the ‘Custom Search’ tab:

Once the crawl is complete find and click on the ‘Custom Search tab

Step-18: Use the drop-down menu to filter out the list of URLs which contain or do not contain a specific tag:

Use the drop down menu to filter out the list of URLs which contain or do not contain a specific tag
Use the drop down menu to filter out the list of URLs which contain or do not contain a specific tag 2

For example, let’s click on ‘GTM (Does Not Contain)’ to find the list of URLs which do not contain the GTM container code:

GTM Does Not Contain
no data

Since all the web pages on my website contain the GTM container code, the report does not show any data.

Otherwise, you would have seen the list of URLs.

You can use a similar approach to find the list of web pages which contain or do not contain gtag, Google Ads conversion tracking tags or a particular ecommerce data layer etc.

Once you have made sure that all the pages of your website are correctly tagged, navigate back to the ‘Tag Coverage Summary’ report in your GTM account and follow the steps below:

Step-1: Select all the URLs by clicking on the checkbox under the ‘Included pages’ tab:

Select all the URLs by clicking on the checkbox under the ‘Included pages tab

Step-2: Click on the link ‘Select 1280 more’ (or something similar):

Click on the link ‘Select 1280 more

You will now see the following similar notification ‘All 1305 URLs are selected’:

You will now see the following similar notification ‘All 1305 URLs are selected

Step-3: Click on the ‘Ignore’ button:

Click on the ‘Ignore button

You should now see a screen like the one below:

You should now see a screen like the one below

This screen will later change to the following screen when you click on one of the tabs:

This screen will later change to the following screen when you click on one of the tabs

Step-4: Close the ‘Tag Coverage’ window:

Close the ‘Tag Coverage window

You should now see a screen like the one below:

container quality

Step-5: Close the ‘Container diagnostic’ window:

Close the ‘Container diagnostic window

You should now see a screen like the one below:

container quality excellent google tag manager

Congratulations!

You have successfully fixed the ‘Some of your pages are not tagged’ issue in Google Tag Manager.

My best selling books on Digital Analytics and Conversion Optimization

Maths and Stats for Web Analytics and Conversion Optimization
This expert guide will teach you how to leverage the knowledge of maths and statistics in order to accurately interpret data and take actions, which can quickly improve the bottom-line of your online business.

Master the Essentials of Email Marketing Analytics
This book focuses solely on the ‘analytics’ that power your email marketing optimization program and will help you dramatically reduce your cost per acquisition and increase marketing ROI by tracking the performance of the various KPIs and metrics used for email marketing.

Attribution Modelling in Google Analytics and BeyondSECOND EDITION OUT NOW!
Attribution modelling is the process of determining the most effective marketing channels for investment. This book has been written to help you implement attribution modelling. It will teach you how to leverage the knowledge of attribution modelling in order to allocate marketing budget and understand buying behaviour.

Attribution Modelling in Google Ads and Facebook
This book has been written to help you implement attribution modelling in Google Ads (Google AdWords) and Facebook. It will teach you, how to leverage the knowledge of attribution modelling in order to understand the customer purchasing journey and determine the most effective marketing channels for investment.

About the Author

Himanshu Sharma

  • Founder, OptimizeSmart.com
  • Over 15 years of experience in digital analytics and marketing
  • Author of four best-selling books on digital analytics and conversion optimization
  • Nominated for Digital Analytics Association Awards for Excellence
  • Runs one of the most popular blogs in the world on digital analytics
  • Consultant to countless small and big businesses over the decade