-
Exploring Solutions for Ending Sessions in Google Analytics 4
So, imagine I’m putting together a self-service ticket terminal app for a train station (it’s a web app). I want to use Google Analytics to keep tabs on how users interact with it. Thing is, loads of different people will be using the same device. This means that the reports from Google Analytics aren’t going to show the true number of users. A possible fix could be to reset the GA session each time a user finishes a transaction.
In the past, Universal Analytics supported this with its sessionControl feature. But, I can’t seem to find anything like it with GA4.
I’ve had a go at kick-starting the session_start event to do it manually. It’s popping up on the dashboard but doesn’t seem to have an impact on the internal gtag state. So, all the following events are still linked to the previous session. This means that the “session count” and “engaged sessions count” is still off in the GA dashboard.
Can anyone tell me if there’s a way to manually end a session in GA4? Or, failing that, any other solutions for this particular situation that I could delve into?
Log in to reply.