GA4 Sessions: How They’re Counted and Why They Differ

ga4 sessions

GA4 sessions begin when a session_start event fires and end after 30 minutes without user activity. That timeout can be changed. Unlike Universal Analytics, GA4 does not start a new session at midnight or when someone arrives on a new campaign link. The total in your reports is also a statistical estimate, not an exact count. Most guides stop at the definition. This one shows how the count is built, walks through one visitor’s evening, and gives a cheat sheet for every “why don’t these match” question.

What a Session Is in GA4

Google’s Analytics Help glossary defines a session as “a group of user interactions with your website or app that take place within a given time frame.” The mechanics are more useful:

  • A session starts when someone opens your app in the foreground, or views a page or screen while no session is active (for example, after the previous one timed out). GA4 logs this as the automatically collected session_start event.
  • Each session gets two identifiers. ga_session_id is the timestamp in seconds when the session began. ga_session_number counts how many sessions that user has started up to this one.
  • Every later event carries the session ID. Page views, scrolls, clicks and key events all share that ID, so GA4 can group them.
  • A session ends after 30 minutes of inactivity by default. Google’s help page says plainly that “there is no limit to how long a session can last” as long as the user stays active.

GA4 never stores a “session row.” It stores events, and a session is whatever shares a session ID. Every quirk below follows from that.

How GA4 Counts Sessions

The Sessions metric is the number of unique session IDs in your date range and filters. Google’s help documentation says GA4 has estimated these unique counts with the HyperLogLog++ algorithm since October 2021. That applies to Sessions and Active users.

  • Report totals are close, not exact. Google calls the differences from exact counting “small.”
  • BigQuery is the exact count. Google says the BigQuery export “has enough time and resources to calculate the precise number of sessions” and does not use HLL++, so small differences from the interface are expected. If you need a number to the last session for billing or a contract, count distinct user and session ID pairs in BigQuery.

One edge case: events sent through the Measurement Protocol or Data Import don’t get a session ID automatically. Server-side events that don’t pass one can end up outside any session, so they show in event counts but not in session-based reports.

What Ends a Session (and What No Longer Does)

This is the biggest change from Universal Analytics, and the main reason sessions in GA4 usually come in lower than in UA. Google’s GA4 vs UA metric comparison article lists what each platform treats as a session boundary.

Event during a visit Universal Analytics GA4
30 minutes of inactivity (default) New session New session
Clock passes midnight New session Same session
Arrives on a link with new campaign parameters New session Same session
Active for hours without a 30-minute gap One session (unless midnight or a campaign intervened) One session, no maximum length

The same Google article explains the knock-on effects. Audiences spread across time zones cross midnight more often, so UA split more of their visits. Sites that tagged their own internal links with UTMs reset UA sessions on every click. Google states that using UTM tagging on your own site “isn’t recommended since it will reset the session in Universal Analytics.” If your UA history had either problem, the lower GA4 numbers are more honest, not a loss of traffic. Keep UTMs for external links only; the UTM Campaign Builder makes them consistent.

Worked Example: One Visitor, One Evening

Here is one hypothetical visitor’s path, counted both ways with default settings:

  1. 23:50 She clicks an organic Google result and starts reading.
  2. 00:05 She is still reading. The clock has passed midnight.
  3. 00:12 She opens your newsletter in another tab and clicks a UTM-tagged link back to your site.
  4. 00:20 She leaves the tab idle and goes to make tea.
  5. 01:05 She returns, 45 minutes after her last interaction, and keeps browsing.

Universal Analytics: four sessions. Midnight started a second one, the campaign link a third and the timeout a fourth.

GA4: two sessions. Midnight and the newsletter link changed nothing. Only the 45-minute gap ended the first session.

GA4 with a 60-minute timeout: one session, because the gap never reached the limit.

Same person, same pages: one to four sessions depending on platform and one admin setting. Sessions belong in a report as a trend line, not a headcount.

Session Timeout: Should You Change It?

You set the web timeout under Admin → Data Streams → choose your stream → Configure tag settings → Adjust session timeout, in hours and minutes. Google’s Session glossary entry gives the maximum as 7 hours and 55 minutes. Apps set it in code with setSessionTimeoutDuration instead.

Use a simple rule: change the timeout only if normal use of your site involves gaps longer than 30 minutes that you still think of as one visit. Reasonable cases:

  • Long video, course or webinar pages where people watch for a long time without clicking.
  • Long forms or calculators that people fill in over a long sitting, with a break to find documents.
  • Internal tools and dashboards left open in a tab for the whole working day.

For a typical blog, service site or shop, leave it at 30 minutes. Raising it lowers session counts and flatters per-session averages without anyone behaving differently. If you do change it, write the date in your report notes. The change applies going forward, so it puts a break in your trend line.

Engaged Sessions and the Engaged Session Timer

Engaged sessions are the GA4 metric most worth watching. Google’s help pages define an engaged session as one that meets any of three criteria:

  • it lasts longer than 10 seconds (one Google article says “10 seconds or longer”)
  • it includes a key event
  • it includes 2 or more page or screen views

