For up-to-date product documentation, see the IBM MobileFirst Foundation Developer Center.
Create a custom chart for average session duration
The duration of an app session is a valuable metric to visualize. With any app, we want to know the amount of time that users are spending on a particular session.
We can create a custom chart to view this type of information. To view average session duration in a custom chart, follow these steps.
Procedure
- Ensure that you are collecting app sessions as described in Initializing your app to capture app usage.
- In the MobileFirst Analytics Console, click Create Chart in the Custom Charts page of the Dashboard section.
- Give your chart a title.
- Select App Session for Event Type.
- Select Bar Graph for Chart Type.
- Click Next.
- Select Timeline for X-Axis.
- Select Average for Y-Axis.
- Select Duration for Property.
- Click Save.
Results
A bar graph is created that displays average app session duration over time. We can enhance this chart by adding a threshold or chart filters. For more information, see Custom charts.
Parent topic: App usage analytics