CookieIdContext

A GlobalContext describing information needed to reconstruct a user session.

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

Diagram: CookieIdContext 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.
cookie_idstringUnique identifier from the session cookie.
setting of properties

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