react-native-tracker.sessionconfiguration
Home > @snowplow/react-native-tracker > SessionConfiguration
SessionConfiguration interface
Configuration for session tracking
Signature:export interface SessionConfiguration
Properties
| Property | Type | Description |
|---|---|---|
| backgroundSessionTimeout? | number | (Optional) The amount of time in seconds before the session id is updated while the app is in the background |
| foregroundSessionTimeout? | number | (Optional) The amount of time in seconds before the session id is updated while the app is in the foreground |
| sessionContext? | boolean | (Optional) Whether session context is attached to tracked events. |