Set up Scroll Tracking using GTM
In my previous four articles, we have learned how to implement Google Tag Manager, added Google and Facebook Pixel tracking code, Set up conversion tracking. and how to Set up event tracking. Today, I am going to show you how to set up scroll tracking.
What is Scroll Tracking
It is to track how far deep a user scrolls on your site.
What do we need Scroll Tracking?
Base on this information you can plan on how you can optimize for your future content. Is your content too long?
Google Scroll Tracking
- Login to your Google Tab Manager account.
- At the dashboard click on Add a new Tag.
- Name your new tag as Scroll Tracking and after that click on the Tag Configuration.
- Select Universal Analytics.
- Under Track Type, select Event.
- Under Category, give a proper name as it will appear in your Google Analytics. For Action, click on the browse button.
- Select Scroll Depth Threshold.
- Under Action do add a % at the back of the bracket so when the data appear in Google Analytics the % will be shown. Set non-interaction hit to True. Select your Google Analytics ID. Click on the Triggering box.
- Click the add button.
- Give a proper name to your trigger, like Scroll Depth and click the Trigger Configuration box.
- Select Scroll Depth.
- Check the Vertical Scroll Depths. Under Percentages, key in 25,50,75,100. This will track how far deep down the user scroll on a page. I set it to fire on all pages, you can also set it on some pages too. Click Save.
- Click Save again.
- Name this version so you can track what you have done in the future. Click Publish.
How to test
- Visit your site now.
- Login to your Google Analytics account and under Realtime, click Events, you can see the data on the right.
- The next day, go to Behavior –> Events –> Top Events your data from yesterday will be shown there.
- If you want to see each individual pages, under the Secondary Dimension, select pages.
If you like this article do share this with your friends.