Skip to content

Engagement

Time on page explained: why the last page has none, and engagement time

Time on page often cannot time the last page of a visit. Average engagement time measures focus instead, including that last page. A worked example shows both.

The CrispStats team · · 10 min read

In short

Time on page is an estimate of how long a visitor spent on one page, and in many tools the last page of a session has none, because the estimate is the gap until the next page. Average engagement time measures something else: time the page was in focus, sent when the visitor leaves or switches away, so the last page counts and a background tab does not. The two averages from one visit can be minutes apart. Compare them only inside one tool, and judge a short time by what the page was supposed to do.

Time on page is where a dashboard sounds precise and is often guessing. A reader who finishes an article and closes the tab can show zero. A reader who leaves the tab open during lunch can show an hour. Both results come from a real method. They come from different methods, and mixing them is how a redesign gets credit or blame for a change in the clock rather than a change in the page.

What is time on page?

Time on page is an estimate of how long a visitor spent on one page, and the estimate depends on which clock the tool uses.

Visit duration and engagement time are the same family, applied to a whole visit rather than one page. None of them is a stopwatch the visitor started. The tool infers a duration from the hits it received, or from time the browser reported while the page was visible.

Why does the last page of a session have no time on page?

In tools that subtract timestamps, the last page of a session has no time on page, because nothing happens after it for the tool to subtract.

The older method stores the time of each hit and defines the time on a page as the gap until the next hit. Page one at 10:00 and page two at 10:04 means four minutes on page one. The page the visitor leaves from has no next hit. There is no gap to measure, so that page contributes no time on page. A session with a single page has no gap at all, and the duration is zero, however long the person actually read.

Universal Analytics calculated session duration on that pattern. Google’s help page on average session duration says that when the last page has no engagement hit, duration is the time of the first hit on the last page minus the first hit on the first page. Their example is a visit with hits at 10:00, 10:05 and 10:10, and a duration of 10 minutes. The minutes the visitor then spent on the third page are outside the total. The duration stops when the last page starts, not when the visitor leaves it. If an engagement hit does fire on the last page, the same page says the duration runs to that hit instead. A video play at 10:15 would make the example 15 minutes. Closing the tab still sends nothing, unless something on the page fires as they go.

That is why a popular article can show a lower average time on page than a thin page in the middle of a flow. The article is often the last page, so it is the page the method cannot see. The thin page always has a next click, so it always has a gap. The method rewards pages people pass through and undercounts pages people finish on.

What is average engagement time?

Average engagement time is the average of time a page was in focus, or an app was in the foreground, which is the duration Google Analytics 4 reports.

Google’s help page on user engagement defines user engagement as the time someone spends with your web page in focus or your app screen in the foreground. The timer starts with the session. The elapsed time is sent, in an engagement_time_msec parameter, when the visitor moves the app to the background, focuses away from the page, navigates away, or the site or app crashes. Time after the page has lost focus is not part of that send. A tab left open behind another window does not keep adding minutes.

The page says Google uses this to populate the User engagement metric and Average engagement time. The average still depends on what you divide by. The same pile of focused seconds, divided by sessions, is a per-visit figure. Divided by users, it is larger whenever one person has more than one session. The glossary entry on average engagement time separates those two. Read the column name before you compare a Pages report with an acquisition report.

How does engagement time differ from time on page?

Engagement time includes the last page and skips time in a background tab. Timestamp time on page does the opposite on both points.

Two clocks that share a name and little else
RowTimestamp time on pageEngagement time
ClockGap from this hit to the next hitTime the page was in focus, reported by the browser
Last page of the sessionNo value, unless a later hit fires on itIncluded, because leaving sends the time
Single-page visitZero in the classic session durationThe focused time on that page
Tab in the backgroundThe gap keeps growing if the next hit is latePaused while the page is not in focus
What a long average suggestsA long gap between hits, including lunchA long time with the page actually in front of someone

The background-tab case is the one that makes timestamp averages look heroic. A visitor opens a pricing page, switches to a meeting for 40 minutes, and then clicks through. The gap says 40 minutes on pricing. Focus time says a few minutes.

What does one visit count as under each method?

In this example, timestamp time on page records 7 minutes across two pages and drops the last page, while focused time records 9 minutes across all three.

This is an example with round minutes, not a measurement from a real site. One session, three pages, one person.

Example: one session, three pages
PageArrivedNext eventOf which the tab was in the background
Guide10:00Pricing at 10:04None
Pricing10:04Signup at 10:07None
Signup10:07Tab closed at 10:10The last 1 minute

Timestamp method

