Metric: Start Timer
Last updated
Last updated
The Metric: Start Timer Action is one of the ways to gather data on how Apps are being used. When this Action is triggered, it begins a timer with the specified key. When the Metric: Stop Timer Action is called with the key of a running timer, the total time elapsed is gathered in the [reporting] (reporting.md) dashboard.
To track how long a customer spends filling out each part of a data entry flow. This could be accomplished by running the Metric: Start Timer Action when the user presses the "Continue" button at each stage.
To track the average time a user spends in each branch of a Voice Bot.
The key that identifies this timer. When the Metric: Stop Timer Action is run with the same key, it will send the total elapsed time to the Reports dashboard. This key must be unique. If Metric: Start Timer is called with the same key as a running timer, there will be no effect.
If the Metric: Stop Timer Action is not called, no data will be sent to the reporting dashboard. To see the report go to Console, select the app, and click on Manage App > View Report.
In this example, this action is used to track statistics on how long it takes customers to fill out a form in the app.
To see the report go to Console, select the app, and click on Manage App > View Report.