Fiddling with real time in Google Analytics 4

Since a couple of weeks ago I started using the real time report in Google Analytics 4. The reason is that just 2 weeks ago the Universal Analytics property with which I measured the activity of my eCommerce stopped processing data (which was due, since July 2023 that had started), and the real time was one of the features that I still used on a daily basis.

So, after processing the scare, I started to explore a bit the options GA4 had available for real time.

Real-time in GA4 and Universal Analytics measures users differently

The first thing to note is that the counting of users in real time is different. While in Universal Analytics an active user is considered to be one who has registered activity in the last 5 minutes, in Google Analytics 4 an active user is considered to be one who has had activity in the last 30 minutes. Therefore, making comparisons of the number of active users between the two tools is not recommended here. In fact, Google added the tag “in the last 5 minutes” in Universal analytics in recent times.

Creating a real-time report in GA4 vs. Universal Analytics

In Google Analytics Universal, you could consult the default real-time report:

Or you could build yourself a custom panel in the Customization section -> Panels:

Even with widgets and a limited set of metrics, dimensions and filters, these reports allowed you to get a quick glimpse of what was happening on the web. For this case, I had the 3 stages to look at:

  1. Where users landed
  2. What products they saw
  3. If orders came in

All this with a counter at the top of each column, a time graph that collected the pages viewed in the last 30 minutes, and some tables to collect source/media and the specific page being viewed. With page filters it actually worked pretty well.

Now, the idea was to try to replicate this in GA4.

Customizing real time in GA4

As far as I have been able to see, I have not seen the option to build a report similar to this in GA4. The most I have been able to do is to customize the standard report that comes. How to do it? Through comparisons.

As in Universal Analytics, the set of dimensions is also reduced. In this case, I used the page URL to make the filters in the widgets, and in GA4 I did not find the dimension. The closest I could find was the page name. For its part, I also did not find a way to filter by event:

Seeing this, I opted for another solution: using audiences.

I couldn’t pull directly from event pages, but I could pull from audiences that had interacted with those pages or events. The key here was to create audiences with a duration of 1 day (the minimum allowed by GA4). For example, to create an audience of users who have placed an order:

And by creating several such audiences for comparisons, we could manage to emulate (and even improve a bit) the Universal Analytics dashboard we had before:

Limitations of this solution

More or less we can already track real time for up to 4 comparisons within GA4. However, there are some limitations to keep in mind:

  • Audiences can give you some false alarms from time to time. For example, when a user places an order, he becomes part of the “Orders – 1 day” audience that we saw in the previous screenshot, but if he logs in again during the same day, you will see his activity under the same audience.
  • The report cannot be saved. If you do not want to have to repeat this whole sequence of steps, what you can do is to use the “share” button and save the generated link within the bookmarks of your browser.
  • The real time update often gives recurring errors. It is very likely that you will encounter a message like this with some frequency and you will have to refresh the report page.

Alternatives?

This is the basic solution I was able to find, do you know any other? I would love to hear about it :)

Outside of GA4, a very good solution is Piwik PRO’s real-time reports, as they offer much more detail than this GA4 functionality.

Leave a Comment