Tracking Page Load Time in GA4 Using GTM

Learn how to track page load time in GA4 with ease!

As you may know, Google Analytics 4 (GA4) does not provide built-in page load time metrics. However, for website owners, the speed at which web pages load is crucial for optimizing performance and improving the user experience.

In this article, we will explore how to track page load time in GA4 using Google Tag Manager.To begin, make sure that you have a Google Tag installed in your Google Tag Manager container. The Google Tag (previously GA4 configuration tag) is essential for sending page load time data to GA4.

If you don't have one, you can refer to a Beginner's Tutorial: How to Set Up Google Analytics 4 Using Google Tag Manager to set it up.

Here are the steps:

How to Register Custom Event Metrics in GA4

Now let's register our 'loading_time_sec' parameter in GA4. Here are the steps:

By following the above steps, you will be able to use the metric in various reports , including exploration reports.

You will now be able to gain comprehensive insights into the loading speed of your web pages and accurately track and measure the page load time metric!

Table Of Contents