/

/

Ghost Sessions (Bloomreach Engagement)

Ghost Sessions (Bloomreach Engagement)

Ghost Sessions (Bloomreach Engagement)

Ghost sessions are short, empty sessions the Bloomreach Engagement JS SDK records when a page left open in a background tab wakes along with a sleeping computer. The page sends a session ping although nobody is active. The fix is the `ping.activity` option, which is off by default. With it on, the SDK pings only when the user has clicked, typed, scrolled or moved the mouse since the last ping. Otherwise it stops pinging. Turning it on changes the session definition. The backend closes a session with a `session_end` event after 20 minutes without pings, so session counts and durations shift.

Updated

Category

Bloomreach Dev, Tracking

Also known as

ghost session; empty sessions; phantom sessions

In practice

Before turning on activity-based pinging, record a month of baseline sessions per user and average duration, and expect a step change in both. Compare session metrics only across periods with the same setting.

Something out of date?