Sub topic 11
Using Enhanced Events in Reports: Custom Dimensions and Key Events
Assume you already have a GA4 property, a web data stream, and enhanced measurement enabled. You should also understand that GA4 stores an event name with optional event parameters. This chapter shows how to make those parameters usable in reports and how to mark important events as key events.
From enhanced event to report
Enhanced measurement events include parameters that describe the interaction. For example, a scroll event can include percent_scrolled, while a file_download event can include file_name, file_extension, and link_url.
GA4 can collect a parameter without automatically giving it a convenient reporting field. To use an event parameter in standard reports or Explorations, register it as an event-scoped custom dimension.
A custom dimension is a reporting definition that lets you analyze a text or categorical value. Its event scope means that the value belongs to a particular event.
Registering an enhanced event parameter
Use the exact parameter name that GA4 sends.
- Open Admin.
- Under Data display, select Custom definitions.
- Select Create custom dimension.
- Enter a clear name, such as
Downloaded file name. - Set Scope to Event.
- Enter the event parameter name, such as
file_name. - Save the definition.
Examples of useful parameters include:
| Event | Parameter | Possible reporting use |
|---|---|---|
| `scroll` | `percent_scrolled` | Compare engagement at the 90% threshold |
| `click` | `link_domain` | Analyze outbound destinations |
| `view_search_results` | `search_term` | Find common searches |
| `file_download` | `file_name` | Identify downloaded resources |
| `video_progress` | `video_title` | Compare video engagement |
The parameter name is case-sensitive. Registering file_name does not expose a parameter called File_Name.
Registration does not change events that GA4 already received. It makes the parameter available for reporting after the custom dimension is created. Do not expect the new dimension to populate every historical report row.
After registration, use the dimension in an Exploration or in a report that supports custom dimensions. If the value does not appear, first confirm that the event actually contains the parameter in DebugView or Tag Assistant.
Marking an enhanced event as a key event
A key event is an event that represents an important business outcome. You can mark an enhanced measurement event as a key event by opening Admin, selecting Events under Data display, and turning on the key event setting for the event name.
For example, you might mark file_download as a key event if downloading a product guide is a meaningful lead signal. You might mark form_submit if the enhanced form event accurately represents a completed inquiry.
The setting applies to the event name. If you mark file_download as a key event, every matching file download counts. GA4 does not automatically distinguish between valuable and unimportant files.
A key event is different from a custom dimension:
- A custom dimension describes an event, such as the downloaded file name.
- A key event identifies an important occurrence, such as any
file_download. - You may use both for the same event. The key event measures volume, while the custom dimension helps explain that volume.
Choosing the right reporting method
Use the built-in event reports when you need event counts and basic comparisons. Use Explorations when you need to break down events by a registered parameter, such as search_term or video_title.
If the enhanced event is too broad, create a more specific custom event before marking it as a key event. For example, all outbound click events may be less useful than a custom event for clicks on a partner link.
Common errors
- Registering the wrong parameter name.
- Expecting a custom dimension to include data from before registration.
- Treating a parameter as a key event. Parameters describe events; only event names are marked as key events.
- Marking a high-volume interaction as a key event without checking whether it represents real value.
- Testing only in standard reports, where processing can take longer than in DebugView.
Exercise
You need to report which files people download and count downloads as an important lead action. What should you configure?
Show answer
Register file_name as an event-scoped custom dimension, then mark file_download as a key event only if every tracked download represents the lead action you want to measure.