Quick answer
Average engagement time is a GA4 metric: the average time a web page was in focus or an app was in the foreground, per active user (total engagement time ÷ active users). Background tabs and locked screens do not count, so it is usually lower than average session duration.
Formula: Average engagement time = total engagement time ÷ active users; per session = total engagement time ÷ sessions
What is average engagement time?
Average engagement time is a Google Analytics 4 metric: the average time your web page was in focus in a user's browser, or your app was in the foreground on their device. Google defines it as total user engagement durations divided by the number of active users (GA4 dimensions and metrics). Time when the tab sits in the background, the window is minimised or the phone is locked does not count.
GA4 collects that time with the user_engagement event, which it sends when the app is in the foreground or the web page is in focus for at least one second (automatically collected events). Each event carries an engagement_time_msec parameter, and the report adds those milliseconds up.
Three things follow from that definition, and they are the whole reason the metric confuses people:
- It measures attention, not elapsed time. A visitor who opens an article, switches to email for three minutes and comes back adds only the seconds the article was in focus.
- The default denominator is active users, not sessions. "Average engagement time" in GA4's standard reports is per active user. "Average engagement time per session" is a different metric with a different denominator.
- It is usually lower than average session duration, because session duration measures elapsed time between hits and engagement time drops background time.
Per active user vs per session
GA4 offers two versions, and they answer different questions:
- Average engagement time (per active user) = total engagement time ÷ active users. Read it as "how much attention does a typical user give us in this period".
- Average engagement time per session = total engagement time ÷ sessions. Read it as "how much attention does a typical visit get".
Sample data: three users and six sessions in one week.
| User | Sessions | Engagement time per session | User total |
|---|---|---|---|
| A | 2 | 300 s, 120 s | 420 s |
| B | 1 | 45 s | 45 s |
| C | 3 | 200 s, 15 s, 40 s | 255 s |
| Total | 6 | 720 s |
- Per active user: 720 ÷ 3 = 240 seconds (4 minutes).
- Per session: 720 ÷ 6 = 120 seconds (2 minutes).
The same data gives two answers that differ by a factor of two, because users with several sessions add their time into one user total. Whenever two reports disagree, check the denominator first. A rise in per-user engagement time with flat per-session time usually means people are coming back more often, not that each visit got longer.
Worked example: one visit measured three ways
Sample data: one visitor's session, second by second.
| Time | What happens | Page A in focus? |
|---|---|---|
| 0:00 | Lands on page A and reads | Yes |
| 0:40 | Switches to another tab | No |
| 3:40 | Returns to page A and reads | Yes |
| 4:00 | Clicks through to page B and reads | B in focus |
| 4:50 | Closes the tab | Session ends |
GA4 engagement time counts only focus time: 40 s on A + 20 s on A + 50 s on B = 110 seconds. Page A gets 60 s, page B gets 50 s.
Classic session duration, as Universal Analytics defined it, runs from the first hit on the first page to the first hit on the last page when the last page has no engagement hits (Session Duration, Avg): 4:00 − 0:00 = 240 seconds. It includes the three background minutes and gives page B no time at all, because nothing was sent after B's pageview.
Elapsed time reported on page change, tab hide or close (how TapCub's website script works, described below): page A reports 40 s when the tab is hidden and 200 s more when the visitor leaves it at 4:00, page B reports 50 s at close. The session runs from 0:00 to the last report at 4:50: 290 seconds.
| Method | Session | Page A | Page B | Background time |
|---|---|---|---|---|
| GA4 engagement time | 110 s | 60 s | 50 s | Excluded |
| Classic session duration | 240 s | 240 s | not measured | Included |
| Elapsed time reported on leave | 290 s | 240 s | 50 s | Included |
One visit, three honest numbers: 110, 240 and 290 seconds. Engagement time is 110 ÷ 290 = 38% of the elapsed-time figure here. None of them is wrong; they measure different things.
Why engagement time is lower than session duration
Three differences push GA4 engagement time below any duration metric:
| Difference | Engagement time | Session duration |
|---|---|---|
| Background tabs, locked screen | Not counted | Counted while the session is open |
| Last page of the session | Counted while in focus | Often zero in hit-based tools |
| Short focus periods | Under 1 second not sent as an engagement event | Any hit counts |
| Denominator in the default report | Active users | Sessions |
The background gap dominates on content sites, where readers open several tabs and come back later. The last-page effect works the other way: hit-based session duration misses the time on the final page, so single-page sessions show zero duration even when the visitor read for minutes. That is why the two metrics can move in opposite directions after a site change. For more on the duration side, see average session duration.
How to compare average engagement time across tools
Before putting two tools' numbers in one chart, line up four things:
- Numerator: foreground or elapsed time? If one tool drops background time and the other does not, a gap of two or three times on content pages is normal, as the worked example shows.
- Denominator: users, sessions or engaged sessions? Per-user numbers are higher whenever users have more than one session.
- Last-page handling. Does the tool report time when the page is hidden or closed, or only between hits?
- Thresholds. GA4 sends the engagement event only for focus periods of at least one second; TapCub skips page reports of one second or less.
If the four do not match, compare trends, not levels: "engagement time per session rose 12% after the redesign" can be checked in both tools, while "tool X shows 1:50 and tool Y shows 4:50" says nothing. Engagement time also sits next to related ratios: an engaged session is one that lasted at least 10 seconds, had a key event or had two or more page views, per Google's definition. Which engagement metrics to report together is covered in engagement metrics.
Common mistakes with average engagement time
- Comparing it with an old session duration benchmark. The metrics measure different things; a drop after migrating tools may be purely a definition change.
- Reading the per-user number as time per visit. A returning user's sessions are added together.
- Treating higher as always better. On a support or checkout page, falling engagement time with a stable conversion rate may mean people find answers faster.
- Ignoring page mix. A site adding many short landing pages lowers the average even if every existing page performs the same; compare page by page.
- Assuming tabs left open inflate it. In GA4 they do not, because background time is excluded; in elapsed-time tools they do.
Average engagement time in TapCub
Take the 290-second visit from the worked example. TapCub does not report a foreground-only engagement time, so here is what it shows instead and how to compare it.
- Time on page comes from leave reports. The website script sends a leave event with the time on page when the route changes, the tab is hidden or the page closes, if the page was open more than one second. After a tab returns from the background, the next report covers the time since it was hidden, so background time is included. In the example, page A shows 240 s and page B 50 s in Web analytics › Pages.
- Average duration is elapsed time. Web analytics › Overview shows average session duration as the sum of session durations divided by sessions, each duration being the last event minus the start: 290 s for this visit. Compare it with GA4's session-based figures, not with GA4 engagement time.
- Use engaged rate for the "did they engage" question. In Web analytics › Reports the engaged rate column divides engaged sessions by sessions; a session is engaged at 10 seconds or more, two or more pageviews, or a hit on a goal marked as a key event. Without key-event goals, it is in practice the 10-second or two-page rule.
- Apps follow the same logic. In app analytics, an engaged session lasts at least 10 seconds, includes two or more screens or has a key event, and screen time comes from the duration on the screen-leave event; App analytics › Users › Engagement shows session duration as buckets.
When you run both tools side by side, expect TapCub's durations to land above GA4 engagement time on pages where readers switch tabs; check that trends move together rather than matching the seconds.
Sources
- Google Analytics Help, Analytics dimensions and metrics: average engagement time, user engagement, engaged sessions, engagement rate.
- Google Analytics Help, Automatically collected events:
user_engagementandengagement_time_msec. - Google Analytics Help, Session Duration, Avg: how Universal Analytics calculated session duration.
Was this explanation clear?
We use your answers to fix and expand this page.
Couldn’t send. Please try again in a minute.
Thanks for the feedback. We’ll use it to improve this page.You’ve already sent feedback on this page. Thanks.

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