How are session durations calculated in Google Analytics?

Asked 2 years ago

Could someone explain the method that GA uses to track the duration of a session? What marks the start and endpoint of that session?

Session duration
Google analytics metrics
Google analytics

Sincere Hebert

Thursday, November 25, 2021

Session means any activity that involves a user visiting your website. It begins when a viewer opens your page, and leaving the website or an inactivity period of thirty minutes marks the end of that session. A session can comprise multiple PageViews.

Google Analytics uses the following formula to calculate average session durations:

Average Session Duration = Total time (in seconds) of all GA sessions at a specific time-frame / Total number of GA sessions at the same timeline

Jaxson Booth

Tuesday, April 26, 2022

First, we need to know what is a new session in google analytics. A session is a group of users' interaction with your website for a specified duration. As soon as one session ends, the new one begins. There are two ways in which a session ends, and a new one begins:

  1. Time-based Expiration: Here, a session usually ends after 30 minutes of inactivity. However, the time frame can be adjusted in Google analytics. When a user lands on your website, and for 30 minutes, there is no activity, the session automatically ends. After this timeframe, a new session starts in Google Analytics.
  2. Campaign-based Expiration: In campaign-based expiration, the session ends if there is a change in the user's campaign source.

Write an answer...


Please follow our  Community Guidelines

Can't find what you're looking for?