Skip to content
Engagement

What is average visit duration?

2 min read · Updated · By the Reveata team

Short answerAverage visit duration (also called average session duration) is the total time of all visits divided by the number of visits. A visit's time is usually measured from its first recorded activity to its last.

Visit duration is a rough gauge of attention. It answers "how long do people stay?" but it comes with measurement quirks that are worth knowing before you set targets on it.

How visit duration is measured

Browsers do not announce when someone stops reading. Analytics tools therefore estimate a visit's length from the timestamps of the events they receive:

Visit duration = time of last recorded event − time of first recorded event
Average visit duration = sum of visit durations ÷ number of visits

Worked example (made-up numbers): three visits last 0 seconds, 2 minutes and 4 minutes. The average is (0 + 120 + 240) ÷ 3 = 120 seconds, or 2 minutes.

The catch: a visit with a single event has no second timestamp, so older tools gave it 0 seconds. Modern scripts send an extra event when a page is hidden or left, which gives one-page visits a real duration.

How Reveata measures it

Reveata's headline card is called Session time: the average time a visitor spent on the site per visit. Each session stores its duration in whole seconds, from its start to its last activity, and the card divides the total by the number of sessions.

  • The script reports how long a page was visible when a visitor leaves it or switches tab (automatic events), so a one-page visit can still have a duration.
  • A session ends after 30 minutes without activity (How Reveata counts). A goal sent by your server later joins the visit but does not stretch its duration unless it arrives within that window.
  • In the API and CLI the metric is avg_session_duration; on the Plausible-compatible API it answers as visit_duration.

For one page rather than the whole visit, use time on page.

Common mistakes

  • Treating longer as better. A support page where people take ten minutes to find an answer is not doing well.
  • Comparing tools. Each tool decides differently how to time the last page and when a visit ends.
  • Reading averages alone. A few very long visits pull the average up. Look at it by channel and page, and over time.

Frequently asked questions

Is visit duration the same as session duration?

Yes. "Visit" and "session" mean the same thing in most tools.

Why is my average visit duration so low?

Often because many visits are single quick looks, such as social traffic or bounces. Filter by channel and entry page to find where short visits come from.

Does a tab left open count as time on site?

Not indefinitely. Time counts only between recorded events, and the session ends after 30 minutes without activity.

See it with your own numbersReveata ties every visit and sale to the source that brought it. Add your website in a minute.
Get started
Was this page useful?
GlossaryWhat is a session in web analytics?A session (also called a visit) is one continuous period of activity by a visitor on your website. It starts with the first page they load and ends when they leave or stay inactive for a set time, commonly 30 minutes.GlossaryWhat is time on page?Time on page is the average amount of time visitors spend on a particular page. Modern analytics measures it as the time the page was actually visible, rather than the gap until the next page loaded.GlossaryWhat are views per visit (pages per session)?Views per visit, also called pages per session, is the average number of pageviews in each visit: total pageviews divided by total sessions. It shows how far people typically go into your site on one visit.GlossaryWhat is engagement rate?Engagement rate is the percentage of visits that counted as engaged, meaning the visitor did something beyond landing on a page. In Google Analytics 4 a session is engaged if it lasted over 10 seconds, had a key event, or had two or more page views.GlossaryWhat are outbound link clicks?An outbound link is a link on your website that points to a different website. Tracking outbound link clicks shows which external destinations, such as an app store, a partner or a marketplace listing, your visitors leave for.GlossaryWhat is a conversion funnel?A conversion funnel is a defined sequence of steps, such as landing page, sign-up, trial and payment, that shows how many visitors reach each step in order and how many drop out between steps.