How do I track scroll depth in GA4?
Applies to: Google Analytics 4 (GA4)
Last updated: May 2025
Problem
You want to measure how far users scroll on your web pages to understand content engagement—especially on long-form pages like blogs, product detail pages, or landing pages.
Solution
GA4 includes scroll tracking by default through the Enhanced Measurement feature. It automatically fires a scroll event when a user scrolls to 90% of a page’s height. For more detailed scroll tracking (e.g., 25%, 50%, 75%), you’ll need to implement a custom solution via Google Tag Manager (GTM).
Option 1: Use GA4’s Built-in Scroll Event (90%)
Step 1: Confirm Enhanced Measurement is Enabled
- Go to https://analytics.google.com
- Select your GA4 property
- Navigate to Admin > Data Streams > Web
- Under your web stream, click Configure tag settings
- Click Enhanced Measurement
- Ensure the toggle for Scrolls is ON
GA4 will now automatically send a
scrollevent when users reach 90% of the page.
Step 2: View Scroll Events in GA4
- Go to Reports > Engagement > Events
- Look for the
scrollevent - Use Explorations or segments to analyze scroll behavior by page, device, or traffic source
Option 2: Track Detailed Scroll Depth (25%, 50%, 75%) with Google Tag Manager
Step 1: Set Up Scroll Trigger in GTM
- In GTM, go to Triggers > New
- Choose Scroll Depth as the trigger type
- Enable Vertical Scroll Depths
- Enter percentages (e.g.,
25,50,75) - Trigger on All Pages or specific pages
- Save the trigger
Step 2: Create GA4 Event Tags for Each Scroll Level
- Go to Tags > New
- Choose GA4 Event
- Set:
- Event Name:
scroll_depth - Parameters:
scroll_percent:{{Scroll Depth Threshold}}page_path:{{Page Path}}(optional)
- Event Name:
- Use the Scroll Depth Trigger
- Save and publish
Step 3: Register Custom Parameter (Optional)
To use scroll_percent in reports:
- Go to Admin > Custom Definitions
- Click Create Custom Dimension
- Name:
Scroll Percent, Scope:Event, Parameter:scroll_percent
Notes
- GA4’s built-in
scrollevent only tracks the 90% mark - GTM gives more flexibility but requires setup and testing
- Avoid triggering scroll events too early (like 10%), as they may inflate engagement metrics





