Skip to content
Traffic and visitors

What is a session in web analytics?

2 min read · Updated · By the Reveata team

Short answerA 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.

Sessions are the unit most traffic reports are built on. A channel, a landing page and a bounce all belong to a session, so it pays to know exactly where one ends and the next begins.

When does a session end?

Browsers do not tell a website "this person has gone". Analytics tools infer the end of a visit from silence: if no new pageview or event arrives within the inactivity timeout, the session is closed. The next activity starts a new one.

Some tools add extra rules, for example starting a new session at midnight or when the campaign changes. Those rules are the main reason two tools report different session counts for the same site.

Sessions and visitors

One unique visitor can have many sessions. A person who reads your blog in the morning and comes back after lunch to check pricing has made two sessions. Each session can come from a different traffic source: the first from a Google search, the second typed in directly.

How Reveata defines a session

In Reveata a session is one visit and ends after 30 minutes without activity. A few details, taken from how the collector works:

  • Only a pageview starts a session. A goal, scroll or outbound click that arrives after the 30 minutes joins the visitor's latest session instead of opening a new one.
  • One channel per session. The channel and source are decided from the first page of the visit (its referrer, UTM tags and ad click ids) and copied onto every event in it.
  • A visit across midnight stays one visit. It is not split at the start of a new day.
  • Each session records its entry page, exit page, number of pageviews, duration, goals and whether it was a bounce.

Example

A visitor (made-up timeline) loads your home page at 10:00, the pricing page at 10:05, then closes the tab. At 10:50 they come back from an email link. Because 45 minutes passed with no activity, that is two sessions: one from the original source, one from email.

Common mistakes

  • Calling sessions "visitors". A report of 5,000 sessions may be 3,000 people.
  • Comparing session counts across tools without checking each tool's timeout and split rules.
  • Expecting a session per tab. Two tabs open at the same time by the same browser are usually one session.

Frequently asked questions

Is a session the same as a visit?

Yes. Most tools use the two words for the same thing. Reveata's dashboard and docs use both.

Why 30 minutes?

It is a long-standing convention in web analytics: long enough that reading a long article does not split the visit, short enough that someone returning later in the day counts again.

Does leaving a tab open keep a session alive?

Not on its own. The session continues only while events arrive. A tab left open with nothing happening ends its session after the timeout.

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?