scroll
Enhanced measurementwebAutomatically triggered the first time a user reaches the bottom of each page (i.e., when a 90% vertical depth becomes visible) Collected by default via enhanced measurement.
- Platforms
- web
- When it fires
- Collected automatically; no code needed.
Parameters (1)
| Parameter | Type | Required | Description | Example |
|---|---|---|---|---|
| engagement_time_msec | - | - | Additional engagement time associated with the event. | - |
Example
gtag.js
gtag('event', 'scroll', {
engagement_time_msec: '...',
});GTM dataLayer
window.dataLayer = window.dataLayer || [];
window.dataLayer.push({
event: 'scroll',
engagement_time_msec: '...',
});