Troubleshooting GA4 Data with Google Tag Manager

Troubleshooting GA4 Data with Google Tag Manager

If you've done all the hard work of setting up your Google Analytics 4, only to find your data is missing or looks problematic – this blog is for you. We answer all your common queries in this no-nonsense guide to troubleshooting GA4 issues.

Written by

Adam Soetrisno

Published

3 June 2024

Categories

Data

Marketing

Magnifying glass over Google Analytics and Tag Manager

GA4 Troubleshooting: a step-by-step guide

Google Analytics 4 (GA4) offers a powerful suite of tools to understand user behaviour on your website. But what if you've set everything up and... nothing?

No page view or events data populating your reports? It can be frustrating, but fear not!

This comprehensive guide will equip you to troubleshoot two of the most common issues in GA4, specifically when using Google Tag Manager (GTM) for implementation:

  1. Not showing page views data
  2. Not showing tracking information

How to troubleshoot GA4 page views

If your GA4 isn't showing any page views data, it may be because there are multiple Google Tags active in your GTM container. Duplicate tags can cause conflicts, although depending on your setup, sometimes multiple Google Tags may be necessary.

Follow the steps below to ensure that the GTM container implemented on your site isn't mistakingly duplicated.

Step #1: Double-check the Google Tag

Verify the Measurement ID in your GTM tag matches the one in your GA4 property (in green highlight below).

Check your Google Tag in GA4

For this example, we've named our Google Tag in GTM 'GA4 Configuration Tag'.

Check your Tag Configuration in GTM.

Step #2: Review GTM Preview & Debug Mode

Use GTM Preview and Debug mode to simulate tag firing on your website.

To test this in GTM, click the preview button on the top right.

Enter your website's URL and click connect.

Check if the Google Tag correctly fires on all pages you navigate to.

Your website will open automatically and in the preview window, make sure you can see your Google Tag firing in all pages as you navigate around the website that GTM loaded.

At the same time, while the GTM preview is running, you can use GA4 Debug View to troubleshoot as well.

To do this, go to your GA4 account, click the settings button at the bottom left and click DebugView under Data Display.

As you navigate around the webpage that GTM Preview mode generated, you should see the page_view event being generated in the debug view in real time.

If both GTM preview didn’t capture the Google Tag firing and/or the page_view event did not appear in debug view mode, then your GA4 is not collecting data. If this is the case, we need to make sure your GTM container is installed properly.

Step #3: Verify the GTM Container Snippet Placement

Make sure that the GTM container snippet code is installed correctly in all the website’s page as per instructions (head code to be placed in head section, body code to be placed in the body).

To have a look at these instructions, click the green highlighted below in GTM.

How to troubleshoot GA4 event tracking

Why is Google Analytics not showing tracking information?

If specific events aren't showing up, ensure the event tag configuration in GTM is accurate by following the below guide.

Step #1: Check your Measurement I.D

Verify the Measurement ID in your GTM tag matches the one in your GA4 property. The measurement ID should be the same as the Google Tags in GTM.

Step #2: Double-check triggers

Are the triggers set to fire on the correct page loads or user interactions?

Step #3: Review GTM Preview and Debug Mode 

Like debugging the Google Tag above, now we want to see whether our Event’s tag is firing as intended.

  1. Once you click on Preview in GTM and input your website, your webpage will open automatically.
  2. You will then proceed to simulate the event you are trying to capture in your website that GTM loaded.
  3. Once event is simulated, check if the Event Tag is firing correctly on pages where it should fire in GTM’s preview window.
  4. Similarly, you should be able to see the events appearing in GA4’s DebugView just like page_view did above.

By following these steps and leveraging the provided resources, you should be able to identify your GA4 data flow issues within Google Tag Manager. Remember, consistent testing and attention to detail are key to a healthy GA4 implementation through GTM.

Conclusion

Still need help? Don't worry, our Google Analytics services are designed to help take care of headaches just like these.

To get started, book in a quick chat with our Chief Data Officer, Preet Singh today.

The dog and bone.
Subscribe and be the first to hear about news and events.

Written by

Adam Soetrisno
The dog and bone.
Subscribe and be the first to hear about news and events.
View our last posts
Young businesswoman thinking drawing an enterprise content marketing strategy on a whiteboard.

5 Insider Tips For Enterprise Content Marketing

Elizabeth Htwe - 9 min read
Man doing coding and doing technical SEO for huge website.

How to Do Technical SEO for a Huge Website

Roy Zhai - 10 min read
Female Chief Analyst Holds Meeting Presentation for a Team of Economists. She Shows Digital Interactive Whiteboard with Growth Analysis, Charts, Statistics and Data. People Work in Creative Office.

5 Enterprise SEO Tips to Kickstart Your Success

Jarrett Crawford - 8 min read
Team members thinking together
Get in touch
Ready to get the ball rolling? Drop us a line.
First name*
Last name*
Email address*
Phone number*
Company*
Your message