event parameters explained

GA4 Event Parameters: A Practical Guide

Updated: 11/6/24 Parameters are the additional pieces of data that add more context to Google Analytics 4 events. If you’re new, GA4 event parameters can be a confusing part of the Google Analytics ecosystem.

So let’s change that and learn how to properly use them.

Table of Contents

You can read on below, or watch this embedded video.

What Are Event Parameters in GA4?

Parameters provide additional information about the ways users interact with your website. They are one of the most critical parts of understanding GA4 events, whether they are automatically collected events, enhanced measurement events, or custom events.

Let’s try an example to explain. Or, check out Google’s support article on the subject.

A Practical Example with Link Clicks

Let’s say you have set up a GA4 custom event with the help of Google Tag Manager to track internal link clicks.

You have named your event internal_link_click. Every time your event tag fires, GA4 will record an event. But what if you want to know the specific URL that was clicked? Or the specific text of the link that was clicked? Or the page that the visitor was on when the link was clicked? All of those additional pieces of data are event parameters that you’d want to view along with your event. Without them, your event data will only tell you how often the event fired.

How Does GA4 Track Event Parameters?

This where things start to get a little more complicated. Some event parameters are automatically collected by GA4. Many of them are not.

All events will collect a minimum of 5 event parameters when they fire. You can see them below.

automatically collected ga4 event parameters

Here’s a common sense explanation of the three parameters that might seem a little vague:

  • page_location = The full URL that the visitor was on when the event took place
  • page_referrer = The URL of the prior page that the visitor was on before the current page
  • page_title = The title tag of a page which comes from the <title> HTML element. For example, the page_title of this page is GA4 Event Parameters: A Practical Guide

What Other Event Parameters Does GA4 Track?

This is a function of what type of event is being tracked.

The 5 parameters above are collected with every event. As we get into recommended events and custom events (where we’re using Google Tag Manager), we get into significantly more parameters. You can see the GA4 Event Parameter list below

Event Parameters in a Custom Event

Below we see a custom GA4 event that is set up in Google Tag Manager to track internal link clicks.

The event name is internal_link_click and we see two event parameters in the red box. The link_url event parameter is a variable that will pull in the {{Click URL}} – the destination of the click. The link_text parameter is also a variable and will pull in the text of the link that is clicked.

event parameters in gtm

Whenever the tag fires for the internal_link_click event, these two event parameters will also be passed.

Part of the flexibility of GA4 events means that event parameters are not required when creating events with Google Tag Manager. This may not always, or often, be a good idea. You only need to send one or more event parameters with an event if that particular event needs that additional data.

How Many Event Parameters Does GA4 Have?

We’ve already seen that there are five event parameters that are automatically collected with all GA4 events. That’s the minimum for a single event.

But there are many more available. When creating a GA4 custom event, you can add up to 25 event parameters with each single event. And if you’re creating a custom event, you can use whatever event parameter you might want. You’re only limited by the data that is available to you through Google Tag Manager.

How Many Events Does Google Analytics 4 Have?

There is an unlimited number of distinct events that you can create in Google Analytics 4. However, there is a limit on the length of the event name. It must be 40 characters or less or Google Analytics will not process it. Event parameters must also be named with 40 characters or less. The length of the event parameter value (the specific URL clicked in the case of the link_url parameter) will be cut off it it exceeds 100 characters.

GA4 Event Parameter List

As we mentioned above, there are 5 event parameters that are sent with all events.

  • language
  • page_location
  • page_referrer
  • page_title
  • screen_resolution

There are also important event parameters that are sent with select enhanced measurement events. Here are some of those important event parameters.

  • link_url and link_text track the specific link that was clicked and the text of that link and is sent with the outbound link ‘click’ event
  • search_term tracks the specific terms that were searched on your site and is sent with the view_search_results event
  • video_percent tracks percentage of embedded YouTube videos viewed and is sent with the video progress event
  • file_name and file_extension track the name of the file and the type of file downloaded with the file_download event
  • engagement_time_msec records the amount of engagement time with the user_engagement event and other events

For more on getting the most out of enhanced measurement events with event parameters, this 1 page cheat sheet might be worth a look.

pdf-download-clarity

Enhanced Measurement Event Cheat Sheet

And this is Google’s list of recommended events. You can click each event to see the recommended event parameters that go with each.

How Do You Add GA4 Event Parameters?

When you create a GA4 event tag in Google Tag Manager, you can add event parameters. To get started, create a “New” tag and choose a “Google Analytics” tag type.

choose google analytics new tag types

Then, choose a “Google Analytics: GA4 Event” tag type.

choose google analytics new event tag type

When you create your tag, you’ll need to insert your GA4 Measurement ID (yellow box). You’ll also need to give it a name (by the first gray arrow), which is what will show up in your GA4 reports when the tag fires. And it will need a trigger (second gray arrow) that tells the tag when to fire.

Clicking into “Event Parameters” at the bright yellow arrow will expand the field and allow us to add one or more event parameters.

