RUM 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.
- Action.id
-
Unique identifier for every action.
- 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.
- 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.
- Action.long_task.count
-
Any browser task that blocks the main thread for more than 50ms is a
long_task
. - 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.
- Action.error_count
-
UI error emitted by the browser.