Skip to content

Traffic

What is a session in web analytics? Timeouts and why tools disagree

A session is one visit: activity until a timeout, and sometimes until a new campaign. Why tools disagree, with an example against users and pageviews.

The CrispStats team · · 10 min read

In short

A session is one visit: the pageviews and events from one visitor, grouped until the tool decides the visit is over. The usual end is 30 minutes without activity. Some tools also start a fresh session when a new campaign or referrer arrives, and Google Analytics 4 does not. That rule, plus the timeout, is why two reports can count the same afternoon as two sessions or three. Sessions measure how often people came. Users measure how many browsers came. Pageviews measure how many pages were shown.

Sessions sit underneath bounce rate, pages per session and many conversion rates. Change the session rule and those rates change, even when the clicks did not. This guide is the timeout, the campaign reset, and one afternoon counted both ways.

What is a session in web analytics?

A session is one visit: the pageviews and events from one visitor, grouped together until the visit is defined as over.

Someone opens your docs, reads two pages, and leaves. That is one session. They come back after dinner and read a third page. That is a second session, from the same person if the tool can still recognise the browser. The word visit means the same thing in most products. Google’s help page About Analytics sessions uses the same idea for GA4: a period of time during which a user interacts with your website or app. A session starts when they view a page or screen and no session is currently active.

Without that grouping, ten page loads could be ten people or one person walking a guide. With it, entry page, exit page and bounce rate have something to attach to. Visitors, pageviews and sessions compares the three counts. A session sits between a person and a page.

When does a session time out?

A session times out after a stretch of inactivity, 30 minutes by default in Google Analytics and in many other tools.

Inactivity means the tool received nothing new: no pageview, no event. The visitor can still have the tab open. Analytics cannot see a tab close in any reliable way, so the clock is a convention. Google’s sessions page says a session ends after 30 minutes of inactivity by default, and that there is no limit to how long a session can last if activity keeps arriving. The same page explains how to change the web timeout. A separate metrics page, Session, puts the maximum you can set at 7 hours and 55 minutes.

The 30 minutes is a cut point, not a claim about attention. Shorten it and a coffee break becomes a new session. Lengthen it and two arrivals an hour apart become one. Every rate on the dashboard inherits whichever cut you chose.

Does a new campaign start a new session?

Some tools start a new session when a new campaign or referrer arrives. Google Analytics 4 does not.

Universal Analytics had three ways for a session to end. Google’s comparison, Universal Analytics versus Google Analytics 4, lists them: more than 30 minutes of inactivity, the clock reaching midnight in the view’s timezone, or new campaign parameters during the visit. GA4 kept the inactivity timeout. The same page says GA4 sessions are not restarted at midnight and are not restarted when new campaign parameters are encountered.

The practical difference is a person who is already on your site and then clicks a tagged link, before the 30 minutes are up. Universal Analytics starts a second session and gives the new campaign its own visit. GA4 keeps one session, and the session keeps the source it started with, because the source is taken from the session_start event. CrispStats is closer to the older rule: a session ends after 30 minutes of inactivity, or when the visitor arrives again through a different campaign or referrer. There is no midnight cut.

A second GA4 behaviour is easy to mix up with the session count. The sessions page says session attribution uses non-direct last click. In Google’s example, an organic visit on day 1 and a direct return on day 68 can both be attributed to google / organic, under the default 90-day setting. That is which source a session is credited to. Day 68 is still its own session, because the timeout passed.

Why do session counts disagree between tools?

Session counts disagree because tools use different timeouts, different campaign rules, and, inside Google Analytics 4, an estimate of the count.

Rules that change the session total, from Google’s comparison and from this product
RuleUniversal AnalyticsGoogle Analytics 4CrispStats
Inactivity timeout30 minutes by default, adjustable30 minutes by default, up to 7 hours 55 minutes30 minutes
New campaign or referrer mid-visitNew campaign parameters start a new sessionDoes not start a new sessionA different campaign or referrer starts a new session
Midnight in the property timezoneStarts a new sessionDoes notDoes not
How the total is computedA count of sessionsAn estimate of distinct session ids in standard reportsA count of sessions

Google’s sessions page also says standard reports estimate distinct session ids, while a BigQuery export of the same property can count them exactly, so the two totals can differ by a small amount. The direction of a change still shows in both. A gap caused by a campaign reset is a different matter: the tools are no longer counting the same unit.

Consent, blockers and a visitor id that changes mid-visit move the total further. A tag that never fires cannot start a session. An event that keeps arriving can hold a GA4 session open for hours, because GA4 has no maximum length, only a gap.

How do sessions compare with users and pageviews?

Sessions count visits, users count browsers, and pageviews count pages, so one person can be one user, several sessions and many pageviews.

Over one day, in a tool that recognises the browser all day, sessions are at least the user count: everyone has one session, and a return after the timeout makes a second. Pageviews are at least the session count, because every session shows a page. Across many days a tool that cannot recognise Tuesday’s browser as Monday’s counts two users for one person.

