Event Scoped Custom Dimensions in GA4 – Tutorial

Last Updated: February 23, 2023

A custom dimension that has event scope is called an event-scoped custom dimension.

Event-scope means the value of the custom dimension is calculated and sent for each event. 

Creating an event-scoped custom dimension by registering a parameter with event scope in the GA4 user interface

In GA4 the values of custom dimensions and custom metrics are supplied by logged event parameters. So, before you create an event-scoped custom dimension, you need a logged event parameter in your GA4 reporting view. 

A logged event parameter is one that is already being tracked and reported by your GA4 reporting view. 

For example, the ‘page_title’ parameter is a logged parameter:

Logged Parameter

You can also create a custom dimension or custom metric before logging the event parameter but that is not the best practice for creating custom dimensions/metrics.

Creating an event-scoped custom dimension via an automatically tracked parameter

Let us suppose you want to register the automatically collected parameter ‘page_title’ as an event-scoped custom dimension. 

To do that follow the steps below:

Step-1: Navigate to your GA4 property view and then click on the ‘Configure’ link:

Configure

Step-2: Now click on ‘Custom Definitions’.

Custom definitions

Step-3: Click on the ‘Create Custom Dimensions‘ button:

Create Custom Dimensions

Step-4: Enter a name for your custom dimension. This name will appear in your GA4 reports, so use a descriptive name:

use a descriptive name

Note: You can always change the dimension name later if you want. 

Step-5: Make sure the scope is set to ‘Event’:

event scope ga4

Note: Once you have set the scope, you cannot change it later.

Step-6: Enter a description for your dimension in the ‘Description’ field so that later on it becomes easier to understand what the dimension is all about:

Description custom dimension

Note: Entering a description for your custom dimension is optional.

Step-7: Select the event parameter ‘page_title‘ from the drop-down menu:

event parameter page title ga4

The event parameter ‘page_title‘ supplies the value to your custom dimension. 

Note: Once you have selected an event parameter, you cannot change it later.

Step-8: Click on the ‘Save’ button at the top right-hand side:

save

You should now see your new custom dimension listed under the ‘Custom dimensions’ section:

your new custom dimension listed

Step-9: Wait for a full 24 hrs and then navigate to ‘Reports’ in your GA4 reporting view:

Reports

Step-10: Now click on ‘Engagement’.

engagement 1

Step-11: Click on ‘Events’.

Events

NOTE: You may see a value of (not set) for a custom dimension during the first 24 hours after its creation.

Step-12: Click on the ‘page_view’ event:

page view event

You should now see the report on the ‘page_view’ event:

report on the page view event

Step-13: Scroll down the  ‘page_view’ event report until you see the data card named ‘TITLE OF THE PAGE’:

TITLE OF THE PAGE dimension ga4

You only see this data card in the ‘page_view’ event report because you registered the ‘page_title’ parameter as a custom dimension. Otherwise, you won’t see this data card.

This data card will appear in every event report where you (or GA4) are passing the ‘page_title’ parameter along with the event. This is one advantage of registering a parameter as a custom dimension.

Step-14: Click on the events drop-down menu at the top:

events drop down menu

Step-15: Select the ‘click’ event:

click event ga4

You should now see the report on the ‘click’ event. 

click event report

Step-16: Scroll down the  ‘click’ event report until you see the data card named ‘TITLE OF THE PAGE’:

data card named TITLE OF THE PAGE ga4

You only see this data card in the ‘click’ event report because you registered the ‘page_title’ parameter as a custom dimension. Otherwise, you won’t see this data card.

Creating an event-scoped custom dimension via a custom parameter

Now let us suppose you are passing the ‘payment_type’ custom parameter with the ‘purchase’ event and this parameter is being logged (i.e. recorded).

Let us also suppose you registered the ‘payment_type’ parameter as an event-scoped custom dimension:

payment type parameter as an event scoped custom dimension

Now follow the steps below:

Step-1: Navigate to ‘Reports’ in your demo GA4 reporting view:

