PressEvent

An InteractiveEvent that is sent when a user presses on a pressable element (like a link, button, icon). Optionally, add an InputValueContext to track the input value(s) from the user.

graph LR AbstractEvent["AbstractEvent<span class='requires_context_and_properties'><span class='requires_context'>requires:<br />ApplicationContext<br /></span><span class='properties'>location_stack: LocationStack<br />global_contexts: GlobalContexts<br />id: uuid<br />time: integer<br /></span></span>"] --> InteractiveEvent["InteractiveEvent<span class='requires_context'>requires:<br />RootLocationContext<br />PathContext<br /></span><span class='properties'></span>"]; InteractiveEvent["InteractiveEvent<span class='requires_context'>requires:<br />RootLocationContext<br />PathContext<br /></span><span class='properties'></span>"] --> PressEvent["PressEvent<span class='requires_context'>requires:<br />PressableContext<br /></span><span class='properties'></span>"]; class PressEvent diagramActive click AbstractEvent "/docs/taxonomy/events" "See details" _self click InteractiveEvent "/docs/taxonomy/reference/events/InteractiveEvent" "See details" _self

Diagram: PressEvent inheritance

Requires

Inherited Properties

typedescription
location_stackLocationStackThe LocationStack is an ordered list (a stack) containing a hierarchy of LocationContexts, which deterministically describes where in the UI of an application an Event took place.
global_contextsGlobalContextsGlobalContexts add global/general information about the state in which an Event happened, such as a user's identity and marketing information. They do not carry information related to where the Event originated (location), which instead is captured by the LocationStack.
iduuidUnique identifier for a specific instance of an event.
timeintegerTimestamp indicating when the event was generated.

Validation Rules

setting of properties

The tracker will automatically set all the properties.