Engagement rate is engaged sessions divided by sessions. GA4’s bounce rate is the inverse, the share of sessions that weren’t engaged. We cover that switch in bounce rate vs engagement rate.

The duration test uses engagement time, not wall-clock time. Google measures engagement time only while your page is in focus or your app is in the foreground, and sends it in the engagement_time_msec parameter. A tab left open behind another window doesn’t keep adding seconds. See GA4 user engagement for how that timer behaves.

The 10-second threshold can be raised in the same tag settings screen (“Adjust timer for engaged sessions,” set in seconds). A higher threshold separates readers from skimmers on long-form content. Pick a value once and keep it.

Why GA4 Session Numbers Don’t Match: Cheat Sheet

Each mismatch has a specific cause:

Comparing Why they differ What to do
GA4 vs old UA No midnight or campaign resets in GA4; HLL++ estimation Expect lower GA4 counts; don’t splice the two series
GA4 interface vs BigQuery Interface estimates; BigQuery counts exactly Use BigQuery when precision matters
Rows summed vs report total A session spanning several pages or sources appears in several rows Read the total row; never add rows up
Sessions vs Search Console clicks Different systems: GSC counts clicks on Google results, GA4 counts sessions where the tag ran and data was collected Compare trends, not totals
Before vs after a settings change Timeout or engaged-session timer was changed Annotate the date
Observed vs Blended reporting identity Consent mode modelling appears only in Blended Keep reporting identity fixed across reports

The row-summing trap catches people most often, especially in Looker Studio and Explorations. Put Page path next to Sessions, and each row counts the sessions that included that page. A visitor who read four articles in one session is counted in four rows. The same goes for event name. Sessions only add up cleanly across dimensions with one value per session, such as session source/medium or landing page.

For Search Console specifically, see why GSC and Analytics never match.

Session Attribution: Where a Session’s Source Comes From

The Traffic acquisition report uses session-scoped dimensions such as Session source/medium and Session default channel group. Google’s help documentation describes these as showing where new and returning users come from “when they start new sessions.” The User acquisition report uses First user dimensions instead, the source of each user’s first visit.

The session_start event carries the attribution signals: gclid, UTM parameters and referrer. When a session has none, GA4 doesn’t simply label it Direct. Google’s sessions article gives an example: a user who arrives from Google organic on day 1 and returns directly on day 68 has both sessions credited to google / organic. The lookback window comes from your attribution settings, 90 days by default. That’s why “Direct” in GA4 is often smaller than people expect. We explain the rest in direct traffic and GA4 channel groupings.

When a session’s source can’t be determined at all, for example because session_start was missing or events arrived without a session ID, it can show as “(not set)” or Unassigned. If that bucket is growing, see unassigned traffic in GA4.

Consent Mode and Sessions You Never See

If your site runs consent mode, users who decline analytics cookies don’t produce normal observed sessions. GA4 can fill part of that gap with behavioural modelling, but only if the property qualifies. Google’s documentation requires at least 1,000 events per day with analytics_storage='denied' for at least 7 days, plus enough consented daily users, and says meeting those thresholds doesn’t guarantee eligibility.

Modelled data also appears only under the Blended reporting identity. Other identities show observed data only. Two people with different identity settings can report different session totals from the same property. Agree on one setting.

Using GA4 Sessions in SEO Reporting

For SEO, the most useful view is organic sessions by landing page, trended over months, next to engaged sessions and key events. Raw session counts are a soft metric: they move with settings, consent rates and estimation. Engaged sessions and key events from organic search are much harder to inflate by accident.

A sound monthly routine:

  • Filter Traffic acquisition to Organic Search and read engaged sessions, not just sessions.
  • Break it down by landing page to see which content actually starts visits.
  • Put Search Console clicks next to it for the same pages and watch whether both lines move together.
  • Note every admin change (timeout, timer, consent banner, reporting identity) on the timeline.

SEO Rocket’s GA4 and Search Console integrations bring the session trend, top traffic sources and Search Console clicks into one project. You can ask in chat how organic traffic moved this month and get the answer next to the click data, without exporting anything. Setup is covered in how to connect Google Analytics to SEO Rocket. For agencies, the project dashboard shows the same 90-day session trend. Pair it with an annotated settings log so a dip after a timeout change doesn’t turn into a panicked client call. It’s part of a playbook proven across 1,000,000+ ranking pages: report the metrics that track real behaviour, and label the ones that don’t.

GA4 Sessions FAQ

Does GA4 start a new session at midnight?

No. Google’s metric comparison article says sessions “aren’t restarted at midnight or when new campaign parameters are encountered.” Only inactivity past the timeout ends a GA4 session.

What is the default session timeout in GA4?

30 minutes of inactivity. On web streams you can change it in the Google tag settings, up to a maximum of 7 hours and 55 minutes.

Why are my GA4 sessions lower than in Universal Analytics?

UA split visits at midnight and on every new campaign link, including internal UTMs. GA4 does neither, and it estimates unique session counts rather than counting each one. Lower numbers are normal.

Can engaged sessions be higher than sessions?

No. Engaged sessions are a subset of sessions. If a custom report shows otherwise, you’re probably summing rows across a page- or event-level dimension, which counts the same session more than once.

Questions? Chat with us