Understanding Google Analytics 4 Sessions

Last Updated: December 6, 2024

The best way to understand Google Analytics 4 sessions is to compare them with Universal Analytics (GA3) sessions.

Key differences between GA3 (Universal Analytics) and GA4 sessions:

#1 In GA3, a session is a group of hits recorded for a user in a given time period. Whereas in GA4, a session is a group of events recorded for a user in a given time period.

#2 Both GA3 and GA4 define a user as an individual who performs actions on your website or mobile app in one or more sessions.

These actions could be like viewing a page, scrolling a page, clicking on add to cart button, making a purchase etc.

#3 A user can generate one or more sessions in a single day or over several days, weeks, or even months. As a result, the session counts in your GA3/GA4 property are likely to be higher than the user counts.

Note: Unlike in GA3, the user activity is detected automatically in GA4. This may lead to higher active user counts for GA4.

#4 Both GA3 and GA4 sessions can be categorized into app sessions and web sessions.

#5 A web session in both GA3 and GA4 starts as soon as a user views a page and no previous session is currently active.

#6 An app session in both GA3 and GA4 start when a user either opens your app in the foreground or views a screen, and no previous session is currently active.

#7 Since a GA3 session starts as soon as a user views a page/screen, the GA3 session is almost always a session with a pageview/screen view.

Whereas a GA4 session can start with or without a pageview/screenview.

For example, a GA4 session can start with user engagement. So you could end up with views or user engagements with no sessions.

Consider the following scenario:

A user landed on your website but immediately navigated to another browser tab. After a couple of hours, he returned to your website, consumed the content, and then closed the tab.

In this scenario, GA3 will likely count only one session with a pageview.

But GA4 would count two sessions. One session with pageviews and one session with user engagement.

The session with user engagement started when the user returned to your website hours later and started consuming content.

As a result, GA4 sessions do not accurately reflect user engagement, and you would be better off focusing on users and events.

#8 The duration of a GA3 session is calculated as the time elapsed between the first and last hit in the session. Whereas the duration of a GA4 session is calculated as the time elapsed between the first and last event in the session.

#9 By default, a GA3 session expires if no new hit is sent to the GA server within 30 minutes from when the last hit was sent. This period of no new hit sent is called ‘user inactivity’.

Similarly, by default, a GA4 session expires if no new event is sent to the GA server within 30 minutes from the time when the last event was sent.

#10 By default, a GA3 web session expires after 30 minutes of users’ inactivity. However, you can change this setting by changing the session timeout settings in your GA3 property.

For example, you can make a GA3 web session expire after 3 minutes of users’ inactivity or after 3 hours of users’ inactivity.

ga3 session timeout

By default, a GA4 web session expires after 30 minutes of users’ inactivity.

However, you can change this setting by changing the session timeout settings in your GA4 property.

For example, you can make a GA4 web session expire after 10 minutes of users’ inactivity or after 5 hours of users’ inactivity:

adjust session timeout ga4 1

#11 A GA3 session timeout can not be less than 1 minute or greater than 4 hours. Whereas a GA4 session timeout can not be less than 5 minutes or greater than 7 hours and 55 minutes.

#12 Unlike GA3, A GA4 session begins to time out when a website or app is moved to the background. However, you have the option to extend that session.

#13 A GA3 session expires if a user returns to your website via a different campaign source in the middle of the active session.

The campaign source could be search engines, referring websites, and URLs with campaign parameters.

Every time a campaign source is changed in the middle of an active session, the existing GA3 session expires, and a new GA3 session starts.

Whereas the GA4 session does NOT expire if a user returns to your website via a different campaign source in the middle of an active session.

As a result, the session counts in your GA4 property could be lower than the session counts in your GA3 property.

And you could also see a single GA4 session from multiple traffic sources.

#14 A GA3 session automatically expires at midnight (11:59:59 pm).

For example, if a user has been browsing your website since 11:45 pm, his session will automatically terminate at 11:59:59 pm even if he continues to engage with your website. At midnight a new GA3 session will start for your user.