Time on page is the gap to the next pageview. The guide gets 4 minutes. Pricing gets 3 minutes. Signup has no next pageview, so it has no time on page. The pages you can measure sum to 7 minutes. An average that simply skips the blank page is (4 + 3) ÷ 2 = 3.5 minutes, and the signup page does not move it. An average that treats the blank as zero is (4 + 3 + 0) ÷ 3 = about 2.3 minutes. Tools differ on that last step. Session duration in the Universal Analytics sense, with no engagement hit on the last page, runs from 10:00 to 10:07: 7 minutes, ending when signup was opened.

Focus method

The guide was in focus for 4 minutes, pricing for 3, and signup for 2 (three minutes on the page, one of them in the background). Total focused time is 4 + 3 + 2 = 9 minutes. Average engagement time for this one session is 9 minutes. Signup is included. The background minute is not. If this person had a second session with 1 focused minute, the per-session average across both visits would be (9 + 1) ÷ 2 = 5 minutes, and a per-user average would be 10 ÷ 1 = 10 minutes. Same seconds, different denominator.

Put the two clocks side by side and the story changes. Timestamp time says the visit was 7 minutes and says nothing about signup. Focus time says 9 minutes, of which 2 were on the form.

When is a short time a good result?

A short time is a good result on a page whose job is to answer quickly, such as a contact page, a docs answer or a confirmation.

A phone number someone needed, a single API parameter, and an order confirmation are all successes when the visit is brief. Lengthening them would mean the page got harder. The same 20 seconds on a long essay, or on a pricing page you hoped people would compare, is a different finding: they may have decided it was not for them, or the page may have failed to load the part they needed.

Under the classic definition a single-page visit is a bounce even when someone read for ten focused minutes, so engagement time and bounce rate can both be high on the same page. Bounce rate and engagement compares the definitions. In GA4 a session becomes engaged after 10 seconds of focus, a key event, or a second page, which GA4 engagement rate covers.

What should you pair with time on page?

Pair the duration with the page’s job, how far people scrolled, and whether they converted. A long time can mean interest or a stuck visitor.

  • Scroll depth tells you whether the minutes happened near the top or further down. A long time at a shallow scroll is a tab left open, or a page that never drew anyone past the introduction. Scroll depth is the companion measurement.
  • The next page, or the lack of one, tells you whether the time ended in the action you wanted. A pricing page with a long focused time and no signup is a different problem from a pricing page with a short time and a signup.
  • The source tells you whether the audience was the one you wrote for. A long time from organic search and a short time from a mismatched ad can share one site-wide average and cancel out.
  • A handful of extremes. One visit focused for an hour moves a small page’s average more than a hundred ordinary visits. Read the average beside the number of visits. A page with 30 visits and a striking duration is an anecdote.

How should you compare tools?

Compare durations only inside one tool. A timestamp average and a focus-time average are different measurements of the same visits.

Name the clock when you share a number: gap between hits, or time in focus. Timestamp blanks on exit pages are the method. Moving from Universal Analytics session duration to GA4 engagement time changes the number with no change in behaviour. Read it per page and per source, because a site-wide average hides the page you would actually edit.

How does CrispStats measure the time?

CrispStats measures seconds the page was actually visible, and it includes the last page of a visit.

The script keeps a running total while the page is visible and sends it when the page is hidden or left, and before each single-page navigation. A background tab adds nothing. Average visit duration is that visible time divided by sessions. There is no per-user average. A long single-page read is still a bounce if it had one pageview and no custom events: duration and bounce answer different questions.

Guide questions. Straight answers.

What people ask after reading this.

  • Tools that subtract timestamps need a later hit to measure a page. The last page of a visit has no later hit, so it has no time on page. Articles and thank-you pages are often last, which is why they show zero or drop out of the average even when people read them.

  • Average engagement time is the average amount of time a page was in focus, or an app was in the foreground. Google Analytics 4 records that time and sends it when the visitor switches away, navigates away, or the page crashes. Time in a background tab is not included.

  • Yes. The browser reports the focused time when the visitor leaves the page or hides it, so the exit page has a duration. That is the main difference from timestamp time on page, which cannot see the exit page.

  • No. A contact page, a short docs answer and a confirmation should be quick. A long time there means the page was harder than it needed to be. A long time is more encouraging on a guide or a comparison, and even then it should be read next to scroll and conversion.

  • Only when both tools use the same clock. A gap between pageviews and a measure of focused time produce different numbers for the same visit. Compare weeks inside one tool, and say which method that tool uses.

Not answered here? Write to hello@crispstats.com

Your traffic, crisp and clear

One script, no cookies, and every feature from the first day. Set up takes about as long as pasting a snippet.

© 2026 CrispStats. All rights reserved.

Get an AI summary of CrispStats