add event parameters to ga4 event

Here’s what you see when you click into Event Parameters.

In the red box you can see that I have added two event parameters.

add event parameters in google tag manager

If you need more event parameters, simply click the “Add parameter” button by the yellow arrow. Then add additional parameter names and values that will be sent along with this event.

Note: You can also use something called the Event Settings Variable (green arrow). With this variable, you can re-use your event parameters across multiple custom events. This can save time and make things more organized. This video tutorial shows how to use it.

Can You Modify GA4 Event Parameters?

Yes! You can either change them within Google Tag Manger or you can use a feature to “modify events” within the GA4 interface. Here’s some information about how to modify an event in GA4 if you want to tackle that.

How Do I See Event Parameters in GA4?

Within the GA4 standard reports, the simplest way to see your event parameters is to first look at a list of your events. You can see this below where I’ve clicked into the “Events” report, which is within the “Engagement” reporting section on the left-hand navigation.

ga4 event reports

We see a list of 11 events in the blue box above. Unlike with Universal Analytics, we can’t just add a secondary dimension to quickly display event Category, Action, Label, or Value. Instead, we can click into a single event name and then explore the associated parameters. Let’s do that for the 9th item on the list: internal_link_click,

Once we click into that event, we will be looking at data exclusive to that event. You can see that below, with various event parameters in the red box that we could measure in the last 30 minutes.

viewing event parameters

But wait, you say. That’s only the last 30 minutes! That’s not helpful at all. How Can I see my actual data with a longer term horizon and build helpful reports with it?

That’s a great point…and one that made my bang my head into a wall for months. This is where we need to discuss a very important part about GA4: registering event parameters as custom dimensions. Without this step, you will be “blind” to your event parameters in your standard reports.

Note: You will still be able to access some event parameters in GA4 Explorations without custom dimensions.

Why Can’t I See My Event Parameter Data in GA4?

If you’ve created a new GA4 event parameter, you won’t be able to actually see your event parameter data in your standard reports without registering that event parameter as a custom dimension. This is a surprising (and frustrating) new step compared to UA.

To fix this, first access your admin settings via the gear icon in the bottom left corner of the GA4 interface.

ga4 admin

Next, click “Custom definitions”  within the “Data display” area of your property settings. You can find this in either of two places shown below.

custom definitions

Click the blue “Create custom dimension” button.

create new custom dimension

From here, you can create a new custom dimension for your event parameter.

This involves a dimension name (the name that you’ll see in your reports, in the green box). An optional description (for your own record keeping, in the blue box). And your event parameter (red box), which must match exactly from what you’ve entered in Tag Manager. For a full overview of this process, you can read more about custom dimensions here or watch the video tutorial.

new ga4 custom dimension

You can create up to 50 event-scoped custom dimensions in a GA4 property. Once you’ve done this, your event parameter will be added to your list of custom dimensions and you’ll be able to see them in your reports.

ga4 custom dimensions

Wrapping Up

There’s not a single place you can go in GA4 to see all your event parameters in a report. However, you can build your own reports that will give you the proper event parameter detail you need. Here’s how to create a GA4 events report.

You can also build an “Exploration” or within Looker Studio. The video below shows how to create a report in Looker Studio to show all of our link click data and the necessary event parameters.

link click report

If you’re still someone learning about GA4 you might want to check this list of updated GA4 questions. You can also subscribe to the Root and Branch YouTube channel for an updated video every week or so. Or, for a monthly recap you might consider the free monthly newsletter.

About Root & Branch

This was written by Zack Duncan who is finding himself to be a real data driven weirdo at Root & Branch. The company focuses on SEO and analytics and uses tools like Google Analytics, Google Tag Manager, and Microsoft Clarity.

Hit the button below to check out YouTube for more digital marketing tips and training resources.

click to yt

