browser-tracker.clientsession
Home > @snowplow/browser-tracker > ClientSession
ClientSession interface
Schema for client client session context entity
Signature:interface ClientSession extends Record<string, unknown>
Extends: Record<string, unknown>
Properties
Property | Type | Description |
---|---|---|
eventIndex | number | Index of the current event in the session |
firstEventId | string | null | Identifier of the first event for this session |
firstEventTimestamp | string | null | Date-time timestamp of when the first event in the session was tracked |
previousSessionId | string | null | The previous session identifier for this user |
sessionId | string | An identifier for the session (same as domain_sessionid) |
sessionIndex | number | The index of the current session for this user (same as domain_sessionidx) |
storageMechanism | string | The mechanism that the session information has been stored on the device |
userId | string | An identifier for the user of the session (same as domain_userid) |