Session Duration
Session duration is the length of time a visitor spends on a website in a single visit, from the first interaction until the session ends or times out.
What is Session Duration?
Session duration is the amount of time a visitor spends on a website during a single visit. A session starts with the first page view or interaction and ends when the user leaves or stays inactive past the timeout. Analysts use average session duration to judge how engaging content, navigation and landing pages are.
The metric became popular in Universal Analytics, which calculated it from the time between hits and therefore recorded zero seconds for single-page visits with no further interaction. Universal Analytics stopped processing data in 2023, and Google Analytics 4 now measures sessions and engagement differently, which makes older benchmarks hard to compare with current numbers.
How to calculate it
In GA4, a session ends after 30 minutes of inactivity by default (this timeout is adjustable), and there is no maximum session length.
Average session duration = total duration of all sessions / number of sessions
For example, if 400 sessions add up to 1,200 minutes, the average session duration is 3 minutes. These numbers are illustrative.
GA4 offers related metrics that are often more useful:
- Average engagement time: time the page was in the foreground, which removes idle tabs.
- Engaged sessions: sessions that last longer than 10 seconds, include a key event, or have two or more page views.
- Engagement rate: engaged sessions as a percentage of all sessions.
Examples
- A B2B SaaS team sees that visitors from a “what is SOC 2” glossary page average under a minute, while visitors from a SOC 2 checklist post average several minutes. The team adds a clear link from the glossary page to the checklist to carry intent forward.
- A cybersecurity vendor notices short sessions on paid social landing pages. Heatmaps show the form sits below a long hero video, so the team moves the form up and tests a shorter page.
Best practices
- Segment before judging. Break session duration down by channel, device and landing page. A site-wide average hides almost everything useful.
- Match the benchmark to intent. Quick-answer pages should be short; evaluation content should be longer.
- Read it with conversion data. Long sessions with no sign-ups can mean visitors are lost, not engaged.
- Use the 10-second rule sensibly. GA4’s engaged-session threshold is a floor, not a goal.
Common mistakes
- Inflating the metric with forced pagination, auto-playing carousels or interstitials.
- Comparing GA4 averages directly to Universal Analytics history.
- Treating a short session on a page that answered the question as a failure.
Session Duration and AI search
As AI Overviews, ChatGPT and Perplexity answer simple questions directly, visitors who do click through tend to arrive with more specific, later-stage needs. Many teams see fewer but deeper sessions from AI referrals. Track sessions from AI assistants as their own segment so they are not averaged away with organic search.
Related terms
Sources
- About Analytics sessions (Google Analytics Help)
- Engagement rate and bounce rate (Google Analytics Help)
- Session Duration (Similarweb)
Frequently asked questions
What is a good average session duration?
There is no universal benchmark. A documentation page that answers a quick question may have short sessions and still succeed, while a long comparison guide should hold attention longer. Compare session duration against your own history, by page type and traffic source, rather than against industry averages of unclear origin.
How does GA4 measure session duration?
GA4 starts a session when a user opens a page and, by default, ends it after 30 minutes of inactivity. Average session duration is the total session time divided by the number of sessions. GA4 also reports average engagement time, which counts only time when the page was in focus.
Does session duration affect Google rankings?
Google has said it does not use Google Analytics data for ranking. Long sessions are a symptom of content that satisfies users, which correlates with good performance, but optimizing the metric directly (for example by splitting articles across pages) usually hurts the user experience.