Reports

Step-2: Now click on ‘Engagement’.

engagement

Step-3: Click on ‘Events’.

Events

Step-4: Type ‘purchase’ in the search box and then press the enter key in order to find the ‘purchase’ event:

Purchase event

Step-5: Click on the ‘purchase’ event:

Click on the purchase event

You should now see the purchase event report:

You should now see the purchase event report

Step-6: Scroll down the ‘purchase’ event report until you see the data card named ‘PAYMENT_TYPE’:

data card named PAYMENT TYPE

You see this data card in the ‘purchase’ event report only because you (or technically speaking, Google in the case of this demo property) registered the ‘payment_type’ custom parameter as a custom dimension. Otherwise, you won’t see this data card.

Applying an event-scoped custom dimension via ‘Add Comparison’

Once you have registered a logged event parameter as an event-scoped custom dimension, you can then apply the custom dimension to any GA4 report via the ‘Add Comparison’ feature.

Add Comparison

In GA4, we use the ‘Add comparison’ feature (instead of segments or filters) to evaluate and compare subsets of data. 

Let’s apply the ‘PAYMENT_TYPE’ custom dimension we created earlier to the Traffic Acquisition report in GA4 to see which payment type is being used by users from a particular marketing channel.

Follow the steps below:

Step-1: Navigate to the ‘Reports’ in your GA4 reporting view:

Reports

Step-2: Now click on ‘Acquisition’.

acquisition

Step-3: Click on ‘Traffic Acquisition’.

traffic acquisition

Step-4: Click on the ‘Add Comparison’ button:

Add Comparison

You should now see an overlay at the right-hand side of your screen like the one below:

overlay at the right hand side of your screen 1

Step-5: Select the ‘payment_type’ dimension from the dimension drop-down menu:

Select payment type dimension

Step-6: Click on the ‘Dimension Values’ drop-down menu:

Dimension Values

Step-7: Select the ‘Pay with Credit Card’ and ‘Pay with Purchase Order’ checkboxes and then click on the ‘OK’ button:

Pay with Credit Card

Step-8: Click on the ‘Apply’ button:

apply button

You should now see the new comparison added to the Traffic Acquisition report:

new comparison added to the Traffic acquisition report

Step-9: Scroll down the Traffic Acquisition report until you see the data table with the comparisons applied to it:

Scroll down the Traffic acquisition report

Step-10: Navigate to any other GA4 report and you should see the same new comparison applied to the report:

Navigate to any other GA4 report

That’s how you can apply an event-scoped custom dimension to GA4 reports via the ‘Add Comparison’ feature.

Another advantage of registering an event parameter as an event-scoped custom dimension is that you can report on the same event parameter for as many events as you like without passing the same parameter over and over again for each individual event.

Applying an event-scoped custom dimension as a secondary dimension

Once you have registered a logged event parameter as an event-scoped custom dimension, you can then apply the custom dimension as a secondary dimension to any GA4 report which contains a data table.

For example, the User Acquisition report contains a data table:

user acquisition

Click on the ‘+’ button next to the primary dimension ‘User medium’ to apply a secondary dimension to the data table:

kDAc2ADK55xZrv1EkF88Ru5JtI2VWHXBfM8UjuxmpW8mNUf2DZUbb1ZWmln mH y3Tp1NU7oSo aSPe 0zUygL3QUZfmDA5MlpuT6yHaYnvT53mdYN3jdPJKUuc3SGfhqIz7WhwL

Click on ‘Custom (Event-scoped)’ from the drop-down menu:

Custom Event scoped

Click on ‘payment_type’:

payment type

You should now see the ‘payment_type’ event-scoped custom dimension applied to the User Acquisition report as the secondary dimension:

payment type event scoped custom dimension

That’s how you can apply event-scoped custom dimensions to GA4 reports as secondary dimensions.

Applying event-scoped custom dimensions to Explore reports

Once you have registered a logged event parameter as an event-scoped custom dimension, you can then apply the custom dimension to the Explore reports.

