Having trouble migrating from Universal Analytics to GA4? Lets make a smooth transition

A Comprehensive Guide to Customer Acquisition Costs

How to Track Scroll Percentage in GA4

Piyush Gupta
Reading Time: 5 minutes
Scroll tracking in Google analytics 4

Are you using Google Analytics 4 to track your website’s performance and engagement? If so, you may already know that the default ‘scroll’ enhanced measurement event only registers when a visitor achieves a scroll depth of 90%. But what if you want to track more precise scroll activity, such as 25%, 50%, or 75%? In this blog, we’ll show you how to set up advanced scroll tracking in Google Tag Manager with a GA4 custom event. We’ll walk you through the necessary steps to create a scroll depth trigger, a GA4 event tag, and a custom dimension in GA4. With this advanced tracking, you can gain valuable insights into how visitors are engaging with your website’s content and identify potential issues. Let’s get started!

Steps to create custom event in GA4

You can create custom events in GA4 without the help of Google Tag Manager, but for most custom events, you will need to create a GA4 event tag in GTM and pair it up with a proper trigger. Here are the steps involved in the process:

  1. Install Google Tag Manager container code on your website if you don’t have it already.
  2. Set up your GA4 Configuration tag within your GTM container code.
  3. Create a scroll depth trigger that includes the specific vertical scroll depth percentages that you want to track.

To create a scroll depth trigger, you need to select the “Scroll Depth” trigger type and specify the percentages you want to track. You can also specify whether the trigger fires on all pages or only on some pages.

  1. Create a GA4 event tag with the “scroll_depth” event parameter to send your scroll depth percentage information to GA4.

To create a GA4 event tag, select the “GA4 Event” tag type and associate it with your GA4 property. Set the event name and parameter using the variable {{Scroll Depth Threshold}} to pull in the vertical scroll depths you selected in configuring your trigger.

Note: You should include the vertical scroll depths you chose when designing your trigger, you should define an event parameter using the variable “Scroll Depth Threshold.” Remember that you have to set up your built-in variable for this if you haven’t already.

  1. Pair your GA4 event tag with your scroll depth trigger.
  1. Test to confirm everything is working as expected and publish your GTM container to make your tag and trigger live.
  2. Register a custom dimension in GA4 for your scroll_depth event parameter.
  3. Turn off the enhanced measurement event in the GA4 interface for scroll tracking to prevent duplication in your data.

In conclusion, Scroll tracking is a useful event that can provide you with valuable insights into your website’s user engagement and behavior. By using scroll tracking, you can identify areas where users are dropping off and optimize your content to keep them engaged. Additionally, you can use scroll tracking to test different website layouts and design elements to see what is most effective in keeping users scrolling and interacting with your site.

Data analysis plays a critical role in modern business decision-making, and utilizing the right tools can make all the difference. EasyInsights is an excellent option for businesses looking for an easy-to-use yet powerful data analysis platform. With its intuitive interface, powerful analytics features, and customizable dashboards, EasyInsights.ai is a valuable tool for any business looking to extract insights from their data quickly.

A brief Introduction About EasyInsights

As a marketer you may need to import data from various ad platforms to create a comprehensive marketing report. Investing countless hours each day to collect and maintain data in a Postgres database is a tedious and time-consuming task that results in unnoticeable errors. Logging in to multiple platforms and exporting, transforming, and uploading data to BI tools consumes more than 40% of marketers’ time. 

This is where a tool like EasyInsights can help! EasyInsights’ allows you to fully automate and secure data transfers from any source without having to rewrite the code. It allows you to not only export and load data but also transform and enrich it so that it is ready for analysis. Although you can manually connect the tools, EasyInsights makes it easier to use any BI tool by allowing you to pull data from various data sources and integration tools.

You can connect all your data sources to EasyInsights with a few clicks, and access your transformed business ready data in any BI tool in a flash.

Benefits Of Using EasyInsights

  • Completely automated: The EasyInsights platform is simple to set up and requires little maintenance.
  • Real-time Data Transfer: EasyInsights offers real-time data migration so that you always have analysis-ready data.
  • 100% Complete & Accurate Data Transfer: EasyInsight’s robust infrastructure ensures dependable data transfer with no data loss.
  • Scalability: EasyInsights has built-in integrations from all the popular marketing data sources, allowing you to scale your data infrastructure as needed.
  • Generate Insightful reports: EasyInsights helps in generating useful reports. Use reports on Google Sheets to make faster data decisions, or consume it from your inbox.

Book a demo to try EasyInsights Now! Automate your daily reports and dashboards with in a flash.

Site Footer