Engagement
Scroll depth tracking: how it is measured and how to use it
Scroll depth is how far down a page a visitor got. How tools measure it, GA4's 90% event, tracking milestones yourself, and how to read the numbers honestly.
The CrispStats team · · 9 min read
In short
Scroll depth tracking records how far down a page each visitor got, usually as a percentage of the page’s height, either continuously as a maximum or as events at thresholds such as 25, 50, 75 and 90%. GA4 sends a single scroll event at 90% by default; finer thresholds need Google Tag Manager or a few lines of your own code. Read it as a distribution per page, next to time on page, and track the specific point that matters, such as a signup form or a pricing table, as its own event.
On this page · 10 sections
Sections
- What is scroll depth?
- How is scroll depth calculated?
- What are the ways to track scroll depth?
- Does Google Analytics 4 track scroll depth?
- How do you track a specific point on the page?
- How do you read scroll depth data?
- What breaks scroll depth tracking?
- Is scroll depth tracking allowed under privacy rules?
- A short checklist
- How CrispStats tracks scroll depth
A pageview tells you someone opened a page. It does not tell you whether they saw the part you wrote it for. Scroll depth fills that gap: it is the furthest point of the page a visitor reached, and it is the cheapest honest signal of whether a long page is being read.
This guide covers how scroll depth is calculated (tools do not agree), what Google Analytics 4 records out of the box, how to track thresholds and milestones yourself, and how to read the result without fooling yourself.
What is scroll depth?
Scroll depth is how far down a page a visitor scrolled, expressed as a percentage of the page’s total height or as a number of pixels. A visitor who reached the very bottom has a scroll depth of 100%. Most tools keep the maximum for each pageview, so scrolling back up does not lower it.
How is scroll depth calculated?
The common formula measures the bottom edge of the screen, not the top:
scroll depth = (pixels scrolled + viewport height) ÷ page height × 100A worked example. The page is 6,000 pixels tall and the browser window shows 900 pixels at a time.
| Visitor | Scrolled | Bottom of screen at | Scroll depth |
|---|---|---|---|
| Opens the page, does not scroll | 0 px | 900 px | 15% |
| Reads the introduction | 1,500 px | 2,400 px | 40% |
| Gets halfway | 2,100 px | 3,000 px | 50% |
| Reaches the footer | 5,100 px | 6,000 px | 100% |
Two consequences follow. First, nobody scores 0%: the first screen counts as seen. Second, short pages score high without any scrolling. A 1,200 pixel page on a 900 pixel screen starts at 75%. On a phone, where the screen is short and the page is long, the same reader starts much lower than on a desktop monitor. Compare scroll depth within a device type, and between pages of similar length.
Some tools measure the top of the screen instead, which makes every number lower. If you switch tools and the averages move, check this first.
What are the ways to track scroll depth?
| Method | What you get | Good for | Watch out for |
|---|---|---|---|
| Maximum depth per pageview | One number from 0 to 100 for each view | Averages and distributions per page | Needs to be sent when the visitor leaves, or it is lost |
| Threshold events (25, 50, 75, 90%) | An event each time a visitor passes a mark | Simple reach curves in any event tool | Each threshold is an event, which adds to your volume |
| Milestone events | An event when a specific element appears on screen | Did they see the form, the price, the conclusion? | You must place markers by hand |
| Scroll maps | A coloured overlay of how many visitors reached each band | Visual review of layout | Usually part of heatmap or session replay tools, which record much more |
Does Google Analytics 4 track scroll depth?
Only roughly. With enhanced measurement on, GA4 sends a scroll event the first time a visitor reaches the bottom of a page, defined as 90% of its height becoming visible. That is one threshold, so you learn how many reached the end and nothing about where the others stopped.
For more detail, the usual route is a scroll depth trigger in Google Tag Manager. You set vertical thresholds as percentages or pixels (for example 25, 50, 75, 90) and send a GA4 event with the threshold as a parameter. Google’s documentation notes two behaviours worth knowing: the trigger fires once per threshold per page, and a threshold already visible when the page loads fires without the visitor scrolling. On a short page, the 25% and 50% events may fire for everyone.
How do you track a specific point on the page?
Percentages answer “how far”, but the question you usually care about is “did they see this”. If the signup form starts at 62% of a long post, a 50% threshold and a 75% threshold both miss it. Put a marker at the element and send an event when it scrolls into view. The browser’s Intersection Observer API does this without listening to every scroll movement:
<!-- Put a marker where the part you care about starts --><div data-milestone="pricing-table"></div><script> var seen = {}; var observer = new IntersectionObserver(function (entries) { entries.forEach(function (entry) { var name = entry.target.getAttribute("data-milestone"); if (entry.isIntersecting && !seen[name]) { seen[name] = true; crispstats("milestone", { name: name }); observer.unobserve(entry.target); } }); }); document.querySelectorAll("[data-milestone]").forEach(function (el) { observer.observe(el); });</script>This sends one event per marker per pageview, named milestone with the marker’s name as a property, using CrispStats’s crispstats() call. Swap that line for your own tool’s event call if you use something else. The conversion question then becomes direct: of the visitors who opened the post, how many saw the form, and of those, how many submitted it.
How do you read scroll depth data?
Look at the distribution, not the average
An average of 55% can mean everyone stopped in the middle, or half the visitors read everything and half left at the first screen. Those are different problems. A reach table makes the difference plain:
| Reached | Post A | Post B |
|---|---|---|
| 25% | 96% | 62% |
| 50% | 71% | 54% |
| 75% | 38% | 51% |
| 90% | 19% | 47% |
Post A loses readers steadily: the writing does not hold them, or the useful part comes too late. Post B loses a third at the top and then almost nobody: people either bounce from the first screen or read to the end. For Post B, fix the opening; for Post A, move the answer up.
Expect most attention near the top
This pattern is normal. In an eyetracking study the Nielsen Norman Group published in 2018, people spent about 57% of their page-viewing time above the fold and 74% in the first two screenfuls. Scroll depth that falls away down the page is not a failure; content placed low on the page that you need people to see is the problem to solve.
Pair it with time
Scroll depth without time cannot tell reading from skimming. A visitor who flicks to the bottom in four seconds scores 100%. Read scroll depth next to time on page measured while the page was visible: deep and long is reading, deep and short is searching, shallow and long is a reader who found what they needed near the top. Both feed the broader question of engagement rate, which GA4 and social platforms each define their own way.
What breaks scroll depth tracking?
- Infinite scroll and lazy loading. If the page grows as you scroll, the denominator moves, and 50% at one moment is 30% the next. Track milestones instead of percentages on these pages.
- Single-page apps. The maximum must reset when the route changes, or the second page inherits the first page’s depth.
- Tall footers and comment sections. A 1,500 pixel footer means a reader who finished the article may never pass 80%. Place a marker at the end of the content.
- Overlays. A cookie banner or newsletter pop-up covering the screen hides content that the formula still counts as seen.
- Unsent final values. Maximum depth is known only when the visitor leaves. A script that sends it on the page’s unload event loses many mobile visits; sending it when the page becomes hidden is more reliable.
Is scroll depth tracking allowed under privacy rules?
A scroll percentage on its own says nothing about who the person is, and collecting it does not require storing anything on the device. Whether your setup needs consent depends on the rest of it: the identifiers your analytics tool stores, and whether you use heatmap or session replay tools that record far more than a number. The cookie banner guide covers what regulators have said about analytics generally; your own counsel decides for your site.
A short checklist
- Decide which pages scroll depth matters for: long articles, docs, long landing pages. It means little on a pricing page that fits one screen.
- Collect a maximum per pageview, or thresholds at 25, 50, 75 and 90%.
- Add a milestone event at the element each page exists for.
- Compare pages of similar length, within one device type.
- Read the reach curve next to visible time and the page’s conversion rate.
How CrispStats tracks scroll depth
The CrispStats script records the furthest scroll depth of every pageview with no setup: the lowest point of the page that came into view, as a percentage of the page’s height, the bottom-of-screen formula above. It is sent together with the seconds the page was visible when the page is hidden or left, and before each single-page navigation, so the last page of a visit is not lost. It needs no cookie and stores nothing on the device.
The honest limits: the dashboard does not yet show scroll depth anywhere, so there is no scroll report, reach curve, scroll map or heatmap, and no session replay. What it shows today is visible time on page, per page and in each visitor’s journey. To count how many readers reached a particular point, send a custom event from that element as in the snippet above, the same way you would track a button click; it appears in the events report with its count and properties, each one counts as one event on your plan, and a visit that includes one is no longer a bounce.