TapCub is live — analytics, insights and live chat, free on one platform
Glossary

Session timeout: how analytics splits visits into sessions

A session timeout is the inactivity period after which analytics ends a session, usually 30 minutes. A timeline showing how 10, 30 and 60-minute timeouts change session counts, other session rules, how to choose, and the security meaning.

Su He Reviewed by Chen Yu Also called session expiration Last updated Nov 5, 2026 Glossary

Quick answer

In web analytics, a session timeout is the period of inactivity after which the current session ends and further activity starts a new one, commonly 30 minutes. In application security, it is the idle or absolute time after which a user is logged out.

What is a session timeout?

In web analytics, a session timeout is the period of inactivity after which an analytics tool ends the current session. If a visitor does nothing for longer than the timeout and then comes back, their next action starts a new session. The common default is 30 minutes.

The term has a second meaning in security and web applications: the time after which a logged-in user is signed out for inactivity. That is covered briefly at the end; most of this page is about analytics.

How the timeout splits activity into sessions

One visitor's events on a single morning (sample):

TimeEventGap since previous event
09:00Lands on blog post—
09:12Views pricing12 min
09:50Returns, views features38 min
10:05Starts sign-up15 min
10:40Completes sign-up35 min

How many sessions is that?

Inactivity timeoutSessionsWhere it splits
10 minutes5Every gap
30 minutes (common default)3At 09:50 and 10:40
60 minutes1Nowhere

The same behavior produces one, three or five sessions. Every session-based metric moves with it: sessions, pages per session, average session duration, bounce rate and session conversion rate. With a 30-minute timeout the sign-up happens in session 3, and the session that "converted" came from whatever source started it, not necessarily the blog post that brought the visitor in.

Other rules that end a session

Besides inactivity, tools commonly start a new session when:

  • A maximum length is reached (for example 24 hours).
  • The day changes at midnight in the reporting time zone (some tools).
  • The traffic source changes, such as arriving again from a different campaign or search engine mid-session (some tools).

These rules differ between products, which is one reason session counts rarely match across tools; see why analytics tools show different numbers.

Choosing a timeout

  • 30 minutes suits most content and commerce sites and keeps numbers comparable with common defaults.
  • Longer (60 minutes or more) fits apps and tools where people leave a tab open while working, watch long videos or read long documentation.
  • Shorter rarely helps; it inflates session counts and deflates duration.

Whatever you choose, keep it stable. Changing the timeout breaks period-over-period comparisons of every session metric.

Session timeout and engagement metrics

Timeouts interact with how duration is measured. Many tools calculate session duration as the time between the first and last event, so a single-page visit with no later event has a duration of zero, and time spent reading the last page is not counted unless the tool sends a leave or heartbeat signal. That is why "engaged" definitions, such as at least 10 seconds or two pageviews, are often more stable than raw duration; see engaged session.

Session timeout in security

In application security, a session timeout signs a user out after a period of inactivity (idle timeout) or after a fixed total time (absolute timeout), so an unattended device cannot be used to act as that person. OWASP recommends shorter idle timeouts for high-value applications (such as 2–5 minutes) and longer ones for low-risk applications (15–30 minutes). This is unrelated to analytics sessions: being logged out does not end an analytics session, and an analytics timeout does not log anyone out.

In TapCub

TapCub's default session rules are 30 minutes of inactivity and a 24-hour maximum. Midnight and ad-parameter changes do not split a session unless you turn that on; arriving mid-session from a different external source does split it by default. You can change the rules in project settings; edits apply only to data collected afterward, so mark the change on your charts. Session duration is the time from the first to the last event, and a session counts as engaged at 10 seconds, two pageviews or a key goal event.

Sources

Was this explanation clear?

We use your answers to fix and expand this page.

Su He

Data Analyst

Explores traffic sources, conversion funnels, and retention, using clear metric definitions and concrete examples to explain what the numbers mean.

FAQ

Questions people ask

Short answers to the follow-up questions that come up most.

Still have a question?

Chat with the team behind TapCub — we usually reply within a few hours on business days.

What is the default session timeout in analytics?

Usually 30 minutes of inactivity. TapCub also caps sessions at 24 hours.

Does changing the session timeout change my data?

It changes session counts, duration, bounce rate and session conversion rate for data collected after the change, which breaks comparisons with earlier periods.

Does midnight end a session?

In some tools yes. In TapCub it does not by default, but you can turn that on.

Is an analytics session timeout the same as a login timeout?

No. A login (security) timeout signs a user out; an analytics timeout only decides how activity is grouped into sessions.

See this number on your own site

Add one script tag for web and apps, and the first reports fill in within minutes.

See your data clearly. Find your growth.

Every click, backed by data. Install one line of code and see your first numbers in a minute.

No credit card · Free plans for analytics and chat · Cookieless analytics