Non-FictionFirst 30 DaysWebsite Tracking
GA4 Custom Dimensions Guide eBook
Create and use custom dimensions in GA4. Track par
by Pham Su
Create and use custom dimensions in GA4. Track parameters specific to your business needs.
Formats
Free sample
Chapter 1: The Silent Data Crisis--–- Imagine opening your GA4 property after three months of careful implementation. You have installed the tag, verified events are flowing, and confidently shown your boss the shiny new interface. But when someone asks, "How many of our Enterprise-tier users downloaded the white paper after seeing the holiday campaign?" – you freeze. You cannot answer. The data is there, somewhere, but it is trapped.
It is speaking a language your reports do not understand.This is the Silent Data Crisis. And it affects nearly every business that has migrated from Universal Analytics to GA4.You are not alone. Since the July 2023 sunset of Universal Analytics, millions of marketers and analysts have discovered a painful truth: GA4 does not work like its predecessor. The old playbook of "set a custom dimension, refresh the report, see the answer" is dead. In its place is a more flexible but vastly more confusing system built around events, parameters, and a registration process that most people forget entirely.By the end of this chapter, you will understand exactly why your UA knowledge is failing you, how GA4's event model fundamentally redefines what a "dimension" even means, and why the single biggest mistake analysts make is thinking they already understand how this works.
More importantly, you will complete a Parameter Discovery Audit that uncovers hidden data already flowing into your property – data you can start using today without writing a single new line of code.The Universal Analytics Hangover Let us start with an honest confession. If you learned analytics on Universal Analytics, you were taught a simple, elegant, and completely wrong mental model for GA4.In Universal Analytics, every interaction was a "hit." A pageview was a hit. An event was a hit. A transaction was a hit. Each hit could carry its own set of custom dimensions, pre-defined in the admin interface before you sent any data.
You created a custom dimension slot (say, "dimension1" for "Member Type"), waited 24 hours, and then sent a value like "Gold" or "Silver" along with your hits. It was rigid but predictable. You knew exactly where data would go because you had reserved a parking spot for it.GA4 has no hits. GA4 has no pre-defined dimension slots. GA4 does not care what you send until you tell it to care.This is the mental hurdle that breaks most analysts.
You see, GA4 is built on an event-first architecture. Everything – every page view, every click, every purchase, every scroll, every video start – is an event. Events carry parameters. Parameters are just key-value pairs, like { "button_name": "signup_submit", "page_category": "pricing" }. These parameters flow into GA4 regardless of whether you have "registered" them as dimensions.
They sit in the raw data, invisible to your standard reports, like unlabeled boxes in a warehouse.To make a parameter visible in reports, you must promote it to a custom dimension. That promotion is a manual registration step in the GA4 admin interface. And this is where the Silent Data Crisis begins: most people never do this step because they do not know it exists.The Three Scopes You Must Internalize Before we go further, you need to understand the three containers where your data can live. This is the foundation of everything that follows in this book.Event-scoped dimensions describe a single action. When someone clicks a button, the button_name parameter applies only to that click.
When someone searches, the search_term applies only to that search. These are the most common custom dimensions you will create because they answer specific questions about specific moments in time.User-scoped dimensions travel with the person across sessions. If you set a subscription_tier value of "Enterprise" when a user logs in, that value persists for every event that user generates until you change it. This is powerful for segmentation: you can compare behavior between Free, Pro, and Enterprise users across their entire lifetime.Item-scoped dimensions exist only in the ecommerce items array. These attach to individual products in a transaction: product_color, product_size, brand, category.
They do not apply to pageviews or other non-ecommerce events.Here is the critical insight that most guides get wrong: session-scoped dimensions do not exist in GA4. There is no container for data that applies only to a single session and resets afterward. If you need session-level attributes – like "first campaign that brought the user" or "landing page type for this session" – you have two options. You can store them in user scope and accept that later sessions will overwrite previous values. Or you can attach the attribute to every single event in that session, which means sending the same data repeatedly.
Neither option is perfect. This is a genuine limitation of GA4, and pretending otherwise helps no one. We will explore workarounds in Chapter 2, but for now, simply know that session-level thinking from Universal Analytics does not translate directly.Why Copy-Paste Code from UA Breaks Everything You have probably tried this. You found your old Universal Analytics event tracking code that looked something like this:text Copy Downloadga('send', 'event', 'Category', 'Action', 'Label', 1, { 'dimension1': 'Gold Member' });You thought, "I will just adapt this for GA4." So you wrote:text Copy Downloadgtag('event', 'button_click', { 'user_type': 'Gold Member' });You saw the event appear in GA4's real-time report. Success, you thought.
But then you went to the standard reports, and user_type was nowhere to be found. You refreshed. You waited. You cleared your cache. Nothing.The problem is not your code.
The problem is that GA4 does not automatically expose parameters as dimensions. Your user_type parameter arrived at Google's servers. You can see it in Debug View. It exists. But it is invisible to your reports because you never completed the second step: registration.Universal Analytics trained you to think that sending data and seeing data were the same action.
In GA4, they are two completely separate actions. Sending data is free and unlimited (within reasonable quotas). Seeing data in reports requires you to explicitly register each parameter as a custom dimension.This two-step process is the single most common source of confusion in GA4. It is also the most common reason people believe their tracking is broken when it is actually working perfectly.The Hidden Data Already Flowing Into Your Property Here is the good news. Even if you have never created a single custom dimension, your GA4 property is already collecting dozens of parameters automatically.
Google sends these by default with standard events. You are probably ignoring them because you cannot see them in reports – but they are there, waiting to be promoted.Consider the page_location parameter. Every time GA4 sends a page_view event, it includes the full URL of the page. That URL contains valuable information: the page path, query parameters, sometimes even UTM codes that were appended after the initial campaign attribution. But page_location is not visible in standard reports by default.
You can promote it to a custom dimension in about sixty seconds. Once promoted, you can analyze performance by specific URL patterns, identify which subdirectories drive the most engaged traffic, and even extract query parameters as separate dimensions.Consider…
This is the end of the free sample. Get the eBook to keep going. Buy now
About this book
Details
- Author
- Pham Su
- Publisher
- SamEnrico
- Language
- English
- Genre
- Non-Fiction, First 30 Days, Website Tracking
- Released
- 2026-06-01
- Pages (approx.)
- 155
- Available as
- eBook, Audiobook
Read better in the ZLOADR app
Your eBooks on your phone or tablet. Sign in with your SamEnrico account and start reading.
More by Pham Su
Bipolar Employment Retention GuidePham Su$11.99
New Manager Imposter SyndromePham Su$11.99
Social Engineering EvolutionPham Su$11.99
Finding Medical Detox FacilityPham Su$11.99
The Sugar Addiction Recovery GuidePham Su$11.99
The Rise of Barjeel Studios: Dubai’s Animation RevolutionPham Su$11.99
Understanding Precocious Puberty, Male LimitedPham Su$17.99
FSC Certification for Wood ExportersPham Su$12.99
How to Start a Child Guidance Centre (non-charitable) Business (Beginners Guide)Pham Su$11.99
Commercial Property ManagerPham Su$11.99You may also like
Hong Kong Handover 1997Dunn Johnnie$11.99
Zumba For Postnatal Recovery CourseNeal Christian$11.99
Zumba for BeginnersLadner Nikia$11.99
YouTube Comment Mining GuideHumes Pandora$12.99
Worry Box MeditationCarlin Rudy$11.99
Workplace Stress MeditationNguyen Lynn$11.99
Workplace Stress and Sleep RepairHawley Ivory$11.99
Workplace Perfectionism CureDelaney Jeffry$11.99
Workplace Injustice Anger GuideWallen Isabelle$11.99
Work Addiction and Burnout LinkGreenwood Ester$11.99
Women in Yoga and WellnessBeattie Galina$11.99
Women in Stand Up ComedyChun Evangeline$11.99