In this article, we’ll show you how to track scrolling in WordPress using Google Analytics
Why track user scrolling in WordPress?
Scrolling means scrolling down a web page. Tracking scrolling depth is an important indicator of user engagement. It will provide information on how users interact with site elements to view content.
For example, using tracking scrolling, you can find out the depth of viewing content, what kind of long materials users like, etc.
1. Tracking scrolling depth using Google Analytics
Google Analytics is a free web analytics service from Google that allows you to better understand site visitors. By default, Google Analytics monitors the total number of page views, the number of visitors, top pages, and others.
For advanced metrics such as scrolling depth, contact forms, file downloads, event tracking, Google Analytics requires user tracking settings.
But this is a rather complicated process. Fortunately, there are WordPress plugins that let you track advanced Google Analytics metrics like scrolling depth.
Track WordPress Scrolling Depths with MonsterInsights
The MonsterInsights plugin launches the following Google Analytics metrics in one click: e-commerce tracking, file downloads, affiliate links, contact forms, scrolling depth and many others. Scrolling depth tracking is activated by default in the plugin.
Activate and install the plugin. After that, go to the Insights »Preferences page and select the Engagement tab. Scrolling tracking is enabled by default.
The MonsterInsights plugin fires events in Google Analytics when site visitors scroll down the page. Then Google Analytics tracks 25%, 50%, 75% and 100% scroll.
In the WordPress admin dashboard, you can view scrolling statistics ( Insights »Reports» Publishers). View depth information is displayed next to the Interests section.
Scrolling depth information can be used to optimize pages for maximum conversion.
View scrolling data in Google Analytics
Once the tracking has been configured in the MonsterInsights plugin, scrolling reports will start showing up in Google Analytics.
In Google Analytics, go to the ” Real-time Report” – “Events” section to view scrolling information for the last 30 minutes.
For complete information, go to the tab “ Behavior” – “Events” – “Overview”.
To view detailed information, click on the “Scrolling Depth” link.
For more detailed information, use the Google Analytics “Advanced Options” function, a link to which is located next to the “Scrolling Depth” event. Here you can see the scrolling data for each individual page.
2. Tracking scrolling using the WP Scroll Depth plugin
If you do not need a comprehensive solution for Google Analytics, you can use the WP Scroll Depth plugin.
After activating the plugin, go to the ” Settings” – “Scrolling Depth” section to configure tracking parameters.
By default, the depth of scrolling will be tracked on all pages of the site. For this, WP Scroll Depth uses jQuery.
This plugin controls four scrolling points: 25%, 50%, 75% and 100% of the page height. When the user reaches the scrolling point, the plugin sends the event to Google Analytics using jQuery.
After that, you can view data about the “Scrolling Depth” event on the “ Real-time Report” – “Event” tab in the Google Analytics toolbar.
We hope this article helped you learn how to track the depth of scrolling on a WordPress site using Google Analytics.