Skip to content

GTM Scroll Depth: Test a 50% Guide Event Alongside GA4 Scroll

Configure a custom 50% GTM scroll event, compare it with GA4’s 90% scroll and verify the difference on a long guide and a one-screen page.

Folded long article with a lilac halfway marker beside a short printed page
Jack Lee
3 Min Read
Share
On This Page

A GTM event at 50% tells you the midpoint became visible. GA4’s enhanced measurement scroll event uses 90% vertical depth. If you want both signals, give the 50% event a distinct name and check both on the same page visit.

Scroll depth is based on the page and viewport. On a page that fits within the first screen, GTM can see the midpoint at load, while the visitor is still at the top.

Set up the 50% event

  1. In GTM, create a Scroll Depth trigger. Enable vertical depth, select percentages and enter 50. Start with Window Load.
  2. Apply it to the guide paths you want to track. In the test below, allow both the long and the short test page.
  3. Connect it to a GA4 Event tag that sends guide_scroll_50 to the intended stream. To pass the value separately, enable the built-in Scroll Depth Threshold variable and send it as depth_percent.
  4. Leave enhanced measurement Scrolls on if you want Google’s standard scroll event as well.

Check a long guide and a one-screen page

Reproduce the page geometry with a fixed document height and viewport height. In this worked check, the long guide is 2,400 px tall in an 800 px viewport. Add the scroll offset to the viewport height to get the lowest visible point. The table shows the expected thresholds for this geometry.

Page and positionBottom of viewportThreshold visible
Long guide, at load800 px of 2,400 pxNeither
Long guide, 400 px down1,200 px of 2,400 px50%
Long guide, 1,360 px down2,160 px of 2,400 px50% and 90%
One-screen page, at loadFull page visible50% and 90%

In GTM Preview, start each test from a fresh load at the top. Let the page finish loading. On the long guide, cross 50%, scroll back, then reach 90%. On the short page, wait without scrolling and inspect whether the GTM tag fired. Record the GA4 result on that page separately. Check GA4 DebugView for your test device and compare the page parameter and event names, including the default event if Scrolls is enabled.

How to read what the test records

On the long guide, the GTM trigger should fire once when the midpoint becomes visible. Returning below it again on the same page load should not fire it again. Check for the distinct enhanced measurement event after reaching 90%. You can sign off on the custom event when Preview shows a single firing and DebugView shows one matching event for that page on the test visit. Count the GA4 event separately. Reaching either threshold only shows which part of the page became visible.

If two events share the name scroll, inspect both sources before you count them. Rename a custom milestone event or disable the unwanted producer. If the short page fires at load and that is unsuitable for your report, scope the tag to genuinely long guides, or measure visibility of a meaningful section for layout-dependent content. Use the DebugView troubleshooting guide if the expected event is absent.

Frequently asked questions

Is GA4’s default scroll event the 50% event?

No. When Scrolls enhanced measurement is enabled, its scroll event corresponds to 90% vertical depth becoming visible for the first time on a page.

Why did my GTM scroll tag fire as soon as the page loaded?

The configured point was likely already in the viewport. Compare the document height with the viewport height and check the event on a taller page.

Should the same GTM threshold fire twice on one page?

The trigger fires once per threshold per page. If you see duplicates, check for two tags or containers sending the same event and start the check from a fresh page load.

Share This Article