{"title":"Scroll","description":"Measures when % threshold of a web page is visible within a viewport.","_alerts":[{"variant":"note","message":"This event is somewhat misleading if you utilize Google Tag Manager's scroll trigger. **GTM's scroll trigger doesn't actually measure a \"scroll\" action - it measures when the bottom of the viewport (browser window) reaches a certain % threshold of the overall pixel height of a page.** This means that users with large monitors will meet scroll % thresholds without an interaction when page content is shorter. This also means that **scroll % events mean vastly different things depending on the size of the device screen (or more accurately browser window) being used**."},{"variant":"warning","message":"**GA4 implements this event as part of its \"Enhanced Measurement\" feature.** It is recommended to use Google Tag Manager (GTM) to manage event flow and data collection. As such, **we recommend disabling this event inside your GA4 Enhanced Measurement settings if you are using GTM.**"}],"type":"object","allOf":[{"properties":{"event":{"title":"Event Name","const":"scroll"}},"required":["event"]},{"title":"Content Properties","description":"These properties are mostly applicable to `page_*` or `content_*` events. However, they can be used in other appropriate situations.","type":"object","definitions":{"publish_year":{"type":"string","title":"Publish Year","description":"The year the content was published. YYYY format.","example":"2016"},"publish_month":{"type":"string","title":"Publish Month","description":"The month the content was published. MM format.","example":"05"},"publish_day":{"type":"string","title":"Publish Day","description":"The day the content was published. DD format.","example":"04"},"content_name":{"type":"string","title":"Content Name","description":"The name of the content. Ideally fed from a CMS - this is not meant to be the `<title>` of the page, but the name of the content itself which is often more useful for analysis.","example":"The Ultimate Guide to Google Analytics 4"},"content_author":{"type":"string","title":"Content Author","description":"The author of the content.","example":"Derek Cavaliero"},"content_group":{"type":"string","title":"Content Group","description":"Used for aggregate analysis of content that is of a common cohort. For example, all blog posts could be grouped under `blog`.","example":"blog"},"content_type":{"type":"string","title":"Content Type","description":"Similar to `content_group`, but more specific. For example, a blog post could have a `content_group` of `blog` and a `content_type` of `guide`.","example":"guide"},"content_word_count":{"type":"integer","title":"Content Word Count","description":"The approximate number of words that make up the `<main>` or body of the page. This is generally provided by a CMS that has direct access to the underlying content structure to process and expose the word count programatically.","example":500}},"required":[]}]}