About Explore reports in GA4

blank template

Explore reports are the most important feature of the GA4 user interface and allow advanced analysis. They are made up of multiple report templates like: 

  • Free Form
  • Cohort Exploration
  • Funnel Analysis
  • Path Analysis
  • Segment Overlap, etc.

Let’s create a new advanced analysis via the blank report template and then apply the ‘payment_type’ event-scoped custom dimension to it.

Follow the steps below:

Step-1: Navigate to your GA4 property view and then click on the ‘Explore’ link:

Step-2: Click on the ‘Blank’ template:

blank template 1

Step-3: Click on the ‘+’ button next to ‘Dimensions’:

button

Step-4: A new pop-up will come on the right-hand side. Click on the magnifying glass in order to open the search box

magnifying glass

You should now see a search box (which is used to search for a particular dimension):

search for a particular dimension ga4

Step-5: Type ‘payment’ in the search box:

Type payment in the search

Step-6: Click on the ‘payment_type’ checkbox and then click on the ‘Apply’ button:

Click on the payment type

You should now see the ‘payment_type’ dimension listed under the ‘Dimensions’ section:

dimension seen

Step-7: Click on the ‘Drop or select dimension‘ button:

drop or select dimension

Step-8: Click on ‘payment_type’ from the drop-down menu:

payment type dimension in drop down

You should now see the ‘payment_type’ dimension is applied to the canvas on the right:

dimension in canvass

#1 Google Analytics 4 Intro

  1. What is GA4 (Google Analytics 4) – The Apps + Web Property?
  2. Key Benefits of Using Google Analytics 4 (GA4)
  3. Setup GA4 – Upgrade to GA4 – Implementation Guide
  4. Google Analytics 4 (GA4) vs Universal Analytics – What is the Difference?
  5. GA4 vs GA4 360 – Pricing, Limits, Billing and More
  6. Google Analytics 4 Training & Tutorial with FREE GA4 ebook

#2 Google Analytics 4 Property

  1. Google Analytics Account Hierarchy (Structure Explained)
  2. Understanding Google Analytics Measurement ID (GA4)
  3. Google Signals GA4 – See Demographics (Gender, Age) in Google Analytics 4
  4. Using the GA4 (Google Analytics 4) Test Property
  5. Google Analytics 4 Sub Properties Tutorial
  6. Roll up Property in Google Analytics 4 (GA4) – Tutorial

#3 Google Analytics 4 Integrations

  1. How to connect GA4 (Google Analytics 4) with Google Data Studio
  2. How to link GA4 (Google Analytics 4) with Google Ads
  3. How to link Google Search Console to Google Analytics 4 (GA4)
  4. How to Install Google Analytics 4 on Shopify
  5. GA4 Firebase Integration – Correctly Add App Data Streams to GA4 Property

#4 Google Analytics 4 Events

  1. GA4 (Google Analytics 4) Event Tracking Setup Tutorial
  2. Understanding Event Parameters in Google Analytics 4 (GA4)
  3. Recommended Events in Google Analytics 4 (GA4)
  4. Enhanced Measurement Events in Google Analytics 4 (GA4)
  5. Automatically Collected Events in Google Analytics 4 (GA4)
  6. How to Set Up GA4 Custom Events via Google Tag Manager
  7. Events Report in Google Analytics 4 (GA4)
  8. How to Rename Events in Google Analytics 4 (GA4)
  9. How to Use Google Analytics 4 Event Builder
  10. GA4 Form Interactions Tracking – Enhanced Measurement

#5 Google Analytics 4 Conversions

  1. Google Analytics 4 Conversion Tracking Guide – GA4 Goals
  2. How to Import Conversions from GA4 Property to Your Google Ads account
  3. GA4 Conversion Rate – How to find it and use it

