User action

  • Reference
  • Published Jan 14, 2026

User action

Semantic conventions for user action events in Dynatrace RUM. User action capturing is an upcoming feature of Dynatrace RUM that will be available soon.

Query

This query searches for all user actions.

fetch user.events
| filter characteristics.has_user_action == true

User action characteristics

AttributeTypeDescriptionExamples
characteristics.classifierstringexperimental
Fixed value other.
other
characteristics.has_navigationbooleanexperimental
Primary characteristic: If set to true, the user event contains navigation information.
true
characteristics.has_user_actionbooleanexperimental
Fixed value true.
true
characteristics.is_api_reportedbooleanexperimental
Additional characteristic: If set to true, the user event was sent using the Dynatrace API.
true

User action attributes

AttributeTypeDescriptionExamples
user_action.instance_iduidexperimental
A random ID that is generated for every user action. The user_action.instance_id is an 8-byte ID and hex-encoded if shown as a string.
f76281848bd8288c
user_action.typestringexperimental
The user action type.
xhr
user_action.custom_namestringdeprecatedThe attribute user_action.custom_name will be replaced with user_action.name soon.
The user action name reported via the Dynatrace API.
FooBar - Title
user_action.interrupted_by_instance_iduidexperimental
The user_action.instance_id of the user action that interrupted this user action.
f76281848bd8288c
user_action.interrupted_instance_iduidexperimental
The user_action.instance_id of the user action that was interrupted by this user action.
f76281848bd8288c
user_action.mutation_countlongexperimental
The number of DOM mutations during the lifespan of the user action.
3
user_action.requests.pending_request_countlongexperimental
The number of requests that were pending when the user action finished.
2
user_action.requests.data_url_request_countlongexperimental
The number of requests to a data URL during the lifespan of the user action.
2
user_action.requests.countlongexperimental
The number of requests during the lifespan of the user action.
10
user_action.resources.countlongexperimental
The number of resources loaded during the lifespan of the user action.
9
user_action.resources.__initiator_type__.countlongexperimental
The number of resources loaded during the lifespan of the user action split by initiator type, for example, user_action.resources.xmlhttprequest.count. Known initiator types are xmlhttprequest, fetch, navigation, css, script, beacon, video, audio, track, img, image, input, a, iframe, frame, link, icon, internal, violationreport and other.
9
user_action.complete_reasonstringexperimental
The reason why the user action was completed.
timeout

user_action.type MUST be one of the following:

ValueDescription
apiThe user action was reported via the Dynatrace API.
soft_navigationThe user action was triggered by a soft navigation that led to a view change.
xhrThe user action was triggered by a user interaction, followed by an XHR or fetch request.

user_action.complete_reason MUST be one of the following:

ValueDescription
completedThe user action was normally completed.
completed_by_apiThe user action was completed using the Dynatrace API.
interrupted_by_apiThe user action was interrupted by a new user action started with the Dynatrace API.
interrupted_by_navigationThe user action was interrupted by a navigation.
interrupted_by_requestThe user action was interrupted by a request.
no_activityThe activity detection was triggered, but no user action was captured.
page_hideThe user action was closed because the page was left.
timeoutThe user action timed out.

User interaction attributes

AttributeTypeDescriptionExamples
dom_event.is_trustedbooleanexperimental
Interaction is genuine from real user and not a synthetic event.
true
interaction.namestringexperimental
Type of action performed by the user.
click
ui_element.custom_namestringexperimental
Custom name of the element. Filled by the data-dt-name or the data-dt-children-name DOM attribute. Limited to 32 characters.
Add to cart; Homepage logo
ui_element.namestringexperimental
User interface element name. Captured by precedence of aria-label > title > name > data-testid > content > id. In case of content and name, it's cropped to 32 chars. In case it is masked, precedence is aria-label > title > name > data-testid > id > "masked".
Add to cart; Homepage logo
ui_element.name_originstringexperimental
Field used to fill ui_element.name.
title; name; id; content; value
ui_element.tag_namestringexperimental
User interface element type. For web, it's the tag name. For mobile, it's the name of, for example, the controller or fragment
div; CartFragment

