Actions

An action corresponds to a user activity such as a click, a tap, a scroll etc. From the observability perspective, an action has quite a few important properties that can provide insights into users' behaviour patterns. They also inherit properties from the active parent view.

Property

Description

Example

Usage

Property

Description

Example

Usage

Action.id

Unique identifier for every action

f58b24dd-d781-47be-ad6c-0f89af469e46

Distinguish actions, even ones with the same name

Action.name

concatenation of the user activity and the UI element (target) it was performed on. Many distinct actions may have the same name eg a user clicking the same button twice or two different users clicking on the same button in separate sessions.

click on Trace Analytics

Group actions by name to see the count of the most frequently performed action

Action.loading_time

The loading time of the action. It is calculated from the time the user interacts with a UI target to the time that the page has no more activity.

165 ms

Filter actions that have loading times in a certain time range, or perform percentile analytics to profile the slowest or critical ones

Action.long_task.count

Any browser task that blocks the main thread for more than 50ms is a long_task

2

Filter actions that have long_task.count in a certain range

Action.resource.count

A resource event is triggered for a resource fetch such as images, XHR, Fetch, CSS, or JS libraries loaded on a webpage

10

Get the median (percentile 50) count of resource fetches per action

Action.error_count

UI error emitted by the browser

0

Get the actions with the most errors to isolate workflows and steps that lead to frequent errors