Session duration is the length of one visit to a website or app, from the moment a session starts until it ends. Analytics tools report it mostly as an average: average session duration is the total length of all sessions divided by the number of sessions. If 100 visits add up to 300 minutes, the average is 3 minutes.
It's a quick read on whether people stay and look around, but it mixes very different visits into one number. Read it next to other metrics, not alone.
How Google Analytics 4 counts a session
In Google Analytics 4 (GA4), a session starts when someone views a page or opens your app and no session is already running. GA4 records a session_start event at that moment.
The session ends after 30 minutes of inactivity by default. You can change that timeout for a web data stream under Admin > Data Streams > Configure tag settings > Adjust session timeout. There's no limit on how long an active session can last.
So if a visitor reads one article, leaves the tab for 40 minutes and comes back, GA4 counts two sessions. If they come back after 20 minutes, it's still one.
Session duration vs engagement time
GA4 gives you two ways to look at time, and they answer different questions:
| Metric | What it measures |
|---|---|
| Average session duration | How long sessions last on average |
| Average engagement time per session | How long your page was in focus, or your app in the foreground, per session |
Engagement time counts only the moments the visitor could actually see your site. GA4 measures it with an automatic user_engagement event that fires when a page is in focus for at least one second. Session duration has no such filter, so the two numbers can differ a lot. When you want to know whether people paid attention, engagement time is usually the better one.
GA4 also counts engaged sessions: sessions that last 10 seconds or longer, include a key event, or have two or more page or screen views. Bounce rate in GA4 is the share of sessions that were not engaged.
How Universal Analytics measured it
If you compare against old reports, know that the older version, Universal Analytics, worked differently. It measured a session from the first hit on the first page to the first hit on the last page, unless something on that last page sent an interaction hit. Time spent on the last page of a visit often didn't count, and a one-page visit without interaction showed 0 seconds.
Standard Universal Analytics properties stopped processing data on July 1, 2023. Session duration from GA4 and from Universal Analytics isn't directly comparable, so don't read the switch as a real change in behavior.
How to read session duration
Look at the spread, not just the average. A few very long sessions can pull the average up. Compare segments instead: by landing page, channel, device or new versus returning visitors.
Judge it against the page's job. Long sessions are good on a guide or a product comparison. On a contact page, a store-hours page or a help article that answers one question, a short visit can mean the visitor got what they came for.
Pair it with an outcome. Session duration next to sign-ups, purchases or other key events tells you far more than duration alone; see conversion rate. A visit that's long because people can't find the checkout button is a problem, not a success.
Watch the trend after changes. A drop after a redesign or new navigation is worth a look. So is a rise after you improve internal links or content.
Session duration and SEO
Session duration is an analytics metric about your own site. It's not the same as dwell time, the time a searcher spends on a result before returning to the search page. Use it to judge whether search visitors find what they expected on the pages they land on. If visitors from a query leave quickly, check whether your page matches the search intent behind it.
Related metrics
- Time on page looks at one page rather than the whole visit.
- Views per session shows how far people move through the site.
- Engagement rate is the share of sessions that were engaged, the opposite of bounce rate.
For the wider set of measures, see web analytics.