Whereas a GA4 session does NOT automatically expire at midnight (11:59:59 pm). However, the same GA4 session would now be counted twice, once for each day.

#15 Unlike in GA3, the GA4 property reports on ‘Engaged Sessions’ and ‘Engaged Sessions Per user’.

‘Engaged Sessions and ‘Engaged Sessions Per user

GA4 defines an ‘engaged session’ as the one that:

  1. Lasted 10 seconds or longer or
  2. Had one or more conversion events fired or
  3. Had two or more pageviews or screenviews.

GA4 defines ‘engaged sessions per user’ as the number of engaged sessions / the number of users

#16 GA3 counts sessions by counting the sessions metric. Whereas GA4 counts sessions by counting session_start events.

#17 The session count of GA3 and GA4 are unlikely to match as they are calculated and adjusted differently.

How to adjust the web session timeout in GA4?

Follow the steps below:

Step-1: Navigate to your GA4 property and then click on the ‘Admin’:

ga4 admin 2

Step-2: Click on ‘Data Streams’ under ‘Data Collection and modification‘:

ga4 data streams 1

Step-3: Click on the name of the web data stream whose web session you want to configure:

click ga4 data stream you want to conifgure

Step-4: Scroll all the way down and then click on the ‘Configure tag settings’ link:

configure tag settings ga4

Step-5: Scroll down and click on the ‘Show more‘ drop-down menu:

click on the Show more drop down menu

Step-6: Scroll down and click on ‘Adjust Session timeout’:

‘Adjust Session timeout

You should now see a screen like the one below:

Adjust Session timeout ga4 2

Step-7: Set the session timeout to 7 hours and 55 minutes:

Set Adjust Session timeout ga4

Step-8: Adjust the timer for ‘engaged sessions

You can adjust the time by selecting the number of seconds it should take for a GA4 session to be considered an ‘engaged session’:

Adjust the timer for ‘engaged sessions

Step-9: Click on the ‘Save’ button:

save Adjust the timer for ‘engaged sessions

Where to see the Sessions metrics in GA4?

You can see the various sessions metrics in the following GA4 reports:

#1 Acquisition overview report

Acquisition overview report ga4

#2 User acquisition report

User acquisition report ga4

#3 Traffic acquisition report

Traffic acquisition report ga4

#4 Engagement overview report

Engagement overview report ga4

#5 Demographic details report

Demographic details report ga4

#6 Tech details report

Tech details report ga4

My best selling books on Digital Analytics and Conversion Optimization

Maths and Stats for Web Analytics and Conversion Optimization
This expert guide will teach you how to leverage the knowledge of maths and statistics in order to accurately interpret data and take actions, which can quickly improve the bottom-line of your online business.

Master the Essentials of Email Marketing Analytics
This book focuses solely on the ‘analytics’ that power your email marketing optimization program and will help you dramatically reduce your cost per acquisition and increase marketing ROI by tracking the performance of the various KPIs and metrics used for email marketing.

Attribution Modelling in Google Analytics and BeyondSECOND EDITION OUT NOW!
Attribution modelling is the process of determining the most effective marketing channels for investment. This book has been written to help you implement attribution modelling. It will teach you how to leverage the knowledge of attribution modelling in order to allocate marketing budget and understand buying behaviour.

Attribution Modelling in Google Ads and Facebook
This book has been written to help you implement attribution modelling in Google Ads (Google AdWords) and Facebook. It will teach you, how to leverage the knowledge of attribution modelling in order to understand the customer purchasing journey and determine the most effective marketing channels for investment.

About the Author

Himanshu Sharma

  • Founder, OptimizeSmart.com
  • Over 15 years of experience in digital analytics and marketing
  • Author of four best-selling books on digital analytics and conversion optimization
  • Nominated for Digital Analytics Association Awards for Excellence
  • Runs one of the most popular blogs in the world on digital analytics
  • Consultant to countless small and big businesses over the decade

Free GA4 Mastery Course (30 Days Access) – Certification Upon Completion! (Over 4000 Students)

X