#6 Google Analytics 4 Dimensions

  1. GA4 (Google Analytics 4) Dimensions Tutorial
  2. GA4 (Google Analytics 4) Custom Dimensions Tutorial
  3. GA4 User Properties (User Scoped Custom Dimensions) – Tutorial
  4. Event Scoped Custom Dimensions in GA4 – Tutorial

#7 Google Analytics 4 Metrics

  1. GA4 (Google Analytics 4) Metrics Tutorial with Free Google Analytics 4 Ebook
  2. GA4 (Google Analytics 4) Custom Metrics Tutorial
  3. What are Predictive Metrics in Google Analytics 4 (GA4)

#8 Google Analytics 4 Ecommerce

  1. GA4 (Google Analytics 4) Ecommerce Tracking via GTM – Tutorial

#9 Google Analytics 4 Specialized Tracking

  1. GA4 (Google Analytics 4) Enhanced Measurement Tracking Tutorial
  2. Cross Domain Tracking in GA4 (Google Analytics 4) Setup Guide
  3. GA4 Site Search – Tracking Site Search in Google Analytics 4
  4. GA4 (Google Analytics 4) Scroll Tracking Tutorial
  5. Self-referral Google Analytics 4 – Referral exclusion GA4
  6. GA4 (Google Analytics 4) Data Import Tutorial
  7. Google Analytics 4 Content Grouping – Create Content Groups in GA4
  8. How to Track Single Page Apps in Google Analytics 4 (GA4)
  9. utm_source, utm_medium, utm_campaign Parameters – GA4 (Google Analytics 4)
  10. GA4 Form Tracking via Google Tag Manager

#10 Google Analytics 4 filters

  1. GA4 filters – Understanding Data Filters in Google Analytics 4
  2. How to Create and Test Filters in Google Analytics 4 (GA4)?
  3. Exclude Internal Traffic in GA4 (Google Analytics 4) via IP Filter

#11 Google Analytics 4 Explorations

  1. Free Form Report in GA4 (Google Analytics 4) – Exploration Report
  2. How to Use the User Lifetime Report in Google Analytics 4 (GA4)
  3. How to Use Path Exploration Report in GA4 (Google Analytics 4) – Path Analysis
  4. How to Use Segment Overlap Report in Google Analytics 4 (GA4)
  5. How to Use the Funnel Exploration Report in GA4 (Google Analytics 4) – Funnel Analysis
  6. Cohort Exploration Report in Google Analytics 4 (GA4)
  7. How to Create Landing Pages Report in GA4 (Google Analytics 4)
  8. How to Create Google Ads report in GA4 (Google Analytics 4)
  9. How to Segment GA4 Data by Data Stream
  10. Organic Search Traffic Analysis in GA4 – Complete Guide
  11. Google Analytics 4 (GA4) Outbound Links Tracking
  12. How to Track Email Campaigns and Traffic in GA4 

#12 Google Analytics 4 Advanced

  1. Understanding Google Analytics 4 Sessions
  2. GA4 (Google Analytics 4) Measurement Protocol Tutorial
  3. How to Build Comparisons (Advanced Segments) in Google Analytics 4 (GA4)
  4. Understanding Automated Insights in Google Analytics 4 (GA4)
  5. Understanding Channel Groupings in Google Analytics 4 (GA4)
  6. Understanding Data Sampling in Google Analytics 4 (GA4)
  7. Google Analytics 4 Regex (Regular Expressions) Tutorial
  8. How to Exclude URL Query Parameters in Google Analytics 4

#13 Google Analytics 4 Reports

  1. How to Create Custom Insights in Google Analytics 4 (GA4)
  2. How to Use Debug View Report in Google Analytics 4 (GA4)

#14 Google Analytics 4 Attribution

  1. Guide to Attribution Models in GA4 (Google Analytics 4)
  2. How to Change Attribution Models in GA4 (Google Analytics 4)?
  3. GA4 (Google Analytics 4) Conversion Paths Report in Attribution
  4. GA4 (Google Analytics 4) Model Comparison Report in Attribution
  5. Advertising Snapshot in GA4 (Google Analytics 4) Attribution
  6. GA4 Attribution Modelling Tutorial

