ga4 custom dimensions

GA4 Custom Dimensions: How to Set Up and Use in 7 Steps

UPDATED: 11/1/23 In Google Analytics 4 you need to register new event parameters as custom dimensions in order to see the data in all of your GA4 reports.

GA4 custom dimensions were the single most confusing part about GA4 when I first tried learning the platform. That extra step of registering event parameters as custom dimensions is not intuitive. But once I understood them, the rest of GA4 event information began to make more sense. I hope that is the same for you. We’ll go through the process in 7 steps. Really the 7th step is a bonus one to see how to visualize your data.

For the video overview of custom dimensions, click below to watch on YouTube.

youtube of ga4 custom dimensions

Note: The video has not yet been updated as the rest of the blog has been. Some of the GA4 interface has changed since the time the video was filmed.

Still here? Great! Let’s go through the process to register some event parameters as GA4 custom dimensions. We’ll start by understanding event parameters.

1.) Understand the Difference Between Events and Event Parameters

The Google Analytics 4 data model is based on events. Unlike Universal Analytics, which had multiple ways of collecting data, all GA4 data is event data.

 

All of these event types include at least some event “parameters”.

What Are Event Parameters?

Event parameters are additional pieces of data that help provide more information about your events.

As an example, let’s imagine you set up a new custom event to track all of your internal link clicks. You do this because the GA4 click event will only track external link clicks.

Your custom event will keep count of how many times internal links are clicked. But you probably would want to know what specific links are being clicked, wouldn’t you? For that you need an event parameter.

The specific URL of a link that is clicked would be a useful parameter to include with an event that simply recorded how many times a link was clicked. Without the event parameter showing the URL of the link click, the event alone would only count how many total times links were clicked.

And as we’ll see, we can register that event parameter as a custom dimension in order to access it in our reports.

Note: For the rest of this blog, we’ll assume we already have a custom event created.

2.) Access the GA4 Event Tag in Google Tag Manager (GTM)

From tagmanager.google.com, we have clicked into our Internal Link Click tracking GA4 tag. As you can see below, there are two event parameters in the red box that are getting passed along every time our event tag named ‘internal_link_click’ fires.

The first parameter is link_url, which will show the specific link that was clicked. The value of the event parameter is {{Click URL}}, with those double curly brackets (curly braces) representing a variable value that will change as different links are clicked. The second parameter is link_text, which will return a variable value of the specific text of the link that is clicked.

event parameters in gtm

These two event parameters will need to be registered as custom dimensions in GA4 if we want to see their value in our GA4 reporting. Now, let’s head on over to our GA4 property.

UPDATE: I believe GA4 now has link_url and link_text as standard dimensions that you can access within the Explorations reporting area. But if you want to see these event parameters within your standard reports (Life Cycle reports -> Engagement -> Events -> click on your internal_link_click event) you’d still need to do this. Also, you can keep tabs on what’s new in GA4 with their running list of product updates.

3.) Go to GA4 Admin Section and Click “Custom definitions”

From GA4, click into your admin settings with the gear icon in the bottom left of your screen.

Then, click “Custom definitions” within your property setting. Google Analytics changed the admin configuration in October 2023. You can find custom dimensions in two places as shown below.

custom definitions

Custom definitions include both “custom metrics” and “custom dimensions”. We’ll be creating a new custom dimension here.

4.) Add a New Custom Dimension

At the top right of your screen you’ll see a blue button to “Create custom dimensions”. Hit that button.

create new custom dimension

5.) Create Your New Custom Dimension

There are 4 fields to fill out when you register your event parameter as a custom dimension.

  1. First, give your dimension a name. You can see this in the green box below. The dimension name is what will show up in your reports, so make it memorable and use a consistent naming convention.
  2. Second, identity the scope of your dimension. Scope is either “event” or “user” and refers to whether the event parameter describes an action that was taken (an “event scoped” dimensions) or the user who was taking the action (a “user scoped” dimension). In this case, our parameter is event scoped as it describes the link that was clicked.
  3. The third field is the description. This is shown in the blue box below and is optional. You only need to fill this out if you think you’ll need a reminder for the specific event parameter you’re creating. Consider it your personal note only.
  4. The fourth field is the most critical. In the red box, you can see the event parameter. In the case of GA4 custom events and their associated parameters, the event parameter field must be typed exactly as it is in the GA4 event tag you’ve created in Google Tag Manager.

In our case, the event parameter for the link URL of the internal link click is link_url. Scroll back up to step 2 and you can see this in the GA4 event tag in the event parameters.

new ga4 custom dimension

In our case, the event parameter for the link URL of the internal link click is link_url. Scroll back up to step 2 and you can see this in the GA4 event tag in the event parameters.

Now, hit the blue button to “Save” your GA4 custom dimension.

Repeat the process for any additional event parameters you need to register.

A Note About Dimension Quotas

You can have up to 50 event-scoped custom dimensions in your GA4 property. You can have 25 user-scoped custom dimensions and 10 item-scoped custom dimensions. If you click the white “Quota information” button that is shown two images above, you’ll be able to see how much of your quota you have used.

ga4 dimension quotas

6.) Review Your Custom Dimensions

After registering your event parameters as custom dimensions you will be able to view this event parameter data.

