Analytics & measurementBeginner

Average engagement time

Average engagement time is how long a page or app was in the foreground for users, on average. GA4 reports it per active user and per session.

Also called: Average engagement time per active user, Average engagement time per session

Average engagement time is GA4's replacement for the old average session duration and time on page metrics. It measures how long your site was the focused tab or your app was on screen, averaged across active users or sessions. Because it only counts foreground time, it is closer to actual attention than the old metrics, which measured gaps between hits.

How it is measured

GA4 tracks foreground time with the user_engagement event and the engagement_time_msec parameter, which the Google tag sends when a page loses focus, the user navigates away, or at other intervals. Time with the tab in the background is not counted.

GA4 reports the metric in two forms: per active user (total engagement time divided by active users) and per session. The per-user version rises if the same people return more often, so pick the one that fits your question.

Why it replaced time on page

Universal Analytics calculated time on page from the gap between one page view and the next. The last page in a visit had no next hit, so its time was recorded as zero. Single-page visits therefore had no duration at all. Foreground engagement time avoids that blind spot.

How to use it

Use average engagement time to compare pages of the same type, such as two long guides on similar topics, or to see whether a rewrite kept readers longer. Do not compare a pricing page with a tutorial; different pages should hold attention for different lengths of time.

Example

Testing a rewritten tutorial

Suppose Copperlark, a feature-flag platform, rewrites a setup tutorial to put the code sample near the top. Average engagement time per session on the page goes down, while clicks to the sign-up page go up. Readers are finding what they need faster. Shorter is fine here because the goal is completion, not dwell time.

Common mistakes

Treating more time as always better

On task-focused pages, less time can mean the page works. Pair time with a goal metric.

Averaging across very different pages

A site-wide average blends pricing, docs and blog pages and hides what each is doing.

Questions

No. Average session duration measures from first to last event in a session, while engagement time counts only time in the foreground. GA4 offers both, and they usually differ.

Know the terms. Now win the searches.

We find the searches your buyers make, then build, publish and improve the pages that win them.