What Are Google Analytics Sessions & How Are They Measured?


What Are Sessions in Google Analytics?

Sessions in Google Analytics are a metric that groups a single user’s interactions with your website within a given time period. When a user first lands on your website, they start a session. And Google Analytics records the actions they take during this visit (called “hits”) as part of that session. When the user leaves your site or is inactive for 30 minutes, the session ends. 

Think of sessions as containers for all the actions and activities users perform while on your site.

sessions infographic

GA sessions can be as long as several hours or more. 

A session can contain multiple hits (e.g., page views, button clicks, events, and transactions).

Or it can include only a single page view.

And a single user can record multiple sessions a day. 

Sessions tell you how much time users spend on your site. As well as what they do on your website during that time. 

Google Analytics Users vs. Sessions

In Google Analytics, a user is an individual who visits your website and starts a session.

The users metric records how many individuals visit your site. The sessions metric records how many times those individuals visited your site. 

A single user can record multiple sessions, but a session can’t have multiple users. 

As a result, GA will typically show more sessions than users. Like this:

users and sessions in GA

Google Analytics Sessions vs. Page Views

A page view (or “view” in GA 4) is a single instance of a page on your website being loaded (or reloaded) by a user. 

Typically, a user starts a session with a page view. 

The user can trigger multiple page views during their session as they browse your site. 

A single user can record multiple sessions, and they can log multiple page views during each session. That’s why Google Analytics often shows more page views than sessions. And more sessions than users. 

How Does Google Analytics Track Sessions?

Google Analytics uses cookies to distinguish individual users and track user sessions. 

When a user visits your site, Google Analytics starts a session, sets a cookie on the user’s device, and assigns it a session ID.

As the user interacts with your website, GA tracks the various hits (e.g., page views, clicks, transactions, etc.) and records them as part of the session data. 

When the user leaves your site, or when the session ends, GA records the final session data.

When Will Google Analytics End a Session?

By default, Google Analytics will end a session when a user is inactive for 30 minutes.

If the user comes back after 30 minutes of inactivity, a new session will begin. 

Conversely, if the user comes back before the 30 minutes is up, the original session will resume.

In Google Analytics 4, there is no limit to how long a session can last.

How to Change Session Timeout Settings

You can adjust how long users must be inactive for their sessions to expire in both Universal Analytics and Google Analytics 4.

But before you decide on a new session timeout duration, consider the following: 

  • If your site logs a user out after a defined period of inactivity, consider setting the session timeout to match that length of time.
  • If your site contains a lot of content, users may spend a long time engaging with the content. Consider increasing the session timeout duration.
  • If your website has a small amount of content, consider shortening the session timeout duration.

If you decide to change the timeout settings, keep in mind that the modification will only affect future data. 

Universal Analytics

To change session timeout settings in Universal Analytics:

Select the gear icon labeled “Admin” at the bottom left of your Google Analytics dashboard.

In the “Property” column, select “Tracking Info” and then “Session Settings.”

navigate to session settings

Under “Timeout Handling,” use the drop-down menus to set your desired “Session timeout.”

Click “Apply.”

timeout handling settings

In Universal Analytics, sessions can be as short as one minute or as long as four hours.

Google Analytics 4

To change session timeout settings in Google Analytics 4:

Select the gear icon labeled “Admin” at the bottom left of your dashboard.

In the “Property” column, select “Data Streams.”

navigate to data streams

Select a web data stream. (You should see your website URL here.)

select a web data stream

On the next screen, scroll to the bottom and click “Configure tag settings.”

configure tag settings option

On the next screen, under “Settings,” click “Show all” to reveal more options.

see detailed settings

Click “Adjust session timeout.”

adjust session timeout option highlighted

Use the drop-downs to set your desired session timeout duration. Click “Save.”

save button highlighted

In GA 4, sessions can be as short as five minutes, or as long as seven hours and 55 minutes.

Differences Between Universal Analytics and Google Analytics 4

The number of sessions you see in Universal Analytics and Google Analytics 4 may differ due to the way the respective platforms end sessions.

While both analytics platforms will end a session after 30 minutes of inactivity (by default), Universal Analytics will also automatically end a session at midnight (according to your time zone settings) and start a new one.

Google Analytics 4 won’t start a new session at midnight.

However, if a session goes past midnight, it will be counted once for each day, despite being a single session.

Additionally, in Universal Analytics, if a user picks up new campaign parameters, it will automatically start a new session.

This means that if a user changes their campaign source (e.g., arrives at the site using a different Google search term, an email link, a referral link, a pay-per-click link, etc.), Universal Analytics will create a new session for the user. 

GA 4 doesn’t create a new session when the campaign source changes. 

Lastly, Google Analytics 4 estimates the number of sessions based on the number of session IDs assigned.

Universal Analytics, on the other hand, uses sampling to infer session numbers for larger sets of data. 

This means there may be data discrepancies between the two sets of session data.

Engaged Sessions

Google Analytics 4 also provides a new metric referred to as “engaged sessions.”

Engaged sessions are sessions that last 10 seconds or longer, include one or more conversion events, or include two or more page views. 

The metric is automatically populated, and you can adjust the 10-second threshold up to a minute. 

How to Find Sessions in Google Analytics

You can find session data for your website in both Universal Analytics and Google Analytics 4.

Universal Analytics

To see how many sessions your site got over a given period in Universal Analytics:

In the sidebar menu of the dashboard, select the “Audience” tab.

Then click “Overview.”

In the “Overview” report, Universal Analytics displays the total number of sessions for a given period. 

sessions in overview report

By default, Universal Analytics will provide data for the last seven days.

So you’ll need to adjust the time frame using the “Date Range” feature at the top-right of the page to see more data.

adjust the time frame

You can view data from the first day you set up the tool on your website to the current date.

You can also compare the number of sessions year-over-year or within specific periods. 

Google Analytics 4

To see how many sessions your site got over a given period in Google Analytics 4:

In the sidebar menu of the dashboard, select the “Reports” tab.

Then select the “Acquisition” tab, and click “Traffic acquisition.”

The “Traffic acquisition” dashboard provides session data for the last 28 days by default. 

Use the date range selector in the upper-right corner to see data for your desired time period. 

How to Use Google Analytics Sessions with Semrush

The Organic Traffic Insights tool gathers search data for your domain’s top landing pages into one easy-access dashboard.

Once you connect the tool to Google Analytics, it will display metrics for the top landing pages on your domain.

These metrics include total users, new users, sessions, pages per session, average session duration, bounce rate, and even goal completions. 

Organic Traffic Insights can also provide data on the “not provided” keywords that GA can’t report on. 

Combining data from these powerful sources means access to accurate data that can help you improve your organic search rankings and user experience. 

To use the tool, find Organic Traffic Insights under “Keyword Research” in the sidebar menu:

Organic Traffic Insights

You’ll need to have a project created to use the tool.

If you don’t have a project, set one up by selecting the “Add new project” button at the top right of the screen.

add new project button

Create a new project for your website.

Open the Organic Traffic Insights tool and select “Set up.”

The tool will prompt you to connect your Google Analytics account.

(You can also connect your Google Search Console account for even more valuable insights.)

connect your Google account

Once you’ve set it up, the tool can provide metrics for each of your landing pages.

landing pages metrics

Organic Traffic Insights helps you better understand what is happening on your website. And improve your SEO strategies based on traffic statistics and invaluable keyword data.



Read More

Leave a Reply