What are Sessions in Google Analytics?

A Session in Google Analytics is a visit to your website/app. Sessions in Google Analytics are the total number of visits to your site. A session begins when a visitor lands on your site, includes all engagements and conversions occurring during the visit and ends when that visitor leaves your site.

This article will go a lot more in-depth on sessions, and how you can make the most of your data.

what starts a session in google analytics

What Starts A Session?

While there are more advanced definitions, to keep things simple – a session starts when the visitor lands on your website. This triggers the Google Analytics code to fire, registering the session’s hit inside of GA.

Google Analytics Sessions can also restart, although this is technically due to a session ending abruptly and another session starting in its place. There are 2 main causes of this:

  • Campaign Changes:
    • When a session begins, it’s associated with a source, medium, and campaign relating to that session. If that campaign data is replaced, it will end the current session and restart a new one.
    • The most common cause I see causing this to happen relates to using UTM Parameters (campaign tracking tags) on internal links. In short, do not use UTMs on your site for links pointing inside your site.
    • Another potential cause is visitors clicking an ad or link to your site while they are currently on your site. ex (a visitor keeps your site open, navigates to their email in another tab, and then clicks a link to your site). For the same reason to UTMs, this updates the campaign tag and cause the session to end/restart.
  • 2 Day Sessions:
    • If a visitor is on your website around midnight, the session will end at midnight and another will restart immediately. This is based on the Time Zone set in your Google Analytics Settings and does not factor in the Time Zone of the user and/or company.

How Long Do Sessions Last?

The length of a session is the time between the first and last Google Analytics hits, which include page views, events, and transactions. Sessions will automatically end after 30 minutes of inactivity, so the session will continue as long as hits are being sent.

Single hit sessions, such as when a visitor lands on the site and leaves before clicking to another page or firing an event, have a session length of 0 seconds. Without a first and last hit, there is no session duration passed. Events using a timer trigger can be used to more accurately capture a visitor’s time on site.

The Average Session Duration calculation ignores these 0-second hits, meaning bounces do not skew this number. However, this also means you’re only looking at sessions with 2 or more hits, which isn’t a true representation of all the visitors to your site.

What Ends A Session?

There are 3 different reasons a Google Analytics Session will end, including 30 minutes of inactivity, the day changes at midnight in the website’s timezone, and a campaign changing.

  1. 30 Minutes Of Inactivity:
    • By default, Google Analytics will end sessions after 30 minutes of inactivity. This can be changed in the Property Settings and set anywhere from 1 minute to 4 hours. If you have a site where it’s normal for visitors to go idle for a while, such as a video site – you may want to lengthen the default window.
  2. Midnight:
    • Sessions will end at midnight, and will automatically restart at 12:01:01. This is based on the Time Zone set in Google Analytics and not that of the user.
  3. Campaign Changes:
    • As discussed in the “what starts a session,” when the campaign data for a current session is replaced, it will end that current session abruptly.

What Metrics Are Related To Sessions?

While sessions are one of the main metrics in Google Analytics, the number of sessions is used when calculating some of the key engagement and conversion metrics in the platform. This section provides more detail on those metrics, including what they mean and the formulas for calculating.

Sessions Per User:

Sessions Per User is the average number of visits per visitor within the given time period. Sessions Per User is calculated by taking the total number of sessions and dividing it by the total number of users.

ex. If a website had 4,000 Sessions from 2,000 Users, the Avg. Sessions Per User would be 2.0.

% of New Sessions

The % of New Sessions is the percent of visits on the site that came from first-time visitors. Google Analytics is able to tell repeat visitors by a cookie stored on their browser during their first visit.

ex. If a site had 500 sessions from new visitors and 2,000 total sessions, the % of New Sessions would be 25%.

Bounce Rate

A bounce is a session in which a single page was viewed, meaning the visitor landed on the site and exited before viewing another page (or event). The Bounce Rate is the percent of sessions that resulted in a bounce, meaning X% of sessions were only single-page visits.

ex. If a website had 50 bounces out of 250 sessions, the bounce rate would be 20%.

Ecommerce & Goal Conversion Rate

The Conversion Rate is the percent of sessions that resulted in a conversion. The Ecommerce conversion rate relates to transactions, and the goal conversion rate relates to goals. Conversion rates can be viewed by individual conversions or by a sum of all goals.

ex. If a site had 5 Transactions and 100 Sessions, the eCommerce Conversion Rate would be 5%.

Pages Per Session

Pages Per Session calculates the average number of pages viewed during a visit (session) on the site.

Ex. If a website had 100 Sessions with 400 Total Page Views, the Pages Per Session would be 4.0.

Most Common Questions About Sessions

How To Find Sessions In Google Analytics:

Sessions By Channel

To view Sessions By Channel, navigate to Acquisition > All Traffic > Channels

sessions by channel breakout
Click into the Channels in the first column, and you’ll see more detailed information about the traffic.

Sessions By Location

To view Sessions By Location, navigate to Audience > Geo > Location

sessions by country
Click into the countries to view sessions by Region, Metro, and City.

Sessions By Device

To view Sessions By Device, navigate to Audience > Mobile > Overview

sessions by device
Click on the Audience > Mobile > Devices for more detailed information on your traffic.

Sessions By Landing Page

To view Sessions By Landing Page, navigate to Behavior > Site Content > Landing Pages

sessions by landing page
Compare the key metrics by the landing page, as engagement/conversion metrics may vary greatly.

Sessions By New vs Returning Visitors

To find Sessions By User Type, navigate to Audience > Behavior > New vs Returning

Add a secondary dimension to further break out visitors beyond new and returning.

Sessions By Time Of Day

If you navigate to Home, you’ll see a chart that includes Users By Time of day. This is helpful, but it may not line up perfectly with Sessions. In most of the Analytics reports, you can add “hour” as a secondary dimension, which allows you to export and pivot sessions around the time of the day. But not really the cleanest process.

The best way I’ve found is to create a custom report. Simply click the link below and select your Google Analytics View from the drop-down list that appears. You’ll now find your Sessions By Time Of Day report when you navigate to Customization > Custom Reports.

https://analytics.google.com/analytics/web/template?uid=qoWFvLJyTNGrc17acIS6Lw

Click the link above to access this ‘time of day’ report in your own Google Analytics.

What’s Next?

That’s everything I have on sessions for now, and I hope it’s everything you wanted to know – and more! Reach out with any questions, help me find any mistakes, and let me know if I should expand on anything. Thanks again!