Share on facebook
Share on twitter
Share on linkedin
Share on email

Tagging & Testing Events in Google Analytics 4: Make the Most of Your Data

Tagging & Testing Events in Google Analytics 4: Make the Most of Your Data

In our previous post, we looked at translating your events from a Universal Analytics (UA) nomenclature to Google Analytics 4’s (GA4) event-based nomenclature. In order to capture these events and properly use them in reporting, you’ll need to:

    1. Establish your events in the data layer (or manually with a GTM tag). Note: we always recommend using the data layer to send events. 
    2. Create a tag to handle the events and parameters.
    3. Test to confirm your events are appearing as intended. 

As discussed in our previous post, an event in GA4 consists of the event name and the parameters associated with it. These values can be handled by a tag in GTM to send the user engagement data to your GA4 property. Your tag (using the ‘review_submission’ example from our previous post) might look something like this:

We have our configuration tag referenced, our event name set to “review_submission”, and our two event parameters setup. You’ll see the names are set up based on our translation, and the values are set to pick up whatever values are dynamically sent in our data layer event.

Set up your trigger for this event, and then we can use GTM’s Preview Mode to check our tag. This also allows us to leverage GA4’s ‘debug view’ (more on that in a minute). In preview mode, we can check to ensure the tag is firing as intended, and for the purposes of this article, confirm that our event parameters are populating as intended.

With preview mode open, take whatever action you have set to trigger an event (in this case, submit a review). There are a couple of methods you can use to test, and I always recommend using multiple methods to verify your hits are working. Let’s take a look:

1. Chrome Console Network Tab

For those comfortable with navigating Chrome’s console, you can check your network calls for your event (and every other hit). The event Query String Parameters will show you a lot of info about your hit, and specifically if and how your event parameters are populating:

Now that we’ve confirmed the event is firing on our site, let’s head over to our GA4 property to confirm it’s arriving in our reports.

2. GA4 Debug View 

GA4 includes a great feature called ‘debug view’ which allows you to check your events in real time. There are a few of ways to enable this feature:

Once you’ve enabled debug view with one of these methods, you can view it in your GA4 property. It’s found under the “configure” menu on the left-hand side:

Once in debug view, you’ll notice all the features it offers:

  • A minute-by-minute flow of activity (left-hand side)
  • A detailed view, second by second of the events triggered (center)
  • Event totals for your top events (right-hand side)

The example above is from Google’s demo property, and I highlight that to show you more of what’s available in debug view. For our event, let’s look at our test property and see our event in action:

Here we can see the event coming through in our center column, and if we click into that event, we see all the parameters sent with it—including our review_rating_value & review_recommended. If you click the carrot next to the parameter name, you can display the value that’s being sent with the parameter. For review_rating_value, we see that the value is “4”, just like we saw in our Chrome Console. As mentioned in the previous post, you’ll need to register these parameters as custom dimensions in order for them to be available in standard reports in GA4.

That’s just one example of debug view in action—this method can be applied to all of your hits. 

As your organization plans to deploy GA4, take advantage of this time in between platforms to translate events, experiment with implementation, test, and learn!

Ready to upgrade to GA4?

Our team of experts is here to help with the transition.
Share on facebook
Facebook
Share on twitter
Twitter
Share on linkedin
LinkedIn
Share on email
Email

Other Articles You Will Enjoy

Google Analytics 4 Privacy Updates: What They Mean For Your Business

Google Analytics 4 Privacy Updates: What They Mean For Your Business

2022 has been a busy year for Google Analytics (GA) in the domain of privacy. In February, the Austrian DPA announced the use of…

5 Core Differences between Universal Analytics and Google Analytics 4

5 Core Differences between Universal Analytics and Google Analytics 4

In March, Google announced that it will sunset Universal Analytics (UA) in 2023. This change means you need to start the transition to Google…

Why Your Healthcare Org Should Upgrade to Google Analytics 4 Right Now

Why Your Healthcare Org Should Upgrade to Google Analytics 4 Right Now

You probably saw the news, but in case you’ve been blissfully unaware, Google just announced that their beloved Universal Analytics (UA) will sunset on…

Google Analytics 4 Update: February 2022 (Part 2) – InfoTrust’s Strategic Recommendation: Transitioning to Google Analytics 4

Google Analytics 4 Update: February 2022 (Part 2) – InfoTrust’s Strategic Recommendation: Transitioning to Google Analytics 4

As a follow-up to our Google Analytics 4 (GA4) February 2022 update, in which we cover some key features of GA4 and address whether…

Google Analytics 4 Reporting: Locating Reports

Google Analytics 4 Reporting: Locating Reports

If you’re thinking the Google Analytics 4 (GA4) reporting interface has changed quite a bit, you are not alone. Upon initial login the interface…

Cookieless Tracking: What It Is and How It Will Optimize Your Marketing Analytics Strategy

Cookieless Tracking: What It Is and How It Will Optimize Your Marketing Analytics Strategy

Get the full infographic In today’s increasingly privacy-centric marketing environment, first-party data has never been more important nor more difficult to collect. A recent…

Is Google Analytics Illegal? Part Deux

Is Google Analytics Illegal? Part Deux

**Important – This is not legal counsel, the materials provided are for informational purposes only and not for the purpose of providing legal advice….

Back to Basics: Audit and Implementation

Back to Basics: Audit and Implementation

Wondering what an audit and implementation is or why you should consider conducting one for your organization? Today, we’re going back to the basics…

A Week in the Life of a Lead Digital Analytics Consultant

A Week in the Life of a Lead Digital Analytics Consultant

Hello there! I’m Stephanie, a recruiter here at InfoTrust. I am excited to be kicking off a new series for our blog, “A Week…

Get Your Assessment

  • This field is for validation purposes and should be left unchanged.

Talk To Us

Talk To Us

Receive Book Updates

Fill out this form to receive email announcements about Crawl, Walk, Run: Advancing Analytics Maturity with Google Marketing Platform. This includes pre-sale dates, official publishing dates, and more.

Our website uses cookies and may collect user information to provide a good experience. Read our Privacy Policy here.

Leave Us A Review

Leave a review and let us know how we’re doing. Only actual clients, please.