How GA4 counts sessions
At the start of each visit, GA4 logs a session_start event and assigns a session ID, which is the timestamp of the session start in seconds. The session count you see is an estimate based on counting those unique IDs. A separate session number tracks how many sessions a given user has started so far.
The session_start event also carries the visit's attribution details: GCLID, UTM parameters or referrer. That is why a session's source is locked in when it begins.
Timeout and differences from Universal Analytics
A session ends after 30 minutes of inactivity. For a web stream, you can change this under Admin, Data streams, Configure tag settings, Adjust session timeout. A documentation site where people read for a long time may justify a longer timeout; a site people revisit many times a day, a shorter one.
Universal Analytics also split sessions at midnight and whenever the campaign source changed. GA4 does not, so with the same traffic it usually reports somewhat fewer sessions. Comparing the two tools without accounting for that suggests a traffic drop that never happened.
Sessions, users and engaged sessions
One user can start several sessions, and sessions per user measures that loyalty. More importantly, GA4 separates engaged sessions: those lasting longer than 10 seconds, triggering a key event or including at least two page views. Their share is the engagement rate, which says more than raw session volume.
Two settings prevent junk sessions: filtering out your team's internal traffic and configuring cross-domain measurement if your funnel crosses another domain, such as a checkout or booking page.
