What defines a session in FullStory?

Simply put, a session is a series of user interactions on your site. The session begins when a user visits your site and it ends after 30 minutes of inactivity (or 24 hours of active session capture).

For example, a user finds your site in a list of Google search results and clicks through to your landing page. In FullStory, their session will begin with the landing page, and last until they have been inactive for at least 30 minutes during the session. If they revisit your site after they've been inactive on your website for more than 30 minutes, their activity will be captured as a new, separate session.

Note:  If a user is inactive and revisits your site, the session will split in the middle of a single page, after 30 minutes of inactivity. 

Why do I see longer periods of inactive time in a session? 

After reading our simple answer, you still may be wondering why you sometimes see longer inactive periods in a session. It essentially comes down to the events that are being captured for the current page; certain events like "click" or "touch" and "scroll" are heuristics of user activity. When FullStory encounters periods of time without user activity, we mark that timespan as an inactive period that you can skip during playback.

Note that inactivity also counts towards the overall session lifecycle, where 30 minutes of inactivity, across all open pages, will close the session; any new user events after this period will cause a new session to be created.

What defines a session for Mobile Apps?

The session begins once an app is launched by a user and will continue until the user backgrounds the app. For our purposes, these 2 scenarios qualify as "backgrounding" (or backgrounds):

  • When an app is still running but is not the current app in use (what's generally referred to as a "suspended" state).
  • When a user uses the swipe up action to fully close the app.

Note: If a user is inactive after 30 minutes and re-launches the app, FullStory will start a new session. 

Development note: Closing an app in Xcode (by clicking the "stop" button to shut down the virtual device) isn't a supported use case for ending a session. If an app is closed in that way, we won't send a final bundle for the session events. For testing in an emulator, we recommend ending your session by first putting the app in a suspended/backgrounded state (by clicking the Home button) then after a few seconds, reopen the app before proceeding to re-suspend, quit, or close the emulator. This should ensure our SDK will send a final bundle back to our servers for the session.

Need to get in touch with us?

The FullStory Team awaits your every question.

Contact us