You can see below the 4 fields we had filled out for our two custom dimensions.

ga4 custom dimensions

Now, when you click into your custom event in your standard reports you’ll be able to see two new cards showing your event parameter data. Prior to registering those event parameters as custom dimensions, you won’t see these cards at all. 

Note: Here’s a reminder of how to get to this screen: Life Cycle reports -> Engagement -> Events -> click on your internal_link_click event

event parameters showing after custom dimensions created

I hope you found this tutorial helpful. If you’re interested in more resources like this, you can sign up for the Root and Branch newsletter to get a monthly recap of all new training material.

And if you want to take your data to the next level, you can can build a shareable Looker Studio report that will include all your link click data. Here’s how.

7.) Create a Report in Looker Studio

Now it’s time to take advantage of your sweet new custom dimensions. If you are tracking your internal link clicks, you can follow this video tutorial to see how to create a free Looker Studio report showing ALL of your link clicks, both external and internal.

And if you’re more into seeing site search data, here’s another tutorial for creating a report that will show you the full details of your site search activity.

Have fun!

And here is that Data Studio report link.

Wrapping Up

I hope this helps as you think about your future plans for web analytics. Don’t forget that Universal Analytics data will no longer be processed in that platform beginning July 1, 2023. In other words, it’s time we get more comfortable with GA4.

If you’re still someone learning about GA4 (as I am), I’d recommend checking out this running list of updated GA4 questions. You can also subscribe to the Root and Branch YouTube channel for an updated video every week or so. I’ll see you there! There are explainers and tutorials for tracking like this.

About Root & Branch

Root & Branch is a certified Google Partner agency and focuses on paid search (PPC), SEO, Local SEO, and Google Analytics. Hit the button below to check out YouTube for more digital marketing tips and training resources.

click to yt

26 replies
  1. Nick Drishinski
    Nick Drishinski says:

    Great post thank you. I am going to have to dig into the “user” vs “event” scope as that seems a bit unclear by Google.

    Reply
    • Zack_Duncan
      Zack_Duncan says:

      Totally agree with you, Nick. These scopes seem pretty opaque at first. Here’s a quick summary below with some examples of each. Hope it helps!

      EVENT SCOPED:
      An “event-scoped” dimension describes the action someone performs. Event-scoped dimensions come from event parameters that are sent with events.
      The value of an event-scoped dimension often changes as someone engages with your website.

      USER-SCOPED:
      A “user-scoped” dimension describes the person who is performing the action. User-scoped dimensions come from user properties.
      Examples include geography, gender, language, and country. The value of a user-scoped dimension should change very rarely.

      Reply
  2. Paul
    Paul says:

    Hi

    What would cause me to have 10k events but only 6k of certain event parameters, when all events have all parameters?

    Reply
    • Zack Duncan
      Zack Duncan says:

      It would depend on what event parameter you’re referring to. Not all events have all event parameters. For example, the link_url event parameter (showing the clicked link) goes with the click event, but not others. If you can share more context I can try and think a bit more.

      Reply

Trackbacks & Pingbacks

  1. […] If you’re going to be working with event parameters in GA4, you must know about the role of custom dimensions so you can actually access your […]

  2. […] Search Term.” If you chose something else like “See My Search Terms” when you set up your custom dimension, you’ll see that same name carried through […]

  3. […] steps are necessary within GA4 to register “claritydimension” as an “event scoped” custom dimension. This connection enables access to session recording playback URLs within […]

  4. […] you’ve created new GA4 custom dimensions you’ll need to refresh your connection in Looker in order to see those custom […]

  5. […] With GA4 we can create our own own events using Google Tag Manager and send event parameters with those events. Event parameters are additional dimensions that describe the event. We can see this data in our GA4 property after we register those event parameters as custom dimensions in GA4. […]

  6. […] up a custom dimension in 7 steps (and why you need to if you want to see event parameter […]

  7. […] up a custom dimension in 7 steps (and why you need to if you want to see event parameter […]

  8. […] up a custom dimension in 7 steps (and why you need to if you want to see event parameter […]

  9. […] to set up a custom dimension in 7 steps (and why you need to if you want to see event parameter […]

  10. […] up a custom dimension in 7 steps (and why you need to if you want to see event parameter […]

  11. […] This guide explains how to use custom dimensions. […]

  12. […] Universal Analytics. If you’re in a similar boat, you can read all about event parameters and custom dimensions to get up to […]

  13. […] to set up a custom dimension in 7 steps (and why you need to if you want to see event parameter […]

  14. […] to set up a custom dimension in 7 steps (and why you need to if you want to see event parameter […]

  15. […] to set up a custom dimension in 7 steps (and why you need to if you want to see event parameter […]

  16. […] 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 – and disorienting […]

  17. […] to set up a custom dimension in 7 steps (and why you need to if you want to see event parameter […]

  18. […] to set up a custom dimension in 7 steps (and why you need to if you want to see event parameter […]

  19. […] 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 […]

  20. […] to set up a custom dimension in 7 steps (and why you need to if you want to see event parameter […]

  21. […] GA4 custom dimensions: aka why can’t I find my event parameter data?! […]

  22. […] 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 […]

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 *