How is it calculated?
Most tools end a session after 30 minutes without activity. The next pageview after that gap starts a new one. Some tools also start a new session when the visitor comes back through a different campaign or referrer, so each arrival is credited to its own source.
Because the timeout is a convention and not a law, session counts differ slightly between tools.
Example
Someone reads two articles at 09:00, leaves the tab open, and clicks a third article at 09:50. The gap is longer than 30 minutes, so the day holds two sessions: one with two pageviews and one with a single pageview.
Common mistakes
- Treating sessions and visitors as the same number. Sessions are always equal to or higher than visitors over the same period.
- Assuming a session ends when the tab closes. Analytics cannot see a tab close reliably, so the timeout decides.
- Comparing session counts across tools that use different timeouts or different rules for campaign changes.