User action network attributes

AttributeTypeDescriptionExamples
network.protocol.namestringexperimental
OSI Application Layer or non-OSI equivalent. This is a mandatory field for request user events.
amqp; http; mqtt

User action URL attributes

AttributeTypeDescriptionExamples
url.domainstringexperimental
The URI domain component. This is extracted from url.full.
www.foo.bar; google.com; wikipedia.org
url.fragmentstringexperimental
The URI fragment component. This is extracted from url.full.
SemConv
url.fullstringexperimental
Absolute URL describing a network resource according to RFC3986. OneAgent for Mobile removes the optional user information subcomponent. This is a mandatory field for request user events.
Tags: sensitive-spans
https://www.foo.bar/docs/search?q=OpenTelemetry#SemConv
url.pathstringexperimental
The URI path component. This is extracted from url.full.
/docs/search
url.providerstringexperimental
The provider type for the host name of url.full. This information is determined by Dynatrace RUM resource detection.
third_party
url.querystringexperimental
The URI query component. This is extracted from url.full.
Tags: sensitive-spans
q=OpenTelemetry
url.schemestringexperimental
The URI scheme component identifying the used protocol. This is extracted from url.full.
https; ftp; telnet

User action span and trace attributes

AttributeTypeDescriptionExamples
span.iduidexperimental
A unique identifier for a span within a trace. The span.id is an 8-byte ID and hex-encoded if shown as a string. Only available if Dynatrace RUM starts a trace and sets the Trace Context HTTP headers.
f76281848bd8288c
trace.iduidexperimental
A unique identifier for a trace. The trace.id is a 16-byte ID and hex-encoded if shown as a string. Available if Dynatrace RUM starts a trace and sets the Trace Context HTTP headers or if RUM JavaScript captures the trace information reported by OneAgent via server-timing HTTP response header.
357bf70f3c617cb34584b31bd4616af8
trace.is_sampledbooleanexperimental
Flag indicating whether the trace was sampled out. If set to true, the trace is recorded. If set to false, the trace is ignored. Only available if RUM JavaScript captures the trace information reported by OneAgent via server-timing HTTP response header. Not supported by OneAgent for Mobile.
true; false

User action request trace context hint attribute

AttributeTypeDescriptionExamples
request.trace_context_hintstringexperimental
Indicates if and why Dynatrace RUM set the W3C Trace Context headers on the request.
excluded
request.server_timing_hintstringexperimental
Indicates if and why RUM JavaScript received trace information from OneAgent via the browser's performance API (PerformanceServerTiming interface).
received

request.trace_context_hint MUST be one of the following:

ValueDescription
api_setTrace Context headers were set using the Dyntrace API.
api_unusedTrace Context headers were not set in the customer code using the Dyntrace API, therefore it’s expected that the header is not set.
cross_originTrace Context headers were not set because the request is a cross-origin request.
disabledTrace Context headers were not set for the request because the feature is disabled.
excludedTrace Context headers were not set because the request is excluded by configuration.
externalTrace Context headers were not set because the traceparent HTTP request header was already available.
from_serverTrace Context headers were set based on the request's server-timing HTTP response header.
includedTrace Context headers were set because the request is included by configuration.
invalidTrace Context headers were not set because the traceparent HTTP request header was already available but invalid according to the W3C specification.
max_lengthTrace Context headers were not set because the maximum length for the tracestate entry was exceeded.
missing_valuesTrace Context headers were not set because mandatory values were not available to Dyntrace RUM.
not_httpTrace Context headers were not set because the request is not an HTTP request.
not_initializedTrace Context headers were not set because the initial configuration was not received.
not_setTrace Context headers were not set for the request.
setTrace Context headers were set for the request.

request.server_timing_hint MUST be one of the following:

ValueDescription
invalidRUM JavaScript ignored invalid trace information.
mismatchRUM JavaScript received trace information that doesn't match the Trace Context headers.
no_trace_infoNo trace information available.
not_availableServer-Timing not available.
receivedRUM JavaScript received valid trace information.

