Google Tag Manager

How to Track Page Scroll Depth Via Google Tag Manager?

If you want to know how much a visitor is scrolling to read the content, tracking the page scroll depth via Google Tag Manager is a better choice.

When Google organic search is the primary source of traffic for any website or for that matter to any page, the bounce rate will be on the higher side. The simple reason being, the visitor who is looking for any information on Google lands on your website, is more likely to get what he is looking. As visitor get what they were looking for from a website or page, it will have a higher bounce rate for sure.

So let’s track how much a page visitor scrolls via the Google Tag Manager.

Note: A higher scroll depth can also be used as an interaction to reduce the overall bounce rate in Google analytics.

Step 0: Pre-requisites

You should be aware of Google Tag Manager Lingo. Moreover understand what a trigger, tag, and the built-in variables available are.

The next is, you should have a Google Tag Manager for tracking site’s traffic in Google Analytics though it isn’t a must. We will still need to have the Google Analytics Property ID to send scroll depth data to Google Analytics.

If you aren’t sure, refer to my article – How to Connect Google Analytics With Google Tag Manager first and then continue with this article.

Step 1: Create Trigger

  • Trigger name: Anything that can identify the trigger. I have given the name as “Scroll Depth”.
  • Trigger type: Scroll Depth (Vertical Scroll Depths in 25%, 50%, 75% & 100%).
  • This Trigger fires on: All pages (Can be customized to fire on the set of pages or only on the homepage).

To configure the trigger to fire only on selected landing pages, use “Some Pages”. In the condition mention the “Page URL” contains. Specify the landing page path.

For the trigger to fire only on the homepage, use “Some Pages > Page Path > Equals > /” as shown in the image below.

Step 2: Create a Tag

  • Tag name: Anything that helps you identify the tag. I have it as Scroll Depth
  • Tag type: Google Analytics – Universal Analytics (We will pass the scroll depth data to Google Analytics)
  • Track type: Event (Selected from the drop-down menu list)

Event Tracking Parameters

  • Category: Scroll Depth
  • Action: {{Page Path}}
  • Label: {{Scroll Depth Threshold}}
  • Value: Leave blank
  • Non-Interaction hit: False (Only if you want to make this tag reduce bounce rate, else set as true)
  • Google analytics settings: {{Google Analytics ID}}

As a rule, if you are using higher scroll depth values like 50% or more, it is wise to set it as false else true.

Track Your Tag in Google Analytics

Log in to your Google Analytics account and locate the Affiliate Link Clicks event under Behavior > Events > Overview.

Event action will list all the Page URLs for the scroll depths tracking. We have mentioned it in the event parameter under Action.

Similarly, event label will list all the scroll depth values we mentioned in our trigger.

We have four values say, 25%, 50%, 75%, and 100% and each value count as to how many times it is triggered on the website.

Shabbir Bhimani

Blogging Since 2009. If I can leave my high paying C# job in an MNC in the midst of global financial crisis of 2008, anybody can do it. @BizTips I guide programmers and developers to Start and Grow an Online Business. Read more about me here.

Recent Posts

Absolute Beginners Guide to Google Ads

Free Google Ads Tutorial for an absolute beginner covering campaigns and their types, networks, keywords,…

2 years ago

How Freshers Can Make Money Programming in Java

Do you want to make money programming in Java? Here are 6 creative ways for…

3 years ago

Financial Freedom for Freelancers – 9 Smart Ways

9 smart ways for freelancers to achieve financial freedom. First, you have to believe it…

3 years ago

How To Become A Self-Taught Developer

With so many programming languages and resources available, it can be information overall to learn…

3 years ago

Wise Review – Best Exchange Rates For Indian Freelancers

Wise review from an Indian freelancers point of view to receive payments in India. How…

3 years ago

How to Tell a Client you Can’t Lower the Price?

There are 3 types of clients who want you to lower the price. How to…

3 years ago