30 replies
  1. Shawn
    Shawn says:

    Great tutorial. But I have a question! Where can I find the list of parameters and their definitions. Like link_click is a parameter but how do I know what all parameters are available?

    Reply
    • Zack_Duncan
      Zack_Duncan says:

      Hi Shawn,

      This Google support article (https://support.google.com/analytics/answer/9234069?hl=en) has been the best that I’ve found. It includes automatically collected event parameters and also has parameters for some specific events (like the ‘click’ enhanced measurement event). One point of clarity: if you set up a custom GA4 event in GTM and set your event parameters in the tag settings, this is you creating your very own parameter so there won’t be documentation on it.

      Hope that helps. Good luck and Godspeed to you!

      Zack

      Reply
  2. Silvio
    Silvio says:

    Nice tutorial!
    I need to track all current online visitors (for a web app).
    In old GA (<GA4), I sent an event like this:
    ga('send', 'pageview', 'dynamic_location_with_user_id_inserted_via_server_code');
    This way allowed me to see which users are online and where they are navigating (which page or app module).

    How can I do this in GA4?
    Thank you!

    Reply
    • Silvio
      Silvio says:

      I mean like this:

      ga(‘send’, ‘pageview’, ‘/admin/page – User Name (ID 1)’);

      Code to write this:

      ga(‘send’, ‘pageview’, ‘UserName . ‘(ID ‘ . $session->UserID . ‘)’ ?>’);

      Then, when I access “Real time” option, it shows me every online user and where they are at that moment.

      Reply
      • Zack_Duncan
        Zack_Duncan says:

        Hi Silvio, I’m sorry, I’m not much help to you here. Here’s the GA4 support article on User ID tracking that might be a helpful place to start. https://support.google.com/analytics/answer/9213390?hl=en

        If you end up getting this set up and want to make a guest post detailing your process, consider this an invitation. I’d love to learn and I bet there are others who would as well. Wish you all the best, regardless.

        Reply
  3. Gabe
    Gabe says:

    So if you didn’t create a custom dimension, then the parameter values are lost forever? Is there any way to extract the parameter values via API without creating a custom dimension?

    Reply
    • Zack Duncan
      Zack Duncan says:

      Hi Gabe, do you use BigQuery? If you do, I believe you can access event parameter info without custom dimensions. I’m not sure about all the specifics here. It gets over my head quickly.

      Reply
      • Gabe
        Gabe says:

        I just set up BigQuery so I’ll see if that works. Thank you for the tip! It will take 24 hours for the first daily export, so I’ll try to circle back with what I find.

        Reply

Trackbacks & Pingbacks

  1. […] An event “parameter” is a piece of data that adds additional context to a web interaction (an “event”). In our example, the newsletter submission is called newsletter_sign_up_success. The event will register and record data each time the event occurs. But if you want to see additional information, you’re talking about the realm of event parameters. […]

  2. […] The Landing Page report will show (not set) for the landing page dimension if the start of session does not have a page view (page_view) event with the page_location (the URL of the page) event parameter. […]

  3. […] that were clicked? This additional context would be provided by event parameters. Compared to UA, event parameters play an even more prominent role in […]

  4. […] will need to know the connection between events, event parameters, and custom dimensions. And how to create your own custom […]

  5. […] of us who were used to UA. If that previous sentence made no sense, you might want to read about event parameters so you don’t waste months being confused like I did. Suffice it to say, if you don’t do […]

  6. […] create a new event from scratch). Before the new settings variable, you’d manually add any event parameters to each of your event. So you’d hit that “Add parameter” button in the red box […]

  7. […] are 5 event parameters that are created with each ‘click’ event. An event parameter in GA4 is a piece of data that adds additional context to an […]

  8. […] automatically. You can see the page_referrer event parameter right there in the red box. An event parameter, by the way, is just an additional piece of data that adds context to an event. So for all of your […]

  9. […] To do that, go to the Admin panel and then click “Custom definitions” within the property settings to create a new custom dimension from this event parameter. […]

  10. […] to Universal Analytics. This video will show you how to do that, but it’s worth reading about GA4 event parameters if this part is new to […]

  11. […] the heck do event parameters work? Note: this had been the single most confusing part of all of GA4 for me. It’s just so […]

  12. […] to know you can stop reading now. Maybe you can go read about something more confusing in GA4 like event parameters. But if you want to understand more about how to access your GA4 subdomain data, you can read on […]

  13. […] Event parameters are handled very differently in GA4 than in UA. And any comprehensive understanding of reporting requires understanding GA4 event parameters. […]

  14. […] Event parameters are handled very differently in GA4 than in UA. And any comprehensive understanding of reporting requires understanding GA4 event parameters. […]

  15. […] GTM) in GA4, compared to 1 minute or less in UA. And with GA4, you’ll need to register your event parameters as custom dimensions so you can see your actual data in the platform. This is a very new – […]

  16. […] Other event parameters can be added to recommended events and custom events. When this happens, there is an extra step to take. Those event parameters must be registered as a GA4 custom dimension. This is a new part of the process and was personally very confusing to me before I grew accustomed to it. If that also doesn’t sound intuitive to you, you may want to read this practical guide to understanding event parameters. […]

  17. […] This is a completely different (and completely incremental) step compared to Universal Analytics. In fact, it’s so different and not intuitive that for the longest time I couldn’t figure out why I wasn’t seeing my event parameter data in GA4. Check out the steps below to registering a custom dimension, or for a thorough review you can read this practical guide to event parameters. […]

  18. […] All of these parameters have dimensions with things called “scopes”. A session scoped dimension describes the specific session that is being analyzed. The “user-scoped” dimension describes the person who is performing the action. So, the “First user source” dimension referenced by the utm_source parameter will always reflect the same source regardless of whether that user comes back to the site for a future session from a different source. This is no doubt a little confusing and you can read further if you’re interested in more about GA4 event parameters. […]

  19. […] you really want to know, which is what specific term was actually searched. For that, you need a GA4 event parameter called […]

Leave a Reply

Want to join the discussion?
Feel free to contribute!

Leave a Reply

Your email address will not be published. Required fields are marked *