Here’s an interesting question I received from an analyst:
Question: Do you know how Google Analytics handles browser tabbing when it comes to reporting on time spent per page? I know how they treat multiple open tabs from a site as a single visit/visitor, but how do they calculate time per page? If I have bunch of tabs open at the same time but only interact with one of them, or jump from one to the other while all tabs are open? or have a tab which is not from the same site and I go back and forth between those tabs?
Answer: First, you are right about the single visit/visitor aspect. Google Analytics as absolutely no clue about the fact you are using multiple tabs* (and of course, if some of the tabs are pointing to other sites). As long as the session is alive – by default 30 minutes between two web analytics “hits” – the session is still alive. The default session length can be changed with _setSessionCookieTimeout.
Time on page is calculated by taking the time stamp between Google Analytics calls (or “hits”). I don’t have visibility over the specific algorithm but here’s what I think is happening:
The conclusion is tabbed browsing doesn’t affect time on site or time on page calculation.
Wondering what will be time on site? Simply T4-T1. The time on B2 isn’t included in the calculation.
*But… some web analytics tools actually use the onUnload or onMouseOut standard events to collect information about lost focus on a page. In that case, the calculation of time on page (and on site) can be more precise and actually acount for the time where the focus is on another tab.
Makes sense?
Update: a reader went to the extent of creating a real test and came to the conclusion that in fact, GA doesn’t account for time browsing at all, so time on page A1 is calculated as T2-T1, B1 is T3-T2, and time on page A2 is calculated as T4-T3. You can read the post (in French) here.
As consumers become increasingly digitally savvy, and more and more brand touchpoints take place online,…
Marketers are on a constant journey to optimize the efficiency of paid search advertising. In…
Unassigned traffic in Google Analytics 4 (GA4) can be frustrating for data analysts to deal…
This website uses cookies.