Menu
Amazon Mobile Analytics
User Guide

Managing Sessions

Mobile Analytics reports app usage data based on activity captured within sessions. A session is a period of time during which the app is active on the device. A session begins when an app is launched or brought to the foreground, and ends when the app is terminated or goes to the background. There is an inactivity period of up to 5 seconds, so a brief interruption, like receiving a text message, does not count as a new session.

Mobile Analytics tracks sessions and events submitted during each session to generate the reports displayed in the console. Total Daily Sessions shows the number of sessions your app has each day. Average Sessions per Daily Active User shows the mean number of sessions per user per day.

Managing Sessions in iOS or Android Apps

Apps that use the AWS Mobile SDK for iOS or AWS Mobile SDK for Android to access Mobile Analytics start a session when they create the service object for their platform. To manage a running session, the app must additionally create the session object. This session object gives your app access to session management.

For information about managing sessions in iOS or Android apps, see:

Managing Sessions in JavaScript Apps

JavaScript apps must include the AWS Mobile SDK for JavaScript in the Browser as well as the Amazon Mobile Analytics SDK for JavaScript When your app starts, it must create an AMA.Manager object, which starts a session and gives your app access to session management.

For information about managing sessions in JavaScript apps, see the Amazon Mobile Analytics SDK for JavaScript.

Managing Sessions in Unity or Xamarin Apps

When your app starts, it should start a session that Mobile Analytics can then begin to track. Apps that use the AWS Mobile SDK for Unity or Xamarin to access Mobile Analytics automatically start a session when they create the service object. The service object gives your app access to session management.

For information about session management in Unity and Xamarin apps, refer to