Initializing your app to capture app usage

App usage measures the number of times a specific app is brought to the foreground, and then sent to the background. To capture app usage in your mobile app, the MobileFirst Analytics client SDK must be configured to listen for the app lifecycle events.

About this task

You can use the MobileFirst Analytics API to capture app usage. Make sure you have first created a relevant device listener.