Sub topic 7
Enhanced Measurement: Automatic Events
This chapter assumes you already have a GA4 property, a web data stream, and the Google tag installed on your site. You should also understand that an event is a record of something a user or page does, such as loading a page or downloading a file.
Enhanced measurement is a group of automatic event collection settings in a web data stream. It lets GA4 collect common interactions without requiring custom JavaScript for each interaction. You enable or disable these settings at the stream level.
What enhanced measurement collects
Open Admin, then Data collection and modification, then Data streams. Select the web stream and turn on Enhanced measurement. Select the settings icon to review individual events.
| Interaction | Event name | Typical information collected |
|---|---|---|
| Page loads or browser history changes | `page_view` | Page URL, title, and referrer |
| User scrolls near the bottom | `scroll` | Scroll-depth interaction |
| User clicks a link to another domain | `click` | Link URL and link text |
| User searches the site | `view_search_results` | Search query parameter |
| User watches an embedded video | `video_start`, `video_progress`, `video_complete` | Video title, provider, and progress |
| User downloads a file | `file_download` | File name, extension, and URL |
| User interacts with a form | `form_start`, `form_submit` | Form identifier and page context |
The exact event availability can depend on the website implementation. For example, video measurement generally requires supported embedded video players. Site search measurement requires GA4 to recognize the query parameter used in your search URLs.
Enhanced measurement is different from custom event tracking. Automatic events use GA4's built-in rules. Custom events use your own event names and parameters for interactions that GA4 cannot identify automatically.
Configure the settings
Keep page_view enabled for most websites. Disable it only when another implementation sends page views deliberately, such as a carefully configured single-page application. Otherwise, you can create duplicate page views.
You can disable individual events without removing the entire feature. For example, turn off form interactions if your forms contain sensitive information or if the automatic events do not describe your reporting needs accurately.
<!doctype html>
<html lang="en">
<head>
<meta charset="utf-8">
<title>GA4 enhanced measurement example</title>
<script async src="https://www.googletagmanager.com/gtag/js?id=G-XXXXXXXXXX"></script>
<script>
window.dataLayer = window.dataLayer || [];
function gtag() { dataLayer.push(arguments); }
gtag('js', new Date());
gtag('config', 'G-XXXXXXXXXX');
</script>
</head>
<body>
<a href="https://example.org/guide.pdf">Download the guide</a>
</body>
</html>Replace G-XXXXXXXXXX with the measurement ID from your web stream. The link may produce a file_download event when enhanced measurement is enabled.
Understand the data flow
Common errors and testing
A frequent error is assuming that enabling a setting creates historical data. It does not. GA4 collects events only after the setting is enabled and the tag is active.
Test each important interaction in DebugView. Confirm the event name, page location, link URL, and other parameters. Then check Realtime to confirm that the property receives activity from a test user.
Avoid creating a custom event with the same purpose as an automatic event unless you have a clear reason. Duplicate tracking can inflate counts and make reports difficult to interpret.
Exercise
Your site sends page_view manually in its single-page application and also has automatic page views enabled. What problem can occur, and what should you check?
Show answer
GA4 can record two page views for one navigation. Check the page-view configuration and disable automatic page views or remove the duplicate manual send, then test navigation in DebugView.