Skip to content
This repository was archived by the owner on Dec 11, 2025. It is now read-only.

Latest commit

 

History

History
28 lines (20 loc) · 1.65 KB

File metadata and controls

28 lines (20 loc) · 1.65 KB

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)