Skip to Content
Main Content

Hiker Looking Out Over Mountains

6 Minute Read | February 14, 2022

Four Tips for GA4 Events

It’s always an interesting experience working through major changes in a system you know well. I’ve worked on a few interesting GA4 implementations recently and am learning what makes GA4 tick. Here are a few quick tips that can make your GA4 implementations easy.  

Tip 1: Be Strategic Allocating Custom Dimensions

Tip 1a: Use Existing Parameters

GA4 only allows 50 custom dimensions in the UI (120 for the paid version). That’s not a bad number, but I’m always worried I’ll run out of custom dimensions.

One way to stretch those 50 slots is by using existing parameters whenever you can. For example, don't create a custom "button_text" parameter when the existing "link_text" will work just fine.

The event parameters for the file_download enhanced-measurement event, for example, has a number of parameters that you should re-use when you can.

https://support.google.com/analytics/answer/9216061?hl=en

Tip 1b: Use Generic Custom Parameters

At times you will need custom parameters. Even then, you don’t need to use unique parameters for every tag.  Use “type”, “sub_type”, and “text” as generic multi-purpose parameters. You can use those three parameters multiple ways in different tags, and they'll only take up three of the 50 slots. See example in the screenshot.

Tip 2: Differentiate Your Custom Parameters from Your Standard Parameters

Documentation is always critical. You may think you’ll remember why you set things up a particular way, but when you’re adjusting something two months from now, or when someone else from your team goes in to adjust something, you’ll be thankful that you wrote things down.

Document your custom parameters to differentiate them from standard parameters. Here’s how I registered two of those custom parameters in GA4.

Tip 3: Add Container and Version ID

Add a GTM container and version ID to the GA4 configuration tag. This comes in super handy when you're troubleshooting why some tracking is no longer working. What version number broke it?

In GTM, make sure to enable the Container ID and Container Version variables.

Then in the GA4 config tag, add Container and Version as a field to set. Every GA4 event that uses the config tag will now include the GTM container and version.

As per usual, use lowercase for the field (or parameter) name and use underscores for spacing.

As an aside, I noticed similar tracking when I ordered my free COVID tests online. Nice - validation from the field!  Turns out that a firm I’ve long admired, Bounteous, did the same thing for USPS.

Tip 4: Add the Tag Name as a Parameter

Have you ever worked in GA and tried to figure out what GTM tag fired a specific event? This is particularly tricky if you are dealing with a large GTM container. I’ve started adding the tag name as a parameter.

I’ve found having the tag name stored as an event parameter to be more useful than I expected, and it's something I always wanted in GA3. The downside is that it’s manual; I’ve not found a way to automatically add the tag name to the value field. But it’s still pretty helpful.

These steps have been useful in my GA4 implementations and debugging. I hope they'll help you, as well.

If you need help making the transition to GA4 or have questions about your implementation, our digital marketing and analytics team is here to help! Visit our GA4 Hub for additional resources and to take advantage of our GA4 JumpStart offer or to request a consultation.

Authored By

Fred Pike

Fred Pike

Managing Director & GA/GTM Practice Lead

hand-drawn owl

Get Expert Tips

