PathContext
A GlobalContext describing the path where the user is when an event is sent.
graph LR
AbstractContext["AbstractContext<span class='properties'>id: string<br /></span>"] --> AbstractGlobalContext;
AbstractGlobalContext --> PathContext;
class PathContext diagramActive
click AbstractGlobalContext "/docs/taxonomy/global-contexts" "See details" _self
Diagram: PathContext inheritance
Inherited Properties
| type | description | |
|---|---|---|
| id | string | A unique string identifier to be combined with the Context Type (_type) for Context instance uniqueness. |
setting of the id & type
The tracker will automatically set the id and _type based on path on web (including URL parameters, hashes) and pathname on native. When this is not possible on a specific platform, it will ask for a manual id and _type to be set.