User Engagement

User engagement is the total time your pages were actually in front of visitors, in the tab and window they were using. GA4 measures it in small pieces called engagement time.

Open yoursite.com, then switch to another tab.

0 s

engagement time

0 s on the clock · one turn is one minute

You open a page, read a couple of lines, and a message comes in on WhatsApp Web. You switch to that tab, reply, scroll a bit, and come back 10 minutes later. How long were you on the page? For GA4, only the time your page was in front counts. The 10 minutes on the other tab add nothing, even though the page never closed.

That's why engagement time isn't session duration. Your session can last 20 minutes while your engagement time stops at 5.

GA4 doesn't send this time second by second. It keeps a running count and sends it in a parameter called engagement_time_msec:

  • with the next event, whatever it is.
  • in a user_engagement event when you switch away, leave the page or close the tab.

In your reports the time shows up in three metrics:

  • User engagement, the total.
  • Average engagement time per active user, the total divided by the number of active users.
  • Average engagement time per session, the total divided by the number of sessions.

So when a session is long but its engagement time is short, the page was most likely left open in a background tab.

Check yourself

  1. Does a page left in a background tab for 10 minutes add engagement time?

  2. Can a 20-minute session have only 5 minutes of engagement time?

  3. Does GA4 send engagement time every second?