Enhanced measurement affects only your web data streams.
Events you collect via enhanced measurement do not count toward the limit of 500 distinctly named events.
Enhanced measurement lets you measure interactions with your content by enabling options (events) in the Google Analytics interface. No code changes are required. When you enable these options for a web stream, your Google Analytics tag starts sending events right away.
Before turning on the enhanced measurement feature, be sure you understand each option and what data will be collected. You can also turn off specific measurement options. Per our terms, you must ensure that no personally-identifiable information is sent to Google when you collect the data described in the following table.
The following table explains when events are triggered, and which parameters are collected for each event.
These events are collected only for websites.
Measurement option / event | Triggered... | parameters |
---|---|---|
Page views page_view |
each time the page loads or the browser history state is changed by the active site This event is collected automatically. You cannot turn off collection. An advanced setting on this option controls whether the event is sent based on browser-history events. This measurement option listens for pushState, popState, and replaceState. |
page_location (page URL), page_referrer (previous page URL) |
Scrolls scroll |
the first time a user reaches the bottom of each page (i.e., when a 90% vertical depth becomes visible) | No parameters are collected |
Outbound clicks click |
each time a user clicks a link that leads away from the current domain |
link_classes, link_domain, link_id, link_url, outbound (boolean) |
Site search view_search_results |
each time a user performs a site search, indicated by the presence of a URL query parameter By default, the event is triggered based on the presence of one of the following 5 parameters in the URL:
|
search_term, optionally ‘q_<additional key="">’ (where <additional key=""> matches an additional query parameter you specify to be collected under advanced settings) |
Video engagement video_start video_progress video_complete |
For embedded YouTube videos that have JS API support enabled, the following events are triggered:
|
video_current_time, video_duration, video_percent, video_provider, video_title, video_url, visible (boolean) |
File downloads file_download |
when a user clicks a link leading to a file (with a common file extension) of the following types:
File extensions that match the following regex will trigger the event: pdf|xlsx?|docx?|txt|rtf|csv|exe|key|pp(s|t|tx)|7z|pkg|rar|gz|zip|avi|mov|mp4|mpe?g|wmv|midi?|mp3|wav|wma |
file_extension, file_name, link_classes, link_domain, link_id, link_text, link_url |
Enable or disable enhanced measurement events
- Sign in to Google Analytics..
- Click Admin, and navigate to the property you want to edit.
- In the PROPERTY column, click Data Streams > Web.
- Under ENHANCED MEASUREMENT, turn on the switch to enable all options.
Clickto edit individual options later if necessary.