User clicked
Learn how to track when a user clicks or taps on the screen.
This event tracks when a user interacts with the screen. Here, "click" is a general term that covers any pointing interaction, whether it's a mouse click, a tap on a touchscreen, or a press with a digital pen.
To avoid flooding with rapid clicks, only one event is recorded per 500ms interval.
The SDK automatically tracks this event when a user clicks or taps on the screen.
Input properties
This event has no input properties.
Processed properties
These properties are automatically tracked:
- pointobject
- surfaceSize(optional)object
The total dimensions of the interactive surface, in pixels.
This represents the entire area where interactions can occur, not just the visible portion. For example, on a web page, this would be the full document size, including content below the fold. In a mobile app, it would be the entire scrollable screen area.
Payload examples
Below are some payload examples for this event:
{ "type": "userClicked", "point": { "x": 450, "y": 320 }, "surfaceSize": { "width": 1920, "height": 3200 }}