User action error attributes

AttributeTypeDescriptionExamples
error.csp_violation_countlongexperimental
The number of CSP rule violations.
1
error.dropped_exception_countlongexperimental
The number of exceptions that are observed, but which are not captured due to error capture limits.
1
error.exception_countlongexperimental
The total number of exceptions that are observed, including exceptions that are not captured.
1
error.http_4xx_countlongexperimental
The number of HTTP request errors with an http.response.status_code of 400-499.
1
error.http_5xx_countlongexperimental
The number of HTTP request errors with an http.response.status_code of 500-599.
1
error.http_other_countlongexperimental
The number of HTTP request errors with an http.response.status_code of 0-99 or 600+ (undefined errors).
1

User action web vitals attributes

AttributeTypeDescriptionExamples
web_vitals.cumulative_layout_shiftdoubleexperimental
The Cumulative Layout Shift (CLS) value.
0.1279
web_vitals.first_inputdurationexperimental
The First Input value.
6000000
web_vitals.first_input_delaydurationexperimental
The First Input Delay (FID) value.
6000000
web_vitals.interaction_to_next_paintdurationexperimental
The Interaction to Next Paint (INP) value.
190000000
web_vitals.largest_contentful_paintdurationexperimental
The Largest Contentful Paint (LCP) value.
880000000

User action Largest Contentful Paint (LCP) attributes

The Largest Contentful Paint (LCP) attributes contain additional information about the captured web_vitals.largest_contentful_paint.

AttributeTypeDescriptionExamples
lcp.statusstringexperimental
The status information for LCP.
reported
lcp.update_countlongexperimental
The number of LCP updates during the entire lifespan.
0
lcp.start_timedoubleexperimental
The value of the LCP object's startTime property. The unit is milliseconds.
880.0
lcp.urlstringexperimental
If the element is an image, the request URL of the image.
https://www.foo.bar/images/image.png
lcp.load_timedoubleexperimental
The value of the LCP object's loadTime property (the time the element was loaded). The unit is milliseconds. In case the element finished to load but the browser did not render it yet, a negative value is reported.
874.0
lcp.render_timedoubleexperimental
The value of the LCP object's renderTime property (the time that the element was rendered). The unit is milliseconds.
880.0
lcp.sizelongexperimental
The intrinsic size of the element representing its area on the screen. The value is equal to the element's width multiplied by its height, in pixels.
53640
lcp.idstringexperimental
The element's ID.
productLogo
lcp.ui_element.xpathstring[]experimental
The element's xpath. Might be missing, for example, for element's that are inside a shadow DOM.
['html[1]', 'body[1]', 'div[@id="elementId"]', 'section[1]', 'form[1]', 'div[5]', 'button[1]']
lcp.ui_element.tag_namestringexperimental
The element's tag name. Might be missing, for example, for element's that are inside a shadow DOM.
BUTTON
lcp.ui_element.render_delaydoubleexperimental
The element's render delay, that is the time between when the element finishes loading and when it is fully rendered. The unit is milliseconds. Only available if a resource timing is available for the element.
100.0
lcp.resource.load_delaydoubleexperimental
The resource's load delay, that is the time between Time to First Byte and when the browser starts loading the resource. The unit is milliseconds. Only available if a resource timing is available for the resource.
400.0
lcp.resource.load_durationdoubleexperimental
The resource's load duration, that is the total time it takes to load the resource. The unit is milliseconds. Only available if a resource timing is available for the resource.
300.0

lcp.status MUST be one of the following:

ValueDescription
backgroundedLCP is not reported because the browser tab was loaded in the background.
disabledLCP is not reported because capturing of page and view summaries is disabled (only used for activity events).
not_reportedLCP is not reported because no content was rendered.
not_supportedLCP is not supported by the browser.
reportedLCP is reported.

User action First Input Delay (FID) attributes

The First Input Delay (FID) attributes contain additional information about the captured web_vitals.first_input_delay.

