<!-- Do not edit this file. It is automatically generated by API Documenter. -->

[Home](./index.md) &gt; [@snowplow/react-native-tracker](./react-native-tracker.md) &gt; [SessionConfiguration](./react-native-tracker.sessionconfiguration.md)

## SessionConfiguration interface

Configuration for session tracking

<b>Signature:</b>

```typescript
export interface SessionConfiguration 
```

## Properties

|  Property | Type | Description |
|  --- | --- | --- |
|  [backgroundSessionTimeout?](./react-native-tracker.sessionconfiguration.backgroundsessiontimeout.md) | number | <i>(Optional)</i> The amount of time in seconds before the session id is updated while the app is in the background |
|  [foregroundSessionTimeout?](./react-native-tracker.sessionconfiguration.foregroundsessiontimeout.md) | number | <i>(Optional)</i> The amount of time in seconds before the session id is updated while the app is in the foreground |
|  [sessionContext?](./react-native-tracker.sessionconfiguration.sessioncontext.md) | boolean | <i>(Optional)</i> Whether session context is attached to tracked events. |

