Understanding how Google Analytics 4 (GA4) tracks sessions is key to making sense of your website data. GA4 tracks sessions differently than Universal Analytics, affecting your reports and insights.
Let’s explore how GA4 defines sessions, how traffic sources influence session tracking and what they mean for your analytics.
What are sessions in GA4?
In GA4, how a session is categorized depends on the origin of the visit. The classification is based on the “source” and “medium” details recorded when someone first accesses your site or app in a new session.
Sessions can be found in GA4 in several different reports, including:
- Acquisition overview report.
- User acquisition report.
- Traffic acquisition report.
- Engagement overview report.
- Demographic details report.
Dig deeper: Tools and resources: Getting started with Google Analytics 4
GA4 vs. UA: Key differences in session tracking
In the old days of Universal Analytics, a new session was triggered when a user first landed on the website and the GA tracking code was activated.
By default, a session ended after 30 minutes of inactivity. Any subsequent actions from the user created a new session. If your website contained videos or content that took longer than 30 minutes to consume, you could adjust the session timeout duration.
A new session was also triggered if the same user took an action on the website that created a new source/medium trigger. This could happen if they left the website and returned through a different source/medium or clicked an internal link with a UTM parameter.
The key difference between UA and GA4, however, is that a session in GA4 has been “simplified.” It still has a default session timeout duration of 30 minutes, but now the session only triggers once.
This change improves data accuracy and makes it easier to understand — but when comparing GA4 data to UA, session counts will differ.
Breaking this down, the following user journey would be reported differently:
- 10:00 a.m.: Bob searches on Google for XYZ and clicks on XYZ.com.
- 10:10 a.m.: After 10 minutes of research, Bob goes back to YouTube and sees a pre-roll ad for XYZ.com with a discount, so he clicks on it.
- 10:17 a.m.: Bob registers on the website and receives a welcome email with a discount code for free shipping, so he clicks on it.
- 10:21 a.m.: Bob checks out.
In Universal Analytics, the three site entries — each from a different source/medium — would have triggered three separate sessions. In GA4, since these actions occurred within the defined 30-minute session window, they would be counted as a single session.
Another key difference between UA and GA4 session windows is that a session would automatically expire at midnight in UA. In GA4, however, a session does not expire at midnight and can carry over into the next day.
This means a single session in GA4 can include multiple traffic sources. This change affects session volumes and can also impact attribution.
Sessions are automatically collected events. Automatically collected events are the most basic type of GA4 events. They are recorded as soon as GA4 tracking is set up on your website or app, providing essential data without manual configuration or additional setup.
Dig deeper: 3 ways GA4 is way better than UA
Users vs. sessions in GA4
In GA4, users and sessions are tracked separately, providing different insights into website activity.
- User: A unique person who engages with your site. GA4 counts them as an active user.
- Session: A series of interactions within a set timeframe. A session starts when a user first visits and ends when they leave or become inactive.
This means one user can have multiple sessions. If the same person visits your website twice in one calendar day, GA4 records them as one user but two sessions.
What is the difference between ‘engaged sessions’ and ‘engaged sessions per user’?
This is a common question asked by clients who are used to Universal Analytics reporting metrics and calculations.
An engaged session is defined as a session that meets at least one of the following criteria:
- Lasts a minimum of 10 seconds.
- Includes one or more conversion events.
- Registers two or more pageviews or screenviews.
Engaged sessions per user is the total number of engaged sessions divided by the number of users.
This metric appears in the Traffic Acquisition report alongside average engagement time per session and session engagement rate.
Engagement rate is best used alongside key event tracking and other soft and hard metrics to assess session quality on key pages.
Understanding scopes
Every GA4 dimension and metric has a specific scope. For example, the “first user default channel group” dimension has a user scope, while the “source/medium” dimension has an event scope. Combining dimensions with different scopes can create data mismatches and misleading conclusions.
To avoid errors, pair “first user default channel group” with “first user source/medium,” as both share the same user scope.
- User-scoped dimensions (e.g., first user default channel group, first user source/medium) aggregate data across all sessions for a user, offering a broader view of long-term engagement.
- Session-scoped metrics (e.g., sessions) focus on individual session interactions rather than the user.
For accurate insights:
- Use user-scoped dimensions to analyze long-term user behavior.
- Use session-scoped metrics to assess individual session performance.
Understanding session scope dimensions
Session scope dimensions help businesses track user behavior and measure marketing performance. They distinguish between new and returning visitors and help analyze the effectiveness of marketing strategies.
Standard session scope dimensions include:
- Session default channel grouping: Categorizes traffic by the channel that initiated a session. Helps marketers understand which sources drive the most engagement.
- Session medium: Identifies the marketing channel that started a session, such as organic search, CPC (cost per click), or social media. Helps refine marketing strategies.
- Session source: Indicates the specific website or platform that referred a user to the site. Helps determine which sources drive the most valuable traffic.
- Session campaign: Tracks the marketing campaign that led a user to the site. Helps businesses measure and optimize campaign effectiveness.
Deeper insights
Understanding how GA4 tracks sessions is essential for accurate reporting and analysis. With its simplified session model, GA4 provides a clearer picture of user behavior, though it differs from Universal Analytics.
By using session data effectively, you can gain deeper insights into traffic sources, engagement and attribution — helping you make more informed marketing decisions.
Dig deeper: How to resolve unassigned traffic in GA4
Contributing authors are invited to create content for MarTech and are chosen for their expertise and contribution to the martech community. Our contributors work under the oversight of the editorial staff and contributions are checked for quality and relevance to our readers. The opinions they express are their own.