Sub topic 1
What Enhanced Measurement Is and Which Events It Covers
Prerequisites
This chapter assumes you have a GA4 property with a web data stream and the Google tag installed through gtag.js or Google Tag Manager. You should understand that GA4 records an event name with optional parameters. You should also be familiar with the GA4 Admin interface and basic HTML and JavaScript.
The working model
Enhanced measurement is a group of settings on a GA4 web data stream. When enabled, these settings let the Google tag detect common website interactions without separate event-tracking code.
The tag sends an event when it detects a matching interaction. Each event can include parameters that describe the page, link, file, search, or video involved. GA4 then processes the event like other events. You can inspect it in DebugView and use it in reports.
Enhanced measurement does not track every possible interaction. It covers a defined set of common behaviors, and each behavior has detection rules.
Events covered by enhanced measurement
| Interaction | Event name | What it records | Typical parameters |
|---|---|---|---|
| Page load | `page_view` | A page viewed by a visitor | `page_location`, `page_referrer`, `page_title` |
| Browser history change | `page_view` and sometimes `history_change` behavior | A page change detected through history APIs | Page URL and referrer details |
| Scroll depth | `scroll` | The first time a visitor reaches 90% vertical depth | No useful custom detail by default |
| Outbound link | `click` | A click on a link leading to another domain | `link_url`, `link_domain`, `link_text`, `outbound` |
| Site search | `view_search_results` | A search results page detected from its URL | `search_term` |
| YouTube video | `video_start`, `video_progress`, `video_complete` | Video starts, progress milestones, and completion | `video_title`, `video_url`, `video_provider`, `video_percent` |
| File link | `file_download` | A click on a link to a recognized downloadable file | `file_name`, `file_extension`, `link_url` |
| Form interaction | `form_start`, `form_submit` | A visitor begins or submits a detected form | Form-related details when available |
The exact parameter set can vary by event and implementation. Event parameters are values attached to one event instance. For example, a file_download event can identify a PDF file through file_name and file_extension.
Important detection rules
The scroll event fires at 90% depth, not at every percentage. It is useful for identifying readers who nearly reach the end of a page, but it cannot by itself distinguish 25% from 75% engagement.
The click event is primarily for outbound links. GA4 compares the link's domain with the configured web stream domain. A link to another domain is usually outbound, while a link between pages on the same site is not.
Site search depends on query parameters in the results-page URL. Common names include q, s, search, query, and keyword. If your site uses another parameter name, GA4 will not necessarily find the search term automatically.
Video measurement applies to embedded YouTube players that support the required JavaScript interface. A self-hosted video or an unsupported player needs another tracking method.
File downloads depend on recognized file extensions, such as .pdf, .docx, .zip, and common media files. A download delivered through a URL without a recognizable extension may not produce file_download.
Where enhanced measurement fits
Enhanced measurement is best for broad behavioral signals. It can show that visitors viewed pages, reached the end of content, left through an external link, searched, watched a video, downloaded a file, or interacted with a form.
It may be insufficient when you need business meaning. For example, a generic click event does not identify which product call to action a visitor selected unless you add custom logic. A custom event such as cta_click can provide a stable name and carefully chosen parameters.
Exercise
Exercise
A site uses ?term=shoes for its search results URL, and GA4 does not create view_search_results. Which enhanced measurement dependency should you investigate first?
Show answer
Check the web data stream's site search query-parameter settings and add term as a recognized parameter. Then test a search in DebugView.