01Chapter 1: How GA4 models events, parameters and usersCustom dimensions and custom metrics in GA4 only make sense once you know what GA4 stores. This chapter describes the data model: what an event contains, where parameters and user properties sit, and why the model leads to three custom dimension scopes. Later chapters cover sending, registering and 7 min read
02Chapter 2: Event parameters: describing what happenedThis chapter assumes you know what a GA4 event is, can find Admin and your data stream, and can read basic JavaScript or use Google Tag Manager (GTM). It covers event parameters: what they are, how GA4 treats them, and the mistakes that make them disappear from reports.6 min read
03Chapter 3: User properties: describing who did itThis chapter assumes you know what a GA4 event is and can navigate a property's Admin area. You should also be able to read a short JavaScript snippet or a Google Tag Manager (GTM) tag. The previous chapter covered event parameters, which describe what happened. This chapter covers user properties, 7 min read
04Chapter 4: Item parameters in ecommerce eventsThis chapter covers how GA4 attaches product data to ecommerce events, how custom item parameters become item-scoped custom dimensions, and where this scope behaves differently from event and user scope. It assumes you can read basic JavaScript, you know what an event parameter is, and you know wher6 min read
05Chapter 5: Choosing a scope: event, user or itemThis chapter assumes you know what a GA4 event is, can find Admin and the property's data streams, and can read basic gtag.js or Google Tag Manager (GTM) code. You will learn how to pick the scope of a custom dimension before you register it. The scope is the part of the data model the value describ6 min read
06Chapter 6: Sending parameters and user propertiesThis chapter assumes you know what a GA4 event is, can find Admin and DebugView in the interface, and can read basic JavaScript or use Google Tag Manager (GTM). Here you will send event parameters, user properties and item parameters from a page, from GTM and from a server. Registering them as custo5 min read
07Chapter 7: Checking your data in DebugViewThis chapter assumes you can find Admin in a GA4 property, know what a data stream is, and can send an event with gtag.js or Google Tag Manager (GTM). You will use DebugView to confirm that event parameters, user properties and item parameters arrive as intended. You do this before you register them6 min read
08Chapter 8: Registering a custom dimension in AdminThis chapter assumes you can navigate GA4 Admin, know what an event, a property and a data stream are, and can send an event with gtag.js or Google Tag Manager (GTM). It also assumes you have already seen your parameter arrive in DebugView. If you have not, do that first, because registration cannot6 min read
09Chapter 9: Creating custom metrics and choosing unitsThis chapter assumes you can already send an event parameter and register an event-scoped custom dimension. A custom metric uses the same mechanism, but it measures a number instead of labeling an event.6 min read
10Chapter 10: Using custom dimensions and metrics in reports and ExplorationsThis chapter assumes you have already sent a parameter or user property, checked it in DebugView, and registered it in Admin as a custom dimension or custom metric. It covers what happens next: where the definitions show up, how to add them to reports, how to use them in Explorations and audiences, 6 min read
11Chapter 11: Limits, processing delay and no retroactive dataThis chapter assumes you can already send an event parameter, check it in DebugView, and register it in Admin. Registration has costs. Each property has a fixed number of slots, new definitions are not applied to old data, and reports can lag behind what you just configured. Most "my custom dimensio7 min read
12Chapter 12: Avoiding high cardinality and personal dataThis chapter assumes you can already send event parameters and user properties, and that you have registered at least one custom dimension in Admin. It covers two ways a well-intended custom dimension goes wrong. The first is high cardinality, which makes the dimension unusable in reports. The s6 min read
13Chapter 13: Naming conventions and documentationCustom dimensions and metrics are easy to create and hard to remove. A bad name in a property stays there, and everyone who builds a report has to read it. This chapter covers how to name parameters and definitions, how to write them down, and how to keep the two in sync.6 min read
14Chapter 14: Querying custom definitions with the Data API and BigQueryThis chapter assumes you have already registered at least one custom dimension or custom metric in Admin and sent matching data. You should also be comfortable reading JSON and basic SQL. Here you will pull your custom definitions out of GA4 programmatically through two routes. The Google Analytics 5 min read