#15 Google Analytics 4 Audiences

  1. GA4 Audiences – Creating Custom Audience in Google Analytics 4
  2. How to Create a Remarketing Audience in Google Analytics 4 (GA4)
  3. Understanding Audience Triggers in Google Analytics 4 (GA4)
  4. Google Analytics 4 (GA4) Predictive Audiences – Tutorial

#16 Google Analytics 4 BigQuery

  1. GA4 BigQuery – Connect Google Analytics 4 with BigQuery
  2. BigQuery GA4 Schema – Send Custom GA4 Data to BigQuery
  3. How to Backfill GA4 Data in BigQuery
  4. How to Connect and Export Data from GA4 to BigQuery

Frequently Asked Questions about Event Scoped Custom Dimensions in GA4 – Tutorial

What is a custom dimension in Google Analytics 4?

A custom dimension is the attribute of visitors (users) or events to your website. You can create 25 unique user-specific custom dimensions and 50 events specific custom dimensions. You can set up custom dimensions that will get their values from parameters that you collect for your GA4 property.

What is an event scope custom dimension in Google Analytics 4?

A custom dimension that has event scope is called an event-scoped custom dimension. Event-scope means the value of the custom dimension is calculated and sent for each event. For example, you can create a custom dimension as “page_title” and send it along with every event to see on which page the event happened.

What are the uses of event scope custom dimensions in Google Analytics 4?

You can use event scope custom dimension in fowling ways
• Applying an event-scoped custom dimension via ‘Add Comparison’
• Applying an event-scoped custom dimension as a secondary dimension
• Applying event-scoped custom dimensions to Explore reports

Register for the FREE TRAINING...

"How to use Digital Analytics to generate floods of new Sales and Customers without spending years figuring everything out on your own."



Here’s what we’re going to cover in this training…

#1 Why digital analytics is the key to online business success.

​#2 The number 1 reason why most marketers are not able to scale their advertising and maximize sales.

#3 Why Google and Facebook ads don’t work for most businesses & how to make them work.

#4 ​Why you won’t get any competitive advantage in the marketplace just by knowing Google Analytics.

#5 The number 1 reason why conversion optimization is not working for your business.

#6 How to advertise on any marketing platform for FREE with an unlimited budget.

​#7 How to learn and master digital analytics and conversion optimization in record time.



   

My best selling books on Digital Analytics and Conversion Optimization

Maths and Stats for Web Analytics and Conversion Optimization
This expert guide will teach you how to leverage the knowledge of maths and statistics in order to accurately interpret data and take actions, which can quickly improve the bottom-line of your online business.

Master the Essentials of Email Marketing Analytics
This book focuses solely on the ‘analytics’ that power your email marketing optimization program and will help you dramatically reduce your cost per acquisition and increase marketing ROI by tracking the performance of the various KPIs and metrics used for email marketing.

Attribution Modelling in Google Analytics and BeyondSECOND EDITION OUT NOW!
Attribution modelling is the process of determining the most effective marketing channels for investment. This book has been written to help you implement attribution modelling. It will teach you how to leverage the knowledge of attribution modelling in order to allocate marketing budget and understand buying behaviour.

Attribution Modelling in Google Ads and Facebook
This book has been written to help you implement attribution modelling in Google Ads (Google AdWords) and Facebook. It will teach you, how to leverage the knowledge of attribution modelling in order to understand the customer purchasing journey and determine the most effective marketing channels for investment.

About the Author

Himanshu Sharma

  • Founder, OptimizeSmart.com
  • Over 15 years of experience in digital analytics and marketing
  • Author of four best-selling books on digital analytics and conversion optimization
  • Nominated for Digital Analytics Association Awards for Excellence
  • Runs one of the most popular blogs in the world on digital analytics
  • Consultant to countless small and big businesses over the decade

Learn and Master Google Analytics 4 (GA4) - 126 pages ebook

X
error: Alert: Content is protected !!