MetricRaven

Metrics

What is average session duration?

Also called: Time on site, time on page

Average session duration is the average length of a visit: the total time of all sessions divided by the number of sessions. Three visits of 1, 2 and 6 minutes average 3 minutes.

Updated

What average session duration measures

It is a rough measure of attention: how long people stay once they arrive. Its sibling, time on page, does the same for a single page. Both are useful for comparing pages and sources with the same job. Neither says whether a visit was good. A buyer who knows what they want can check out in 90 seconds; a confused visitor can wander for 10 minutes.

Formula and how time is measured

Average session duration = sum of session lengths ÷ number of sessions

Average time on page = time spent on the page ÷ pageviews of the page

The catch is the last page. Older tools timed a page by the gap until the next pageview, so the last page of every visit, and every one-page visit, counted as zero. Newer tools send engagement time from the browser while the tab is visible, which fixes most of that. A session usually ends after 30 minutes without activity; Google Analytics 4 uses that default and has no maximum length.

Worked example

Four visits in an hour last 0:40, 2:10, 5:30 and 0:20 (minutes:seconds).

Total = 40 + 130 + 330 + 20 = 520 seconds; average = 520 ÷ 4 = 130 seconds (2:10)

The average hides the shape: two short visits and one long one. With skewed data like this, look at the split by source too. If paid social visits average 0:30 and newsletter visits 4:00, that is a targeting difference, not a page problem.

How to measure it

Use the figure your analytics tool reports, and compare like with like: one landing page across sources, or one source across months. Pair it with an outcome. Time on a pricing page that rises while conversion rate falls can mean people are confused, not engaged. Scroll depth is a better signal of reading on long pages.

Common mistakes

  • Treating longer as better. Support pages and checkouts should be quick.
  • Comparing tools. One tool times the last page and another doesn't; their averages won't match.
  • Forgetting the timeout. A tab left open counts until the session times out or, in visibility-based tools, until it's hidden.
  • Averaging averages. Combine pages or sources by total time and total sessions, not by averaging their averages.

How MetricRaven measures session time

In MetricRaven, a visit is a visitor's activity split after 30 minutes without any event. Session time is the longer of the visit's first-to-last event span and its recorded visible time, so a one-page visit where someone read for three minutes still counts three minutes. Click the session time figure in Traffic overview to chart it.

Per page, Traffic → Pages → Details shows Avg. time: engaged seconds recorded on the page divided by its pageviews, next to exit rate, buyers and purchase rate. The Reports API returns avgSessionDuration, avgTimeOnSite and pagesPerSession. See Filters & segments.

Questions

What is a good average session duration?
There is no universal number. A content site may want several minutes; a tool people use quickly may want less. Compare a page or source with its own history and check whether longer visits actually convert better.
What is the difference between session duration and time on page?
Session duration is the length of a whole visit, across every page. Time on page is the time spent on one page, averaged over that page's views.
Why is my average session duration so low?
Often because one-page visits count as zero in tools that time pages by the next pageview, or because bots and accidental clicks pull the average down. Check how your tool times the last page.
Full glossary

See time on page next to revenue

MetricRaven shows session time, time per page and exit rate beside buyers and purchase rate, so you can tell attention that pays from attention that doesn't.

14-day free trial, no card required.