A session in GA4 represents the period of time a user is active on a site or app, starting with the first recorded interaction and including all subsequent events until the inactivity period expires.

Key Points

  • In GA4, a session ends by default after 30 minutes of inactivity, though this value can be adjusted in settings.
  • Unlike Universal Analytics, GA4 does not automatically start a new session at midnight or when the traffic source changes within the same visit.
  • A session is identified by an internal parameter (session_id), automatically generated at the user first interaction.
  • The number of sessions per user is a useful indicator for understanding return frequency to a site.

Practical Example

A user who browses a site, pauses for 45 minutes, and returns will generate two distinct sessions in GA4, due to the default inactivity window expiring.

Why It Matters

Understanding the GA4 session definition is essential for correctly interpreting reports and comparing data with earlier Analytics versions.

FAQ

Does a GA4 session always end at midnight?

No, unlike Universal Analytics, GA4 does not automatically segment sessions at the calendar day change.

Can the inactivity timeout for session expiration be changed?

Yes, the default 30-minute value can be adjusted in GA4 property settings.

Related Terms

Sources

← All terms in Analytics and Measurement Full glossary