# GA4 sessions

> How Google Analytics 4 starts a session, the session_start event and its IDs, where to change the web timeout, and how sessions get attributed.

Canonical: https://scaplet.com/glossary/ga4-sessions

Glossary Glossary · Measurement

How Google Analytics 4 starts a session, the session_start event and its IDs, where to change the web timeout, and how sessions get attributed.

3 min

read

1

sources

Nov 1, 2026

updated

Scaplet Editorial Team

author

In one line

A GA4 session is a period of activity that starts when someone opens your app in the foreground or views a page or screen while no session is active. Google collects a session_start event to mark it. After 30 minutes of inactivity by default, the next view starts a new session. Reports show estimated session counts.

30-second check

## Is this costing your site traffic?

Four quick questions, then a straight answer.

1/4Have you checked your own site for this?

Summarize this page with [ChatGPT](https://chatgpt.com/?hints=search&q=Summarize%20https%3A%2F%2Fscaplet.com%2Fglossary%2Fga4-sessions%20(%22GA4%20sessions%22)%20in%205%20bullet%20points%2C%20then%20tell%20me%20the%20one%20thing%20I%20should%20do%20next.) [Claude](https://claude.ai/new?q=Summarize%20https%3A%2F%2Fscaplet.com%2Fglossary%2Fga4-sessions%20(%22GA4%20sessions%22)%20in%205%20bullet%20points%2C%20then%20tell%20me%20the%20one%20thing%20I%20should%20do%20next.) [Perplexity](https://www.perplexity.ai/search?q=Summarize%20https%3A%2F%2Fscaplet.com%2Fglossary%2Fga4-sessions%20(%22GA4%20sessions%22)%20in%205%20bullet%20points%2C%20then%20tell%20me%20the%20one%20thing%20I%20should%20do%20next.) [![Google](/logos/ai/google-color.svg)AI Mode](https://www.google.com/search?udm=50&q=Summarize%20https%3A%2F%2Fscaplet.com%2Fglossary%2Fga4-sessions%20(%22GA4%20sessions%22)%20in%205%20bullet%20points%2C%20then%20tell%20me%20the%20one%20thing%20I%20should%20do%20next.)

## At a glance

4 facts from the sources below

App opened in foreground, or a page or screen viewed with no active session

Starts

30 minutes of inactivity

Default timeout

`session_start`

Marker event

90 days

Key event lookback default

_01_Explained

## What starts and ends a session

Google's Help page describes a session as a period of user activity. One begins when a visitor opens your app in the foreground, or views a page or screen while no session is active, for instance because the last one timed out. Google says there is no limit on how long a session can last. The only [thing](/glossary/entity) that ends one is inactivity for the length of the timeout.

The default timeout is 30 minutes. This page covers the settings and the numbers behind session counts. For the engaged-session test, see [engagement rate](/glossary/engagement-rate), and for the timeout ceiling see [Google Analytics 4](/glossary/google-analytics-4).

_02_At a glance

## Anatomy of a session start

Piece

### `session_start`

What Google documents

Collected automatically when a session starts

Why you care

It is the event behind every session count

Piece

### `ga_session_id`

What Google documents

The timestamp, in seconds, of when the session starts

Why you care

Groups a user's events into one session

Piece

### `ga_session_number`

What Google documents

How many sessions that user has started so far

Why you care

Separates a first visit from a later one

Piece

### Session timeout

What Google documents

30 minutes of inactivity by default

Why you care

Changing it changes how visits are split

Piece

### [Attribution](/glossary/attribution)

What Google documents

Non-direct last click, within the [key event](/glossary/key-events) lookback window

Why you care

A direct return can keep an earlier source

Illustrative values, not real data

```
event_name: session_start ga_session_id: 1730419200 (start time, in seconds) ga_session_number: 3 (third session for this user)
```

**A direct return does not always show as direct**Google's example: a user arrives from a Google organic link on day 1, then returns directly on day 68. With the default 90-day lookback, that second session is still credited to google / organic. Do not read a low direct count as proof that nobody typed your URL. Use [UTM parameters](/glossary/utm-parameters) on links you control so the source is explicit.

_03_How it works

## Check it in 2 minutes

1. 01

### Open the data stream

In Google Analytics choose Admin, then under Property select [Data Streams](/glossary/data-streams) and pick your web data stream.
2. 02

### Find the timeout setting

At the bottom of the stream page select Configure tag settings, then under Settings select Show all, then Adjust session timeout.
3. 03

### Read the value

The setting is in hours and minutes. If it is not 30 minutes, someone changed it, and your session counts will not match a default property.
4. 04

### Find sessions in reports

Google lists Acquisition overview, User acquisition and Engagement overview as reports that show session metrics, and Explorations can too.

_04_Your call

## Why session numbers differ between tools

Google says that since October 2021 Analytics uses the HLL++ method for some counts, including Sessions and [Active users](/glossary/active-users). Reports therefore show estimates, while BigQuery gives precise counts. Google's own example shows 1,463 sessions last week in reports against 1,501 in BigQuery, with both showing the same 25% change week over week.

If this fits

### Trust the report number when

- You compare periods inside the same GA4 report
- You need a trend, not an audit-grade total

Or

### Go to BigQuery when

- You must reconcile counts with another system
- You need to rebuild sessions from `ga_session_id` yourself

Setup for that route is in [BigQuery export](/glossary/bigquery-export). Apps have their own knob: Google says the Firebase `setSessionTimeoutDuration` method changes the default, and background events can carry an `extend_session` parameter set to 1.

Sources · 1

## Every fact, linked and dated.

Official docs first. The date is when we last opened each page.

- google.com

1. 01 [About Analytics sessions (Analytics Help)](https://support.google.com/analytics/answer/9191807) support.google.com · checked 2026-11-01

Questions

## Asked a lot.

2 questions people ask next, answered from the sources on this page.

_01_ Does GA4 split a session at midnight?

Google's sessions page does not say, so do not assume either way. Test with your own data if midnight splits matter to your analysis.

_02_ Can I change the session timeout?

Yes for web data streams: Admin, Data Streams, your stream, Configure tag settings, Show all, Adjust session timeout. For apps, Google points to the Firebase `setSessionTimeoutDuration` method.

## Keep learning

[All glossary](/glossary)

[Learn Active users Measurement](/glossary/active-users) [Related Google Analytics 4 Measurement](/glossary/google-analytics-4) [Read next BigQuery export Measurement](/glossary/bigquery-export) [Do Run a free site audit Free, about two minutes](/site-audit)

Nearby in glossary
[GBP categories](/glossary/gbp-categories) [GBP performance](/glossary/gbp-performance)

More in Measurement
[Data retention](/glossary/data-retention) [Data streams](/glossary/data-streams) [Data thresholds](/glossary/data-thresholds) [Data-driven attribution](/glossary/data-driven-attribution) [Default channel group](/glossary/default-channel-group) [Direct traffic](/glossary/direct-traffic) [Dwell time](/glossary/dwell-time) [Engagement rate](/glossary/engagement-rate) [GA4 audiences](/glossary/ga4-audiences) [GA4 DebugView](/glossary/ga4-debugview) [GA4 events](/glossary/ga4-events) [GA4 Explorations](/glossary/ga4-explorations) [GA4 sessions](/glossary/ga4-sessions) [Google Analytics 4](/glossary/google-analytics-4) [Google Tag Manager](/glossary/google-tag-manager) [Impressions](/glossary/impressions) [Internal search](/glossary/internal-search) [Key events](/glossary/key-events) [Last touch attribution](/glossary/last-touch-attribution) [Lead scoring](/glossary/lead-scoring) [Magic number (SaaS)](/glossary/magic-number) [Measurement Protocol](/glossary/measurement-protocol) [MRR (monthly recurring revenue)](/glossary/mrr) [Multivariate testing](/glossary/multivariate-testing)

Terms on this page
[Entity](/glossary/entity) [Engagement rate](/glossary/engagement-rate) [Google Analytics 4](/glossary/google-analytics-4) [Attribution](/glossary/attribution) [Key events](/glossary/key-events) [UTM parameters](/glossary/utm-parameters) [Data streams](/glossary/data-streams) [Active users](/glossary/active-users)

Free · 2 minutes

## Know the term. _Now check your site._

The free audit reads robots.txt, sitemaps, status codes, canonicals, redirects and structured data.

[Audit my site free](/site-audit)

Free, no card 60 seconds Nobody will call you

- **46** fixes shipped without a ticket Brightpipe
- **+212%** organic clicks in 90 days Ledgerly