AttributeTypeDescriptionExamples
fid.statusstringexperimental
The status information for FID.
not_reported
fid.loading_statestringexperimental
The document's loading state recorded at the point in time when the FID was captured.
complete
fid.start_timedoubleexperimental
The value of the FID object's startTime property. The unit is milliseconds.
13427.0
fid.durationdoubleexperimental
The value of the FID object's duration property. The unit is milliseconds.
24.0
fid.namestringexperimental
The value of the FID object's name property (the user interaction event).
click
fid.processing_startdoubleexperimental
The value of the FID object's processingStart property. The unit is milliseconds.
13433.0
fid.processing_enddoubleexperimental
The value of the FID object's processingEnd property. The unit is milliseconds.
13433.0
fid.processing_durationdoubleexperimental
How long it took for the event handler to execute. This is calculated as fid.processing_end minus fid.processing_start.
0.0
fid.cancelablebooleanexperimental
The value of the FID object's cancelable property.
true
fid.ui_element.xpathstring[]experimental
The element's xpath. Might be missing, for example, for element's that are inside a shadow DOM.
['html[1]', 'body[1]', 'div[@id="elementId"]', 'section[1]', 'form[1]', 'div[5]', 'button[1]']
fid.ui_element.tag_namestringexperimental
The element's tag name. Might be missing, for example, for element's that are inside a shadow DOM.
BUTTON

fid.status MUST be one of the following:

ValueDescription
disabledFID is not reported because capturing of page and view summaries is disabled (only used for activity events).
not_reportedFID is not reported because there was no user interaction.
not_supportedFID is not supported by the browser.
reportedFID is reported.

fid.loading_state MUST be one of the following:

ValueDescription
completeThe document and all sub-resources have finished loading.
dom_content_loadedThe document has been parsed and deferred scripts have finished loading but other sub-resources such as async scripts, images, stylesheets, and frames are still loading.
dom_interactiveThe document has finished loading and the document has been parsed but sub-resources such as scripts, images, stylesheets, and frames are still loading.
loadingThe document is still loading.

User action Interaction to Next Paint (INP) attributes

The Interaction to Next Paint (INP) attributes contain additional information about the captured web_vitals.interaction_to_next_paint.

AttributeTypeDescriptionExamples
inp.statusstringexperimental
The status information for INP.
reported
inp.update_countlongexperimental
The number of INP updates during the entire lifespan.
0
inp.interaction_countlongexperimental
The number of interactions, during the entire lifespan, that exceed 40 milliseconds.
0
inp.loading_statestringexperimental
The document's loading state recorded at the point in time when the INP was captured.
complete
inp.start_timedoubleexperimental
The value of the INP object's startTime property. The unit is milliseconds.
13427.0
inp.durationdoubleexperimental
The value of the INP object's duration property. The unit is milliseconds.
24.0
inp.namestringexperimental
The value of the INP object's name property (the user interaction event).
click
inp.processing_startdoubleexperimental
The value of the INP object's processingStart property. The unit is milliseconds.
13433.0
inp.processing_enddoubleexperimental
The value of the INP object's processingEnd property. The unit is milliseconds.
13433.0
inp.processing_durationdoubleexperimental
How long it took for the event handler to execute. This is calculated as inp.processing_end minus inp.processing_start.
0.0
inp.cancelablebooleanexperimental
The value of the INP object's cancelable property.
true
inp.ui_element.xpathstring[]experimental
The element's xpath. Might be missing, for example, for element's that are inside a shadow DOM.
['html[1]', 'body[1]', 'div[@id="elementId"]', 'section[1]', 'form[1]', 'div[5]', 'button[1]']
inp.ui_element.tag_namestringexperimental
The element's tag name. Might be missing, for example, for element's that are inside a shadow DOM.
BUTTON

inp.status MUST be one of the following:

ValueDescription
below_thresholdINP is not reported because the value is below the threshold of 40 milliseconds.
disabledINP is not reported because capturing of page and view summaries is disabled (only used for activity events).
not_reportedINP is not reported because no relevant user interaction happened.
not_supportedINP is not supported by the browser.
reportedINP is reported.