3942912/Blog/Four-Tips-for-GA4-Events6
<p>It&rsquo;s always an interesting experience working through major changes in a system you know well. I&rsquo;ve worked on a few interesting GA4 implementations recently and am learning what makes GA4 tick. Here are a few quick tips that can make your GA4 implementations easy. &nbsp;</p> <h2>Tip 1: Be Strategic Allocating Custom Dimensions</h2> <h4>Tip 1a: Use Existing Parameters</h4> <p>GA4 only allows 50 custom dimensions in the UI (120 for the paid version). That&rsquo;s not a bad number, but I&rsquo;m always worried I&rsquo;ll run out of custom dimensions.</p> <p>One way to stretch those 50 slots is by using existing parameters whenever you can. For example, don&#39;t create a custom &quot;button_text&quot; parameter when the existing &quot;link_text&quot; will work just fine.</p> <p>The event parameters for the file_download enhanced-measurement event, for example, has a number of parameters that you should re-use when you can.</p> <p><img alt="" loading="lazy" src="/Northwoods-2020/Blogs/image73.png?Large" /></p> <p><span style="font-size:12px"><a href="https://support.google.com/analytics/answer/9216061?hl=en" style="color:blue; text-decoration:underline">https://support.google.com/analytics/answer/9216061?hl=en</a></span></p> <h4>Tip 1b: Use Generic Custom Parameters</h4> <p>At times you <em>will</em> need custom parameters. Even then, you don&rsquo;t need to use unique parameters for every tag. &nbsp;Use &ldquo;type&rdquo;, &ldquo;sub_type&rdquo;, and &ldquo;text&rdquo; as generic multi-purpose parameters. You can use those three parameters multiple ways in different tags, and they&#39;ll only take up three of the 50 slots. See example in the screenshot.</p> <p><img alt="" loading="lazy" src="/Northwoods-2020/Blogs/image72.png?Large" /></p> <h2>Tip 2: Differentiate Your Custom Parameters from Your Standard Parameters</h2> <p>Documentation is always critical. You may think you&rsquo;ll remember why you set things up a particular way, but when you&rsquo;re adjusting something two months from now, or when someone else from your team goes in to adjust something, you&rsquo;ll be thankful that you wrote things down.</p> <p>Document your custom parameters to differentiate them from standard parameters. Here&rsquo;s how I registered two of those custom parameters in GA4.</p> <p><img alt="" loading="lazy" src="/Northwoods-2020/Blogs/image7.png?Large" /></p> <h2>Tip 3: Add Container and Version ID</h2> <p>Add a GTM container and version ID to the GA4 configuration tag. This comes in super handy when you&#39;re troubleshooting why some tracking is no longer working. What version number broke it?</p> <p>In GTM, make sure to enable the Container ID and Container Version variables.</p> <p><img alt="" loading="lazy" src="/Northwoods-2020/Blogs/image71.png?Large" /></p> <p>Then in the GA4 config tag, add Container and Version as a field to set. Every GA4 event that uses the config tag will now include the GTM container and version.</p> <p>As per usual, use lowercase for the field (or parameter) name and use underscores for spacing.</p> <p><img alt="" loading="lazy" src="/Northwoods-2020/Blogs/image51.png?Large" /></p> <p>As an aside, I noticed similar tracking when I ordered my free COVID tests online. Nice - validation from the field!&nbsp; Turns out that a firm I&rsquo;ve long admired, Bounteous, did the same thing for USPS.</p> <p><img alt="" loading="lazy" src="/Northwoods-2020/Blogs/image5.png" /></p> <h2>Tip 4: Add the Tag Name as a Parameter</h2> <p>Have you ever worked in GA and tried to figure out what GTM tag fired a specific event? This is particularly tricky if you are dealing with a large GTM container. I&rsquo;ve started adding the tag name as a parameter.</p> <p><img alt="" loading="lazy" src="/Northwoods-2020/Blogs/image6.png?Large" /></p> <p>I&rsquo;ve found having the tag name stored as an event parameter to be more useful than I expected, and it&#39;s something I always wanted in GA3. The downside is that it&rsquo;s manual; I&rsquo;ve not found a way to automatically add the tag name to the value field. But it&rsquo;s still pretty helpful.</p> <p>These steps have been useful in my GA4 implementations and debugging. I hope they&#39;ll help you, as well.</p> <p><em>If you need help making the transition to GA4 or have questions about your implementation, our digital marketing and analytics team is here to help! Visit our&nbsp;<a href="/GA4Hub" linktype="2" target="_self">GA4 Hub</a> for additional resources and to take advantage of our GA4 JumpStart offer or to request a consultation.</em></p>
/Northwoods-2020/Hero-Images/Hiker-Looking-Out-Over-Mountains.pngHiker Looking Out Over MountainsFred Pike/Northwoods-2020/People/Fred-Pike.jpgMan in front of a log cabin wall with soft, warm lighting<script charset="utf-8" type="text/javascript" src="//js.hsforms.net/forms/embed/v2.js"></script><script>hbspt.forms.create({ region: "na1", portalId: "23630176", formId: "40c5bbae-05a2-42ea-94dd-1662181fd56e" });</script>/Northwoods-2020/Blogs/Social-Media-Cards/Four-Tips-for-GA4-Events.png?LargeFour Tips for GA4 Events2022-02-14T00:00:00/Northwoods-2020/Blogs/Social-Media-Cards/Four-Tips-for-GA4-Events.png?LargeFour Tips for GA4 EventsWant to improve your Google Analytics event data collection? Try these four tips for GA4 events.3620311/People/Fred-PikeFredPikeManaging Director & GA/GTM Practice Lead<p>Fred Pike is Northwoods&#39; resident analytics guru and a world-renowned expert in Google Analytics and Google Tag Manager. A sought-after speaker and educator, he has led courses at industry-leading conferences, events, and organizations including Conversion XL, MeasureSummit, and SuperWeek. Fred is passionate about finding the best ways to drive website traffic and understanding user interactions. He is also an accomplished pit musician and proud owner of beloved Pekingese Xuxa, one of Northwoods&rsquo; most frequent furry visitors.</p>Fred Pike/Northwoods-2020/People/Fred-Pike.jpgFred PikeAdd-In Type - NWS Data ModulesCategory - NWS Data ModulesCommittee - NWS Data ModulesDivision - NWS Data ModulesEvent Audience - NWS Data ModulesEvent Service - NWS Data ModulesEvent Type - NWS Data ModulesLocality - NWS Data ModulesModule - NWS Data ModulesNWS Data ModulesTopic - NWS Data ModulesPackage Type - NWS Data ModulesPersonID - NWS Data ModulesFred PikeProductVersion - NWS Data ModulesRecorded Webinar TopicsRegion - NWS Data ModulesSite Display - NWS Data ModulesSkillLevel - NWS Data ModulesTopic - NWS Data ModulesVideoAudience - NWS Data ModulesVideoClassification - NWS Data ModulesVideoStatus - NWS Data ModulesTeamAll StaffLeadershipAdd-In Type - NWS Data ModulesCategory - NWS Data ModulesCommittee - NWS Data ModulesDivision - NWS Data ModulesEvent Audience - NWS Data ModulesEvent Service - NWS Data ModulesEvent Type - NWS Data ModulesLocality - NWS Data ModulesModule - NWS Data ModulesNWS Data ModulesTopic - NWS Data ModulesData & AnalyticsDigital MarketingPackage Type - NWS Data ModulesPersonID - NWS Data ModulesFred PikeProductVersion - NWS Data ModulesRecorded Webinar TopicsRegion - NWS Data ModulesSite Display - NWS Data ModulesNWS DigitalSkillLevel - NWS Data ModulesTopic - NWS Data ModulesVideoAudience - NWS Data ModulesVideoClassification - NWS Data ModulesVideoStatus - NWS Data Modules02024-02-20T12:11:59.22700