How are sessions defined?

A session starts when a unique user opens the app and initializes Leanplum (calling Leanplum.start). The session end is defined by 30 minutes or more inactivity after the app is closed or backgrounded.

For example: If the user leaves the app and returns 10 minutes later, it will roll into one session. If the user leaves the app and returns 35 minutes later, it will count as 2 sessions. If the app remains open but inactive for 2 or more hours, the session will close.

Sessions are the basis of how many normalized metrics (e.g. purchases per day, events per user, etc.) are calculated. Contact with any additional questions on how sessions are defined.

Note: The session will end if a user force quits the app.

Was this article helpful?
Have more questions? Submit a request