SessionContext

A GlobalContext describing meta information about the current session.

graph LR AbstractContext["AbstractContext<br><span class='properties'>id: string<br />_type: string</span>"] --> AbstractGlobalContext; AbstractGlobalContext --> SessionContext["SessionContext<br><span class='properties'>hit_number: integer</span>"]; class SessionContext diagramActive; click AbstractGlobalContext "/docs/taxonomy/global-contexts" "See details" _self

Diagram: SessionContext inheritance

Properties

typedescription
idstringUnique string to be combined with the Context Type (_type) for Context instance uniqueness.
_typestringString literal used during serialization. Should always match the Context interface name.
hit_numberintegerHit counter relative to the current session, this event originated in.
setting of properties

The tracker will automatically set all the properties and assign a hit_number.