Rates inherit the choice. Pages per session uses sessions as the denominator. The same conversions divided by users are a higher rate than the same conversions divided by sessions whenever people return, because there are fewer users than sessions. How often people arrived is a session question. How many browsers you reached is a user question.

What does one afternoon count as?

In this example, the same six pageviews are two sessions or three, depending only on whether a mid-visit campaign starts a new session.

This is an example with round times. It is not a report from a live site. One browser, recognised for the whole day, on a Tuesday.

Example: six pageviews from one browser
TimeWhat the visitor didMinutes since the previous hit
09:00Lands on /docs from GoogleStart
09:02Opens /docs/install2
09:04Opens /docs/api2
09:20Clicks a tagged newsletter link to /pricing16
09:24Opens /signup4
14:00Types the address and reads /blog only276

Apply a 30-minute timeout, and vary only the campaign rule:

Example: the same hits, two session totals
RuleSessionsHow the six pageviews group
GA4: timeout only, a new campaign does not split209:00 to 09:24 is one session (the newsletter click is 16 minutes in, still inside 30). 14:00 is a second session.
New campaign or referrer also splits, as in Universal Analytics and in CrispStats309:00 to 09:04 is the Google session. 09:20 starts an email session through 09:24. 14:00 is a third, direct session.

Users stay at 1 in both readings, because we assumed the browser was recognised. Pageviews stay at 6. Sessions are 2 or 3. Pages per session are 6 ÷ 2 = 3, or 6 ÷ 3 = 2. A conversion on /signup at 09:24 belongs to the original Google session under the GA4 rule, and to the newsletter session under the split rule. Same click, different credit, and the only thing that changed was the definition.

Universal Analytics also cut a session at midnight in the property’s timezone. GA4 does not. Google’s comparison lists that midnight cut as one reason a global audience shows more sessions in Universal Analytics than in GA4.

What is an engaged session?

An engaged session is a Google Analytics 4 label for a session that cleared a quality bar, and it is a separate count from sessions.

Google’s Session page defines it: a session that lasts longer than 10 seconds, has a key event, or has at least two pageviews or screenviews. Any one of the three is enough. Engagement rate divides engaged sessions by all sessions, and GA4’s bounce rate is the rest. The 10 seconds are a timer you can change per web stream, so two GA4 properties can disagree with each other before any other tool joins in. The engaged session entry works a numeric example. GA4 engagement rate covers the rate itself.

Do not report engaged sessions as if they were sessions. A property with 1,000 sessions and 600 engaged sessions had 1,000 visits, of which 600 passed a test. Quoting 600 as the traffic total drops every short, single-page, event-free visit, including visits that did exactly what a short page asked.

Which session number should you report?

Report sessions when the question is how often people came, and keep the tool and the timeout fixed when you compare one period with another.

  1. How often did people arrive is sessions. A return counts again.
  2. How many browsers you reached is users, with the recognition method written beside the number.
  3. How much they opened is pageviews. Engaged sessions are a GA4 subset, and only if the reader knows the 10-second rule.

Write the timeout next to any session rate you share. A 30-minute timeout and a 5-minute timeout are different statistics, and so is a report before and after you stop splitting on campaign.

How does CrispStats bound a session?

CrispStats ends a session after 30 minutes with no activity, or sooner when the visitor arrives again through a different campaign or referrer.

Every event in the session keeps the entry source, so a pageview deep in the visit is still credited to where the visit began. The overview shows sessions beside visitors and pageviews. There is no engaged-session flag and no midnight reset. A bounce, in this product, is a session with one pageview and no custom events, which is a statement about the session’s contents rather than about a 10-second timer.

Guide questions. Straight answers.

What people ask after reading this.

  • A session is one visit: the pages and events from one visitor grouped until the tool ends the visit. The usual end is 30 minutes without a new hit. Some tools also end it when a new campaign arrives, and some end it at midnight.

  • Google Analytics 4 ends a session after 30 minutes of inactivity by default. You can raise that timeout, up to 7 hours and 55 minutes. There is no maximum length while the visitor keeps sending hits, and a new campaign does not start a new session.

  • No. A user is one browser counted in the period. A session is one visit by a browser. Someone who comes in the morning and again in the evening is one user and two sessions, if the tool still recognises the browser.

  • The tools are probably using different timeouts, or one of them starts a new session when the campaign or referrer changes and the other does not. Consent, blockers and bot filters change the total further. Compare trends inside one tool.

  • Not by itself. The tool usually cannot see the tab close. The session stays open until the inactivity timeout passes with no new hit, unless another rule such as a new campaign splits it first.

  • A session is the visit. An engaged session is a Google Analytics 4 subset: the visit lasted more than 10 seconds, included a key event, or included at least two pageviews. Engagement rate uses the subset. Traffic totals should use all sessions.

Not answered here? Write to hello@crispstats.com

Your traffic, crisp and clear

One script, no cookies, and every feature from the first day. Set up takes about as long as pasting a snippet.

© 2026 CrispStats. All rights reserved.

Get an AI summary of CrispStats