A worked example
One session has page events at 10:00 and 10:03, giving a three-minute span. Another has only one event, giving a zero span. Their average observed duration is 90 seconds.
Missing endpoints matter
The tracker does not continuously prove that someone is present. Leaving a tab open without events does not create a longer first-to-last span. Blocking, lost delivery, and missing custom events can shorten observations.
Use the right context
Compare dates and filters consistently. A changing mix of routes or devices can move the average. Long inactivity starts another session; a session that crosses midnight stays one session.
Frequently asked questions
Why can duration be zero?
A session with one recorded event has no later timestamp, so there is no elapsed activity to calculate. Its duration is zero. Leaving a tab open without events does not make the span longer. For example, a session with a three-minute span and a one-event session give an average of 90 seconds.
Does session duration measure attention?
No. It measures observed activity, not continuous attention. The tracker does not continuously prove that someone is present. Blocking, lost delivery and missing custom events can shorten the observed span. So read the average as the time between the first and last events received in each session.
What happens after long inactivity or at midnight?
Long inactivity starts another session, so a long pause does not make one session longer. A session that crosses midnight stays one session. Compare dates and filters consistently, because a changing mix of routes or devices can also move the average session duration.