Inactivity Handling
Users may walk away from their device or fail to close the experience. It is best practice for Metalitix to stop recording data to prevent negative influence on some metrics.
By default, Metalitix will automatically stop recording session metrics after 2 minutes of user inactivity (120,000 milliseconds).
The Metalitix Logger also provides functions for listening into inactivity events.
Function | Description |
---|---|
| Adds a callback (class that implements |
| Removes a previously added callback (class that implements |
| Removes all inactivity callbacks. |
Last updated