GA4 Session-scoped dimensions explained

Do you want expert help in setting up/fixing GA4 and GTM?

If you are not sure whether your GA4 property is setup correctly or you want expert help migrating to GA4 then contact us. We can fix your website tracking issues.

What is the Session Scope?

Session-scope means the value of the dimension is calculated and sent once for each session

This means that each time a user starts a new session, the session-scoped dimensions are recalculated based on the context of that particular session.

What is the GA4 Session-scoped dimension?

GA4 Session-scoped dimensions provide insights into where both new and returning users are coming from when they start new sessions, such as the source and medium through which the user arrived during that session.

Session-scoped dimensions in GA4 primarily capture information specific to the current session, not necessarily across all sessions or user journeys. They provide context about the user’s interaction within that specific visit.

Do you want expert help in setting up/fixing GA4 and GTM?

If you are not sure whether your GA4 property is setup correctly or you want expert help migrating to GA4 then contact us. We can fix your website tracking issues.

Example:

Dimension: Session source/medium

Value: “google / organic” (for the first session), “direct / (none)” (for the second session)

If a user first visits your website through an organic search on Google, the “Session source/medium” dimension will be set to “google / organic” for that session. 

If the same user returns to your website directly (by typing the URL into the browser) in a subsequent session, the “Session source/medium” dimension will be updated to “direct / (none)” for that session.

However, if the user first visits your website through an organic search on Google and then returns to your website directly midway through the session, the “Session source/medium” dimension will remain  “google / organic” 

Note: GA4 does not start a new session if the traffic source, medium, or campaign changes mid-session. 

Importance of Session-scoped dimensions

Session-scoped dimensions help analyse how users interact with your website or app during specific sessions, which can be useful for:

  1. Traffic Analysis: Understanding where users are coming from during each session.
  2. Behavior Analysis: Analyzing user behaviour within specific sessions to identify patterns or issues.
  3. Conversion Tracking: Tracking conversions and key events within individual sessions.

GA4 Built-in session-scoped dimensions

GA4 has only one category of session-scoped dimensions called the GA4 Built-in session-scoped dimensions. 

These are ready-to-use dimensions available in the GA4 reporting interface or data API.

The following table provides a brief description of the various GA4 Built-in session-scoped dimensions:

GA4 Built-in session-scoped dimensionsDescription
Session campaignThe name of the marketing campaign that brought the user to the session.
Session campaign IDThe unique identifier of the marketing campaign that brought the user to the session.
Session default channel groupThe default grouping of channels (e.g., Organic Search, Paid Search) that referred the session.
Session mediumThe type of marketing channel (e.g., email, social) that referred the session.
Session primary channel group (GA4 demo)The main channel group referring the session (specific to the GA4 demo account).
Session sourceThe website or platform (e.g., google.com, facebook.com) that referred the session.
Session source / mediumThe combination of the referring website and marketing channel for the session.
Session source platformThe platform (e.g., web, iOS, Android) that referred the session.

Note: In GA4, you can not create custom session-scoped dimensions. GA4 supports three scopes for custom dimensions: event scope, user scope, and item scope.

How to identify session-scoped dimensions in GA4?

Session-scoped dimensions are always prefixed with ‘Session’ (like ‘Session source/medium’).

That’s how you can easily spot them:

Session scoped dimensions are always prefixed with ‘Session

Example of GA4 Session-Scoped Dimension: Session source/medium

Unlike the ‘First User source/medium’ (user-scoped dimension), the ‘Session source/medium dimension’ in GA4 captures each user session’s traffic source and medium.

This means it can change depending on how a user finds your website or app within a particular session.

When combined with various metrics, the “Session source/medium” dimension can offer valuable insights into user acquisition channels, campaign performance, user journey within a session, content and marketing optimisation, and user engagement levels for different traffic sources.

For example, consider the following data table:

consider the following data table 2

We can draw the following conclusions from this data table:

#1 Organic Search (google / organic) drives a significant number of sessions (5,000), suggesting it’s a strong acquisition channel.

#2 The high bounce rate for Facebook social traffic (40%) might indicate a content mismatch between social media ads and landing pages.

#3 Users with direct traffic have the longest session duration and most pageviews, indicating familiarity and deeper exploration within the session.

#4 While driving a smaller audience (500 sessions), ‘Email Marketing (newsletter/email)’ users show high engagement with more ‘pageviews per session’, suggesting they navigate through more content after arriving via an email newsletter. The email traffic also resulted in the highest ‘add to carts’ (400), indicating this channel is most effective at driving users towards the purchase intent stage.

GA4 Session-scoped dimensions vs Attribution

GA4 assigns conversion credit for session-scoped dimensions using the ‘paid and organic channels last-click attribution model’. 

This model attributes the conversion to the last non-direct click from paid or organic channels before the conversion event.

Consider the following user journey:

Session 1 (facebook / referral): A user clicks on a link shared in a Facebook post and browses your website for a while but doesn’t make a purchase (Session source/medium: “facebook / referral”).

Session 2 (google / organic): Later in the day, the user performs a Google search for your brand and clicks on an organic search result, leading them back to your website (Session source/medium: “google / organic”). This time, they complete a purchase.

In this case, the conversion (purchase) would be attributed to “google / organic” since it was the last non-direct click before the conversion event, even though the Facebook post sparked the user’s initial interest.

However, it is important to clarify that session-scoped dimensions themselves do not use a ‘paid and organic channels last-click attribution model’. 

This is because the values of session-scoped dimensions do not change based on user behaviour or the attribution model you choose. They are calculated and sent once per session.

Session-scoped dimensions in GA4 function entirely separately from attribution models.

Session-scoped dimensions are unaffected by changes to the reporting attribution model (you select under Data Display > Attribution Settings):

reporting attribution model ga4 2

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