inp.loading_state MUST be one of the following:

ValueDescription
completeThe document and all sub-resources have finished loading.
dom_content_loadedThe document has been parsed and deferred scripts have finished loading but other sub-resources such as async scripts, images, stylesheets, and frames are still loading.
dom_interactiveThe document has finished loading and the document has been parsed but sub-resources such as scripts, images, stylesheets, and frames are still loading.
loadingThe document is still loading.

User action Cumulative Layout Shift (CLS) attributes

The Cumulative Layout Shift (CLS) attributes contain additional information about the captured web_vitals.cumulative_layout_shift.

AttributeTypeDescriptionExamples
cls.statusstringexperimental
The status information for CLS.
not_supported
cls.update_countlongexperimental
The number of CLS updates during the entire lifespan.
0
cls.loading_statestringexperimental
The document's loading state recorded at the point in time when the CLS was captured.
complete
cls.valuedoubleexperimental
The final CLS value.
0.1279
cls.ui_element.xpathstring[]experimental
The xpath of the element causing the largest layout shift. Might be missing, for example, for elements that are inside a shadow DOM.
['html[1]', 'body[1]', 'div[@id="elementId"]', 'section[1]', 'form[1]', 'div[5]', 'button[1]']
cls.ui_element.tag_namestringexperimental
The tag name of the element causing the largest layout shift. Might be missing, for example, for elements that are inside a shadow DOM.
BUTTON
cls.ui_element.shift_timedoubleexperimental
The time when the largest layout shift occurred. The value is relative to start_time. The unit is milliseconds.
2066.9
cls.ui_element.shift_valuedoubleexperimental
The layout shift score of the element causing the largest layout shift.
0.11

cls.status MUST be one of the following:

ValueDescription
disabledCLS is not reported because capturing of page and view summaries is disabled (only used for activity events).
not_reportedCLS is not reported.
not_supportedCLS is not supported by the browser.
reportedCLS is reported.

cls.loading_state MUST be one of the following:

ValueDescription
completeThe document and all sub-resources have finished loading.
dom_content_loadedThe document has been parsed and deferred scripts have finished loading but other sub-resources such as async scripts, images, stylesheets, and frames are still loading.
dom_interactiveThe document has finished loading and the document has been parsed but sub-resources such as scripts, images, stylesheets, and frames are still loading.
loadingThe document is still loading.

User action long task attributes

AttributeTypeDescriptionExamples
long_task.statusstringexperimental
The status information for long task information.
not_supported
long_task.all.countlongexperimental
The number of all long tasks observed during the entire lifespan.
2
long_task.all.avg_durationlongexperimental
The average duration of all observed long tasks in milliseconds.
60
long_task.all.slowest_occurrencesrecord[]experimental
The start time and the duration of the slowest observed long tasks in milliseconds. The start time is relative to the user event's start_time.
{'duration': 60, 'start_time': 1234}; {'duration': 58, 'start_time': 2999}
long_task.self.countlongexperimental
The number of long tasks from the same browser context or frame observed during the entire lifespan. Only long tasks with long_task.name set to self are considered.
2
long_task.self.avg_durationlongexperimental
The average duration of the observed long tasks from the same browser context or frame in milliseconds. Only long tasks with long_task.name set to self are considered.
60
long_task.self.slowest_occurrencesrecord[]experimental
The start time and the duration of the slowest observed long tasks from the same browser context or frame in milliseconds. The start time is relative to the user event's start_time. Only long tasks with long_task.name set to self are considered.
{'duration': 60, 'start_time': 1234}; {'duration': 58, 'start_time': 2999}

long_task.status MUST be one of the following:

ValueDescription
disabledLong task information is not reported because capturing of page and view summaries is disabled (only used for activity events).
not_reportedLong task information is not reported because no long task was observed.
not_supportedLong tasks API is not supported by the browser.
reportedLong task information is reported.

User action navigation attributes

In case a soft navigation happens during the lifespan of an activity, the activity event also contains the navigation attributes that are defined in the navigation model.