Posted on

Calculated metrics in GA4

TLDR – they don’t exist in the reports, either the standard or the explore.

asked on a Facebook GA4 group. 22/01/2023

I was doing a report for a client the other day and he wanted page load time by continent as a report. This is not something you can do without extra code.

Its not too difficult though, just a bit of javascript in tag manager. The problem comes when reporting it. In the regular reports, you can’t actually view by continent so you have to do an explore report.

I get something like that for the month. Thats the total load time, by the total number of views. What would be handy is if you can create a calculated metric that would give you the average page load time. Its easy enough in Excel. You can export the report to csv and calculate it

It would be well handy to be able to create a new field as a calculated metric but at the time of writing its not possible. There was something in Universal Google Analytics but not in Google Analytics 4.

Looker Studio

The other way to do it would be to connect to Looker studio and perform the calculation there. For advanced users though, the explore reports offer the best experience when trying to get insights from your data so it would be handy to have them there.

Maybe they will implement it

Features keep getting released though, so hopefully its in the works but for now, its either export to csv or Looker studio.

Leave a Reply

Your email address will not be published. Required fields are marked *