Try it free

User interactions

  • Latest Dynatrace
  • Reference

User interaction events capture specific user interactions such as clicks, scrolls, and other gestures within the application.

User interaction

A user interaction represents a standalone activity, such as a click or tap, performed by a user in an application. User interactions are captured independently of any resulting requests, which are included in user actions. Supported by RUM JavaScript and OneAgent for Mobile.

User event characteristics and common fields

AttributeTypeDescriptionExamples
characteristics.has_user_interactionbooleanstable
Fixed value true.
true
dom_event.is_trustedbooleanexperimental
Interaction is genuine from real user and not a synthetic event.
true
interaction.namestringdeprecatedReplaced with interaction.type.
Type of action performed by the user.
click
interaction.typestringexperimental
Type of action performed by the user. Mobile is limited to touch, gesture, and rotation; all other values are web only.
click
positionsrecord[]experimental
An array of {x, y, (start_time), (pointer), (released)} positions of the mouse or finger. Time units are nanoseconds. Mandatory for click, touch, mouse_over, scroll, drag, drop, and gesture. Not reported for resize, zoom, selection, change, blur, focus, key_press, and rotation.
[{'x': 200, 'y': 400}]; [{'x': 200, 'y': 400, 'start_time:500': None}, {'x': 200, 'y': 450, 'start_time': 900}]; [{'x': 701, 'y': 1714, 'pointer': 0}, {'x': 691, 'y': 1605, 'pointer': 0, 'start_time': 44}, {'x': 610, 'y': 685, 'pointer': 0, 'start_time': 151, 'released': True}]

Blur events

interaction.name = blur

Only if attribute data-dt-blur is present

UI element fields

AttributeTypeDescriptionExamples
ui_element.accessibility_idstringdeprecated
For mobile only. The accessibility ID of the element.
cartButtonID
ui_element.altstringexperimental
For web and <img> only. Alternative text for an image.
Birds flying over the sea
ui_element.ancestor.accessibility_idstringdeprecated
For mobile only. The accessibility ID of the element.
cartButtonID
ui_element.ancestor.altstringexperimental
For web and <img> only. Alternative text for an image.
Birds flying over the sea
ui_element.ancestor.componentstringdeprecatedReplaced with ui_element.ancestor.components
For web only. A list of components as coded in the current and ancestor elements in DOM attribute data-dt-component.
UIButtonLabel
ui_element.ancestor.componentsstring[]experimental
For web only. A list of components as coded in the current and ancestor elements in DOM attribute data-dt-component.
['Datepicker', 'Button']
ui_element.ancestor.css_classstring[]experimental
For web only. All classes for the ancestor element. Only available if ui_element has no name or custom_name.
['button--primary', 'slideshow__image--selected']
ui_element.ancestor.custom_namestringexperimental
Custom name of the ancestor. Filled by the data-dt-name or the data-dt-children-name DOM attribute. Only available if ui_element has no name or custom_name.
Add to cart; Homepage logo
ui_element.ancestor.featuresstring[]experimental
Grouping of elements into features filled from the data-dt-features DOM attribute as comma separated values. Inherits all values from all ancestors. Only available if ui_element has no name or custom_name.
['filter', 'menu']
ui_element.ancestor.href.fullstringexperimental
For web and <a> only. URL of the link converted to an absolute URL.
https://dynatrace.com
ui_element.ancestor.idstringexperimental
For mobile only. Unique identifier of the component. Dependent on the technology and its possibilities.
UIButtonLabel_234
ui_element.ancestor.namestringexperimental
User interface element name of first element up in the hierarchy with a defined name. Captured by precedence of aria-label > title > name > data-testid > placeholder > content > id. In case it is masked, precedence is aria-label > title > name > data-testid > placeholder > id > "masked". Only available if ui_element has no name or custom_name.
Add to cart; Homepage logo
ui_element.ancestor.name_originstringexperimental
Field used to fill ui_element.ancestor.name. Only available if ui_element has no name or custom_name.
title; name; id; content; value
ui_element.ancestor.propertiesstring[]experimental
Custom data added in the data-dt-properties DOM attribute. Taken from the closest element carrying data-dt-properties or data-dt-children-properties, starting at the element itself and traversing up. Values are not merged across levels; the innermost one wins. Only available if ui_element has no name or custom_name.
['theme:dark', 'expanded:true']
ui_element.ancestor.src.fullstringexperimental
For web and <img> only. Source URL of the image converted to an absolute URL. If the image src is a "data://" url, the field will be "data".
birds_over_sea.png; data
ui_element.ancestor.tag_namestringexperimental
Ancestor element type. For web, it's the tag name. For mobile, it's the name of, for example, the controller or fragment. Only available if ui_element has no name or custom_name.
div; CartFragment
ui_element.ancestor.xpathstring[]experimental
For web only. The xpath of the user interface element ancestor split as an array.
['//*[@id="cart"]', 'div', 'div']
ui_element.componentstringdeprecatedReplaced with ui_element.components
Usage depends on web or mobile. For web: a list of components as coded in the current and ancestor elements in DOM attribute data-dt-component. For mobile: the type of component. Dependent on the technology and its possibilities.
UIButtonLabel
ui_element.componentsstring[]experimental
Usage depends on web or mobile. For web: a list of components as coded in the current and ancestor elements in DOM attribute data-dt-component. For mobile: the type of component. Dependent on the technology and its possibilities.
['Navbar', 'Datepicker']
ui_element.css_classstring[]experimental
For web only. All classes for the current element.
['button--primary', 'slideshow__image--selected']
ui_element.custom_namestringexperimental
Custom name of the element. Filled by the data-dt-name or the data-dt-children-name DOM attribute.
Add to cart; Homepage logo
ui_element.detected_namestringexperimental
User interface element name. Captured by precedence of aria-label > title > name > data-testid > placeholder > content > id. In case it is masked, precedence is aria-label > title > name > data-testid > placeholder > id > "masked".
Add to cart; Homepage logo
ui_element.featuresstring[]experimental
Grouping of elements into features filled from the data-dt-features DOM attribute as comma separated values. Inherits all values from all ancestors.
['filter', 'menu']
ui_element.href.fullstringexperimental
For web and <a> only. URL of the link converted to an absolute URL.
/; https://dynatrace.com
ui_element.idstringexperimental
For mobile, the unique identifier of the component. Depends on the technology and its possibilities. For web, the id attribute of the element, if present.
UIButtonLabel_234
ui_element.namestringexperimental
Name of the element taken from the following fields by priority: ui_element.custom_name, ui_element.name, ui_element.ancestor.custom_name, ui_element.ancestor.name
Add to cart; Homepage logo
ui_element.name_originstringexperimental
Field used to fill ui_element.name.
title; name; id; content; value
ui_element.propertiesstring[]experimental
Custom data added in the data-dt-properties DOM attribute. Taken from the closest element carrying data-dt-properties or data-dt-children-properties, starting at the element itself and traversing up. Values are not merged across levels; the innermost one wins.
['theme:dark', 'expanded:true']
ui_element.resolved_namestringdeprecatedReplaced with ui_element.name
Name of the element taken from the following fields by priority: ui_element.custom_name, ui_element.name, ui_element.ancestor.custom_name, ui_element.ancestor.name
Add to cart; Homepage logo
ui_element.responder.componentsstring[]experimental
For mobile only. Relates to the element responding to the interaction. Type of component. Dependent on the technology and its possibilities.
['UIButtonLabel']
ui_element.responder.detected_namestringexperimental
For mobile only. Relates to the element responding to the interaction. User interface element name of element.
Add to cart; Homepage logo
ui_element.responder.idstringexperimental
For mobile only. Relates to the element responding to the interaction. Unique identifier of the component. Dependent on the technology and its possibilities.
UIButtonLabel_234
ui_element.responder.name_originstringexperimental
For mobile only. Relates to the element responding to the interaction. Field used to fill ui_element.responder.name.
title
ui_element.src.fullstringexperimental
For web and <img> only. Source URL of the image converted to an absolute URL. If the image src is a "data://" url, the field will be "data".
birds_over_sea.png; data
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
ui_element.xpathstring[]experimental
For web only. The xpath of the user interface element split as an array. If the element is inside a shadow DOM, only the outer part is considered.
['//*[@id="cart"]', 'div', 'div']

Change events

interaction.name = change

UI element fields

AttributeTypeDescriptionExamples
ui_element.accessibility_idstringdeprecated
For mobile only. The accessibility ID of the element.
cartButtonID
ui_element.altstringexperimental
For web and <img> only. Alternative text for an image.
Birds flying over the sea
ui_element.ancestor.accessibility_idstringdeprecated
For mobile only. The accessibility ID of the element.
cartButtonID
ui_element.ancestor.altstringexperimental
For web and <img> only. Alternative text for an image.
Birds flying over the sea
ui_element.ancestor.componentstringdeprecatedReplaced with ui_element.ancestor.components
For web only. A list of components as coded in the current and ancestor elements in DOM attribute data-dt-component.
UIButtonLabel
ui_element.ancestor.componentsstring[]experimental
For web only. A list of components as coded in the current and ancestor elements in DOM attribute data-dt-component.
['Datepicker', 'Button']
ui_element.ancestor.css_classstring[]experimental
For web only. All classes for the ancestor element. Only available if ui_element has no name or custom_name.
['button--primary', 'slideshow__image--selected']
ui_element.ancestor.custom_namestringexperimental
Custom name of the ancestor. Filled by the data-dt-name or the data-dt-children-name DOM attribute. Only available if ui_element has no name or custom_name.
Add to cart; Homepage logo
ui_element.ancestor.featuresstring[]experimental
Grouping of elements into features filled from the data-dt-features DOM attribute as comma separated values. Inherits all values from all ancestors. Only available if ui_element has no name or custom_name.
['filter', 'menu']
ui_element.ancestor.href.fullstringexperimental
For web and <a> only. URL of the link converted to an absolute URL.
https://dynatrace.com
ui_element.ancestor.idstringexperimental
For mobile only. Unique identifier of the component. Dependent on the technology and its possibilities.
UIButtonLabel_234
ui_element.ancestor.namestringexperimental
User interface element name of first element up in the hierarchy with a defined name. Captured by precedence of aria-label > title > name > data-testid > placeholder > content > id. In case it is masked, precedence is aria-label > title > name > data-testid > placeholder > id > "masked". Only available if ui_element has no name or custom_name.
Add to cart; Homepage logo
ui_element.ancestor.name_originstringexperimental
Field used to fill ui_element.ancestor.name. Only available if ui_element has no name or custom_name.
title; name; id; content; value
ui_element.ancestor.propertiesstring[]experimental
Custom data added in the data-dt-properties DOM attribute. Taken from the closest element carrying data-dt-properties or data-dt-children-properties, starting at the element itself and traversing up. Values are not merged across levels; the innermost one wins. Only available if ui_element has no name or custom_name.
['theme:dark', 'expanded:true']
ui_element.ancestor.src.fullstringexperimental
For web and <img> only. Source URL of the image converted to an absolute URL. If the image src is a "data://" url, the field will be "data".
birds_over_sea.png; data
ui_element.ancestor.tag_namestringexperimental
Ancestor element type. For web, it's the tag name. For mobile, it's the name of, for example, the controller or fragment. Only available if ui_element has no name or custom_name.
div; CartFragment
ui_element.ancestor.xpathstring[]experimental
For web only. The xpath of the user interface element ancestor split as an array.
['//*[@id="cart"]', 'div', 'div']
ui_element.componentstringdeprecatedReplaced with ui_element.components
Usage depends on web or mobile. For web: a list of components as coded in the current and ancestor elements in DOM attribute data-dt-component. For mobile: the type of component. Dependent on the technology and its possibilities.
UIButtonLabel
ui_element.componentsstring[]experimental
Usage depends on web or mobile. For web: a list of components as coded in the current and ancestor elements in DOM attribute data-dt-component. For mobile: the type of component. Dependent on the technology and its possibilities.
['Navbar', 'Datepicker']
ui_element.css_classstring[]experimental
For web only. All classes for the current element.
['button--primary', 'slideshow__image--selected']
ui_element.custom_namestringexperimental
Custom name of the element. Filled by the data-dt-name or the data-dt-children-name DOM attribute.
Add to cart; Homepage logo
ui_element.detected_namestringexperimental
User interface element name. Captured by precedence of aria-label > title > name > data-testid > placeholder > content > id. In case it is masked, precedence is aria-label > title > name > data-testid > placeholder > id > "masked".
Add to cart; Homepage logo
ui_element.featuresstring[]experimental
Grouping of elements into features filled from the data-dt-features DOM attribute as comma separated values. Inherits all values from all ancestors.
['filter', 'menu']
ui_element.href.fullstringexperimental
For web and <a> only. URL of the link converted to an absolute URL.
/; https://dynatrace.com
ui_element.idstringexperimental
For mobile, the unique identifier of the component. Depends on the technology and its possibilities. For web, the id attribute of the element, if present.
UIButtonLabel_234
ui_element.namestringexperimental
Name of the element taken from the following fields by priority: ui_element.custom_name, ui_element.name, ui_element.ancestor.custom_name, ui_element.ancestor.name
Add to cart; Homepage logo
ui_element.name_originstringexperimental
Field used to fill ui_element.name.
title; name; id; content; value
ui_element.propertiesstring[]experimental
Custom data added in the data-dt-properties DOM attribute. Taken from the closest element carrying data-dt-properties or data-dt-children-properties, starting at the element itself and traversing up. Values are not merged across levels; the innermost one wins.
['theme:dark', 'expanded:true']
ui_element.resolved_namestringdeprecatedReplaced with ui_element.name
Name of the element taken from the following fields by priority: ui_element.custom_name, ui_element.name, ui_element.ancestor.custom_name, ui_element.ancestor.name
Add to cart; Homepage logo
ui_element.responder.componentsstring[]experimental
For mobile only. Relates to the element responding to the interaction. Type of component. Dependent on the technology and its possibilities.
['UIButtonLabel']
ui_element.responder.detected_namestringexperimental
For mobile only. Relates to the element responding to the interaction. User interface element name of element.
Add to cart; Homepage logo
ui_element.responder.idstringexperimental
For mobile only. Relates to the element responding to the interaction. Unique identifier of the component. Dependent on the technology and its possibilities.
UIButtonLabel_234
ui_element.responder.name_originstringexperimental
For mobile only. Relates to the element responding to the interaction. Field used to fill ui_element.responder.name.
title
ui_element.src.fullstringexperimental
For web and <img> only. Source URL of the image converted to an absolute URL. If the image src is a "data://" url, the field will be "data".
birds_over_sea.png; data
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
ui_element.xpathstring[]experimental
For web only. The xpath of the user interface element split as an array. If the element is inside a shadow DOM, only the outer part is considered.
['//*[@id="cart"]', 'div', 'div']

UI element value fields

AttributeTypeDescriptionExamples
ui_element.value.contentstringexperimental
Content of the form field. Only captured if the DOM attribute data-dt-value-content is present on the element or an ancestor has data-dt-children-value-content.
dark
ui_element.value.lengthlongexperimental
Only for some form elements: input and textarea. Length of the value.
89
ui_element.value.selection_countlongexperimental
Only for some form elements: checkbox, select, etc. Count of selected elements where more than one is possible.
4
ui_element.value.typestringexperimental
Type of the form field.
radio; password
ui_element.value.validitystring[]experimental
An array containing the validity states for the given field. See ValidityState.
['valid', 'tooShort']

Form element fields

AttributeTypeDescriptionExamples
form_element.accessibility_idstringdeprecated
For mobile only. The accessibility ID of the element.
cartButtonID
form_element.componentstringdeprecatedReplaced with form_element.components
Usage depends on web or mobile. For web: a list of components as coded in the current and ancestor elements in DOM attribute data-dt-component. For mobile: the type of component. Dependent on the technology and its possibilities.
UIButtonLabel
form_element.componentsstring[]experimental
Usage depends on web or mobile. For web: a list of components as coded in the current and ancestor elements in DOM attribute data-dt-component. For mobile: the type of component. Dependent on the technology and its possibilities.
['Navbar', 'Datepicker']
form_element.css_classstring[]experimental
For web only. All classes for the current element.
['button--primary', 'slideshow__image--selected']
form_element.custom_namestringexperimental
Custom name of the element. Filled by the data-dt-name or the data-dt-children-name DOM attribute.
Add to cart; Homepage logo
form_element.featuresstring[]experimental
Grouping of elements into features filled from the data-dt-features DOM attribute as comma separated values. Inherits all values from all ancestors.
['filter', 'menu']
form_element.idstringexperimental
For mobile only. Unique identifier of the component. Dependent on the technology and its possibilities.
UIButtonLabel_234
form_element.namestringexperimental
User interface element name. Captured by precedence of aria-label > title > name > data-testid > placeholder > content > id. In case it is masked, precedence is aria-label > title > name > data-testid > placeholder > id > "masked".
Add to cart; Homepage logo
form_element.name_originstringexperimental
Field used to fill form_element.name.
title; name; id; content; value
form_element.propertiesstring[]experimental
Custom data added in the data-dt-properties DOM attribute. Taken from the closest element carrying data-dt-properties or data-dt-children-properties, starting at the element itself and traversing up. Values are not merged across levels; the innermost one wins.
['theme:dark', 'expanded:true']
form_element.xpathstring[]experimental
For web only. The xpath of the user interface element split as an array.
['//*[@id="cart"]', 'div', 'div']

Label element fields

AttributeTypeDescriptionExamples
label_element.accessibility_idstringdeprecated
For mobile only. The accessibility ID of the element.
cartButtonID
label_element.componentstringdeprecatedReplaced with label_element.components
Usage depends on web or mobile. For web: a list of components as coded in the current and ancestor elements in DOM attribute data-dt-component. For mobile: the type of component. Dependent on the technology and its possibilities.
UIButtonLabel
label_element.componentsstring[]experimental
Usage depends on web or mobile. For web: a list of components as coded in the current and ancestor elements in DOM attribute data-dt-component. For mobile: the type of component. Dependent on the technology and its possibilities.
['Navbar', 'Datepicker']
label_element.css_classstring[]experimental
For web only. All classes for the current element.
['button--primary', 'slideshow__image--selected']
label_element.custom_namestringexperimental
Custom name of the element. Filled by the data-dt-name or the data-dt-children-name DOM attribute.
Add to cart; Homepage logo
label_element.featuresstring[]experimental
Grouping of elements into features filled from the data-dt-features DOM attribute as comma separated values. Inherits all values from all ancestors.
['filter', 'menu']
label_element.idstringexperimental
For mobile only. Unique identifier of the component. Dependent on the technology and its possibilities.
UIButtonLabel_234
label_element.namestringexperimental
User interface element name. Captured by precedence of aria-label > title > name > data-testid > placeholder > content > id. In case it is masked, precedence is aria-label > title > name > data-testid > placeholder > id > "masked".
Add to cart; Homepage logo
label_element.name_originstringexperimental
Field used to fill label_element.name.
title; name; id; content; value
label_element.propertiesstring[]experimental
Custom data added in the data-dt-properties DOM attribute. Taken from the closest element carrying data-dt-properties or data-dt-children-properties, starting at the element itself and traversing up. Values are not merged across levels; the innermost one wins.
['theme:dark', 'expanded:true']
label_element.xpathstring[]experimental
For web only. The xpath of the user interface element split as an array.
['//*[@id="cart"]', 'div', 'div']

Click events

interaction.name = click

UI element fields

AttributeTypeDescriptionExamples
ui_element.accessibility_idstringdeprecated
For mobile only. The accessibility ID of the element.
cartButtonID
ui_element.altstringexperimental
For web and <img> only. Alternative text for an image.
Birds flying over the sea
ui_element.ancestor.accessibility_idstringdeprecated
For mobile only. The accessibility ID of the element.
cartButtonID
ui_element.ancestor.altstringexperimental
For web and <img> only. Alternative text for an image.
Birds flying over the sea
ui_element.ancestor.componentstringdeprecatedReplaced with ui_element.ancestor.components
For web only. A list of components as coded in the current and ancestor elements in DOM attribute data-dt-component.
UIButtonLabel
ui_element.ancestor.componentsstring[]experimental
For web only. A list of components as coded in the current and ancestor elements in DOM attribute data-dt-component.
['Datepicker', 'Button']
ui_element.ancestor.css_classstring[]experimental
For web only. All classes for the ancestor element. Only available if ui_element has no name or custom_name.
['button--primary', 'slideshow__image--selected']
ui_element.ancestor.custom_namestringexperimental
Custom name of the ancestor. Filled by the data-dt-name or the data-dt-children-name DOM attribute. Only available if ui_element has no name or custom_name.
Add to cart; Homepage logo
ui_element.ancestor.featuresstring[]experimental
Grouping of elements into features filled from the data-dt-features DOM attribute as comma separated values. Inherits all values from all ancestors. Only available if ui_element has no name or custom_name.
['filter', 'menu']
ui_element.ancestor.href.fullstringexperimental
For web and <a> only. URL of the link converted to an absolute URL.
https://dynatrace.com
ui_element.ancestor.idstringexperimental
For mobile only. Unique identifier of the component. Dependent on the technology and its possibilities.
UIButtonLabel_234
ui_element.ancestor.namestringexperimental
User interface element name of first element up in the hierarchy with a defined name. Captured by precedence of aria-label > title > name > data-testid > placeholder > content > id. In case it is masked, precedence is aria-label > title > name > data-testid > placeholder > id > "masked". Only available if ui_element has no name or custom_name.
Add to cart; Homepage logo
ui_element.ancestor.name_originstringexperimental
Field used to fill ui_element.ancestor.name. Only available if ui_element has no name or custom_name.
title; name; id; content; value
ui_element.ancestor.propertiesstring[]experimental
Custom data added in the data-dt-properties DOM attribute. Taken from the closest element carrying data-dt-properties or data-dt-children-properties, starting at the element itself and traversing up. Values are not merged across levels; the innermost one wins. Only available if ui_element has no name or custom_name.
['theme:dark', 'expanded:true']
ui_element.ancestor.src.fullstringexperimental
For web and <img> only. Source URL of the image converted to an absolute URL. If the image src is a "data://" url, the field will be "data".
birds_over_sea.png; data
ui_element.ancestor.tag_namestringexperimental
Ancestor element type. For web, it's the tag name. For mobile, it's the name of, for example, the controller or fragment. Only available if ui_element has no name or custom_name.
div; CartFragment
ui_element.ancestor.xpathstring[]experimental
For web only. The xpath of the user interface element ancestor split as an array.
['//*[@id="cart"]', 'div', 'div']
ui_element.componentstringdeprecatedReplaced with ui_element.components
Usage depends on web or mobile. For web: a list of components as coded in the current and ancestor elements in DOM attribute data-dt-component. For mobile: the type of component. Dependent on the technology and its possibilities.
UIButtonLabel
ui_element.componentsstring[]experimental
Usage depends on web or mobile. For web: a list of components as coded in the current and ancestor elements in DOM attribute data-dt-component. For mobile: the type of component. Dependent on the technology and its possibilities.
['Navbar', 'Datepicker']
ui_element.css_classstring[]experimental
For web only. All classes for the current element.
['button--primary', 'slideshow__image--selected']
ui_element.custom_namestringexperimental
Custom name of the element. Filled by the data-dt-name or the data-dt-children-name DOM attribute.
Add to cart; Homepage logo
ui_element.detected_namestringexperimental
User interface element name. Captured by precedence of aria-label > title > name > data-testid > placeholder > content > id. In case it is masked, precedence is aria-label > title > name > data-testid > placeholder > id > "masked".
Add to cart; Homepage logo
ui_element.featuresstring[]experimental
Grouping of elements into features filled from the data-dt-features DOM attribute as comma separated values. Inherits all values from all ancestors.
['filter', 'menu']
ui_element.href.fullstringexperimental
For web and <a> only. URL of the link converted to an absolute URL.
/; https://dynatrace.com
ui_element.idstringexperimental
For mobile, the unique identifier of the component. Depends on the technology and its possibilities. For web, the id attribute of the element, if present.
UIButtonLabel_234
ui_element.namestringexperimental
Name of the element taken from the following fields by priority: ui_element.custom_name, ui_element.name, ui_element.ancestor.custom_name, ui_element.ancestor.name
Add to cart; Homepage logo
ui_element.name_originstringexperimental
Field used to fill ui_element.name.
title; name; id; content; value
ui_element.propertiesstring[]experimental
Custom data added in the data-dt-properties DOM attribute. Taken from the closest element carrying data-dt-properties or data-dt-children-properties, starting at the element itself and traversing up. Values are not merged across levels; the innermost one wins.
['theme:dark', 'expanded:true']
ui_element.resolved_namestringdeprecatedReplaced with ui_element.name
Name of the element taken from the following fields by priority: ui_element.custom_name, ui_element.name, ui_element.ancestor.custom_name, ui_element.ancestor.name
Add to cart; Homepage logo
ui_element.responder.componentsstring[]experimental
For mobile only. Relates to the element responding to the interaction. Type of component. Dependent on the technology and its possibilities.
['UIButtonLabel']
ui_element.responder.detected_namestringexperimental
For mobile only. Relates to the element responding to the interaction. User interface element name of element.
Add to cart; Homepage logo
ui_element.responder.idstringexperimental
For mobile only. Relates to the element responding to the interaction. Unique identifier of the component. Dependent on the technology and its possibilities.
UIButtonLabel_234
ui_element.responder.name_originstringexperimental
For mobile only. Relates to the element responding to the interaction. Field used to fill ui_element.responder.name.
title
ui_element.src.fullstringexperimental
For web and <img> only. Source URL of the image converted to an absolute URL. If the image src is a "data://" url, the field will be "data".
birds_over_sea.png; data
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
ui_element.xpathstring[]experimental
For web only. The xpath of the user interface element split as an array. If the element is inside a shadow DOM, only the outer part is considered.
['//*[@id="cart"]', 'div', 'div']

Mouse button fields

AttributeTypeDescriptionExamples
mouse_buttonlongexperimental
Mouse button used for the click interaction. Follows Mouse Button definition.
0

Pointer positions fields

AttributeTypeDescriptionExamples
pointer_positionsrecord[]deprecatedReplaced by positions
Array of {x, y} positions of the mouse or finger. It could be a single position for a click or a series of them for a slide for instance.
[{'x': 200, 'y': 400}]; [{'x': 200, 'y': 400}, {'x': 200, 'y': 450}]

Drag events

interaction.name = drag
ui_element.* refers to the dragged object

UI element fields

AttributeTypeDescriptionExamples
ui_element.accessibility_idstringdeprecated
For mobile only. The accessibility ID of the element.
cartButtonID
ui_element.altstringexperimental
For web and <img> only. Alternative text for an image.
Birds flying over the sea
ui_element.ancestor.accessibility_idstringdeprecated
For mobile only. The accessibility ID of the element.
cartButtonID
ui_element.ancestor.altstringexperimental
For web and <img> only. Alternative text for an image.
Birds flying over the sea
ui_element.ancestor.componentstringdeprecatedReplaced with ui_element.ancestor.components
For web only. A list of components as coded in the current and ancestor elements in DOM attribute data-dt-component.
UIButtonLabel
ui_element.ancestor.componentsstring[]experimental
For web only. A list of components as coded in the current and ancestor elements in DOM attribute data-dt-component.
['Datepicker', 'Button']
ui_element.ancestor.css_classstring[]experimental
For web only. All classes for the ancestor element. Only available if ui_element has no name or custom_name.
['button--primary', 'slideshow__image--selected']
ui_element.ancestor.custom_namestringexperimental
Custom name of the ancestor. Filled by the data-dt-name or the data-dt-children-name DOM attribute. Only available if ui_element has no name or custom_name.
Add to cart; Homepage logo
ui_element.ancestor.featuresstring[]experimental
Grouping of elements into features filled from the data-dt-features DOM attribute as comma separated values. Inherits all values from all ancestors. Only available if ui_element has no name or custom_name.
['filter', 'menu']
ui_element.ancestor.href.fullstringexperimental
For web and <a> only. URL of the link converted to an absolute URL.
https://dynatrace.com
ui_element.ancestor.idstringexperimental
For mobile only. Unique identifier of the component. Dependent on the technology and its possibilities.
UIButtonLabel_234
ui_element.ancestor.namestringexperimental
User interface element name of first element up in the hierarchy with a defined name. Captured by precedence of aria-label > title > name > data-testid > placeholder > content > id. In case it is masked, precedence is aria-label > title > name > data-testid > placeholder > id > "masked". Only available if ui_element has no name or custom_name.
Add to cart; Homepage logo
ui_element.ancestor.name_originstringexperimental
Field used to fill ui_element.ancestor.name. Only available if ui_element has no name or custom_name.
title; name; id; content; value
ui_element.ancestor.propertiesstring[]experimental
Custom data added in the data-dt-properties DOM attribute. Taken from the closest element carrying data-dt-properties or data-dt-children-properties, starting at the element itself and traversing up. Values are not merged across levels; the innermost one wins. Only available if ui_element has no name or custom_name.
['theme:dark', 'expanded:true']
ui_element.ancestor.src.fullstringexperimental
For web and <img> only. Source URL of the image converted to an absolute URL. If the image src is a "data://" url, the field will be "data".
birds_over_sea.png; data
ui_element.ancestor.tag_namestringexperimental
Ancestor element type. For web, it's the tag name. For mobile, it's the name of, for example, the controller or fragment. Only available if ui_element has no name or custom_name.
div; CartFragment
ui_element.ancestor.xpathstring[]experimental
For web only. The xpath of the user interface element ancestor split as an array.
['//*[@id="cart"]', 'div', 'div']
ui_element.componentstringdeprecatedReplaced with ui_element.components
Usage depends on web or mobile. For web: a list of components as coded in the current and ancestor elements in DOM attribute data-dt-component. For mobile: the type of component. Dependent on the technology and its possibilities.
UIButtonLabel
ui_element.componentsstring[]experimental
Usage depends on web or mobile. For web: a list of components as coded in the current and ancestor elements in DOM attribute data-dt-component. For mobile: the type of component. Dependent on the technology and its possibilities.
['Navbar', 'Datepicker']
ui_element.css_classstring[]experimental
For web only. All classes for the current element.
['button--primary', 'slideshow__image--selected']
ui_element.custom_namestringexperimental
Custom name of the element. Filled by the data-dt-name or the data-dt-children-name DOM attribute.
Add to cart; Homepage logo
ui_element.detected_namestringexperimental
User interface element name. Captured by precedence of aria-label > title > name > data-testid > placeholder > content > id. In case it is masked, precedence is aria-label > title > name > data-testid > placeholder > id > "masked".
Add to cart; Homepage logo
ui_element.featuresstring[]experimental
Grouping of elements into features filled from the data-dt-features DOM attribute as comma separated values. Inherits all values from all ancestors.
['filter', 'menu']
ui_element.href.fullstringexperimental
For web and <a> only. URL of the link converted to an absolute URL.
/; https://dynatrace.com
ui_element.idstringexperimental
For mobile, the unique identifier of the component. Depends on the technology and its possibilities. For web, the id attribute of the element, if present.
UIButtonLabel_234
ui_element.namestringexperimental
Name of the element taken from the following fields by priority: ui_element.custom_name, ui_element.name, ui_element.ancestor.custom_name, ui_element.ancestor.name
Add to cart; Homepage logo
ui_element.name_originstringexperimental
Field used to fill ui_element.name.
title; name; id; content; value
ui_element.propertiesstring[]experimental
Custom data added in the data-dt-properties DOM attribute. Taken from the closest element carrying data-dt-properties or data-dt-children-properties, starting at the element itself and traversing up. Values are not merged across levels; the innermost one wins.
['theme:dark', 'expanded:true']
ui_element.resolved_namestringdeprecatedReplaced with ui_element.name
Name of the element taken from the following fields by priority: ui_element.custom_name, ui_element.name, ui_element.ancestor.custom_name, ui_element.ancestor.name
Add to cart; Homepage logo
ui_element.responder.componentsstring[]experimental
For mobile only. Relates to the element responding to the interaction. Type of component. Dependent on the technology and its possibilities.
['UIButtonLabel']
ui_element.responder.detected_namestringexperimental
For mobile only. Relates to the element responding to the interaction. User interface element name of element.
Add to cart; Homepage logo
ui_element.responder.idstringexperimental
For mobile only. Relates to the element responding to the interaction. Unique identifier of the component. Dependent on the technology and its possibilities.
UIButtonLabel_234
ui_element.responder.name_originstringexperimental
For mobile only. Relates to the element responding to the interaction. Field used to fill ui_element.responder.name.
title
ui_element.src.fullstringexperimental
For web and <img> only. Source URL of the image converted to an absolute URL. If the image src is a "data://" url, the field will be "data".
birds_over_sea.png; data
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
ui_element.xpathstring[]experimental
For web only. The xpath of the user interface element split as an array. If the element is inside a shadow DOM, only the outer part is considered.
['//*[@id="cart"]', 'div', 'div']

Drag resolve fields

AttributeTypeDescriptionExamples
drag_resolvestringexperimental
Result of the drag action.
valid_drop

Pointer positions fields

AttributeTypeDescriptionExamples
pointer_positionsrecord[]deprecatedReplaced by positions
Array of {x, y} positions of the mouse or finger. It could be a single position for a click or a series of them for a slide for instance.
[{'x': 200, 'y': 400}]; [{'x': 200, 'y': 400}, {'x': 200, 'y': 450}]

Drop events

interaction.name = drop
ui_element.* refers to the landing object
drag_element.* refers to the dragged object

UI element fields

AttributeTypeDescriptionExamples
ui_element.accessibility_idstringdeprecated
For mobile only. The accessibility ID of the element.
cartButtonID
ui_element.altstringexperimental
For web and <img> only. Alternative text for an image.
Birds flying over the sea
ui_element.ancestor.accessibility_idstringdeprecated
For mobile only. The accessibility ID of the element.
cartButtonID
ui_element.ancestor.altstringexperimental
For web and <img> only. Alternative text for an image.
Birds flying over the sea
ui_element.ancestor.componentstringdeprecatedReplaced with ui_element.ancestor.components
For web only. A list of components as coded in the current and ancestor elements in DOM attribute data-dt-component.
UIButtonLabel
ui_element.ancestor.componentsstring[]experimental
For web only. A list of components as coded in the current and ancestor elements in DOM attribute data-dt-component.
['Datepicker', 'Button']
ui_element.ancestor.css_classstring[]experimental
For web only. All classes for the ancestor element. Only available if ui_element has no name or custom_name.
['button--primary', 'slideshow__image--selected']
ui_element.ancestor.custom_namestringexperimental
Custom name of the ancestor. Filled by the data-dt-name or the data-dt-children-name DOM attribute. Only available if ui_element has no name or custom_name.
Add to cart; Homepage logo
ui_element.ancestor.featuresstring[]experimental
Grouping of elements into features filled from the data-dt-features DOM attribute as comma separated values. Inherits all values from all ancestors. Only available if ui_element has no name or custom_name.
['filter', 'menu']
ui_element.ancestor.href.fullstringexperimental
For web and <a> only. URL of the link converted to an absolute URL.
https://dynatrace.com
ui_element.ancestor.idstringexperimental
For mobile only. Unique identifier of the component. Dependent on the technology and its possibilities.
UIButtonLabel_234
ui_element.ancestor.namestringexperimental
User interface element name of first element up in the hierarchy with a defined name. Captured by precedence of aria-label > title > name > data-testid > placeholder > content > id. In case it is masked, precedence is aria-label > title > name > data-testid > placeholder > id > "masked". Only available if ui_element has no name or custom_name.
Add to cart; Homepage logo
ui_element.ancestor.name_originstringexperimental
Field used to fill ui_element.ancestor.name. Only available if ui_element has no name or custom_name.
title; name; id; content; value
ui_element.ancestor.propertiesstring[]experimental
Custom data added in the data-dt-properties DOM attribute. Taken from the closest element carrying data-dt-properties or data-dt-children-properties, starting at the element itself and traversing up. Values are not merged across levels; the innermost one wins. Only available if ui_element has no name or custom_name.
['theme:dark', 'expanded:true']
ui_element.ancestor.src.fullstringexperimental
For web and <img> only. Source URL of the image converted to an absolute URL. If the image src is a "data://" url, the field will be "data".
birds_over_sea.png; data
ui_element.ancestor.tag_namestringexperimental
Ancestor element type. For web, it's the tag name. For mobile, it's the name of, for example, the controller or fragment. Only available if ui_element has no name or custom_name.
div; CartFragment
ui_element.ancestor.xpathstring[]experimental
For web only. The xpath of the user interface element ancestor split as an array.
['//*[@id="cart"]', 'div', 'div']
ui_element.componentstringdeprecatedReplaced with ui_element.components
Usage depends on web or mobile. For web: a list of components as coded in the current and ancestor elements in DOM attribute data-dt-component. For mobile: the type of component. Dependent on the technology and its possibilities.
UIButtonLabel
ui_element.componentsstring[]experimental
Usage depends on web or mobile. For web: a list of components as coded in the current and ancestor elements in DOM attribute data-dt-component. For mobile: the type of component. Dependent on the technology and its possibilities.
['Navbar', 'Datepicker']
ui_element.css_classstring[]experimental
For web only. All classes for the current element.
['button--primary', 'slideshow__image--selected']
ui_element.custom_namestringexperimental
Custom name of the element. Filled by the data-dt-name or the data-dt-children-name DOM attribute.
Add to cart; Homepage logo
ui_element.detected_namestringexperimental
User interface element name. Captured by precedence of aria-label > title > name > data-testid > placeholder > content > id. In case it is masked, precedence is aria-label > title > name > data-testid > placeholder > id > "masked".
Add to cart; Homepage logo
ui_element.featuresstring[]experimental
Grouping of elements into features filled from the data-dt-features DOM attribute as comma separated values. Inherits all values from all ancestors.
['filter', 'menu']
ui_element.href.fullstringexperimental
For web and <a> only. URL of the link converted to an absolute URL.
/; https://dynatrace.com
ui_element.idstringexperimental
For mobile, the unique identifier of the component. Depends on the technology and its possibilities. For web, the id attribute of the element, if present.
UIButtonLabel_234
ui_element.namestringexperimental
Name of the element taken from the following fields by priority: ui_element.custom_name, ui_element.name, ui_element.ancestor.custom_name, ui_element.ancestor.name
Add to cart; Homepage logo
ui_element.name_originstringexperimental
Field used to fill ui_element.name.
title; name; id; content; value
ui_element.propertiesstring[]experimental
Custom data added in the data-dt-properties DOM attribute. Taken from the closest element carrying data-dt-properties or data-dt-children-properties, starting at the element itself and traversing up. Values are not merged across levels; the innermost one wins.
['theme:dark', 'expanded:true']
ui_element.resolved_namestringdeprecatedReplaced with ui_element.name
Name of the element taken from the following fields by priority: ui_element.custom_name, ui_element.name, ui_element.ancestor.custom_name, ui_element.ancestor.name
Add to cart; Homepage logo
ui_element.responder.componentsstring[]experimental
For mobile only. Relates to the element responding to the interaction. Type of component. Dependent on the technology and its possibilities.
['UIButtonLabel']
ui_element.responder.detected_namestringexperimental
For mobile only. Relates to the element responding to the interaction. User interface element name of element.
Add to cart; Homepage logo
ui_element.responder.idstringexperimental
For mobile only. Relates to the element responding to the interaction. Unique identifier of the component. Dependent on the technology and its possibilities.
UIButtonLabel_234
ui_element.responder.name_originstringexperimental
For mobile only. Relates to the element responding to the interaction. Field used to fill ui_element.responder.name.
title
ui_element.src.fullstringexperimental
For web and <img> only. Source URL of the image converted to an absolute URL. If the image src is a "data://" url, the field will be "data".
birds_over_sea.png; data
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
ui_element.xpathstring[]experimental
For web only. The xpath of the user interface element split as an array. If the element is inside a shadow DOM, only the outer part is considered.
['//*[@id="cart"]', 'div', 'div']

Pointer positions fields

AttributeTypeDescriptionExamples
pointer_positionsrecord[]deprecatedReplaced by positions
Array of {x, y} positions of the mouse or finger. It could be a single position for a click or a series of them for a slide for instance.
[{'x': 200, 'y': 400}]; [{'x': 200, 'y': 400}, {'x': 200, 'y': 450}]

Drag element fields

AttributeTypeDescriptionExamples
drag_element.accessibility_idstringdeprecated
For mobile only. The accessibility ID of the element.
cartButtonID
drag_element.altstringexperimental
For web and <img> only. Alternative text for an image.
Birds flying over the sea
drag_element.ancestor.accessibility_idstringdeprecated
For mobile only. The accessibility ID of the element.
cartButtonID
drag_element.ancestor.altstringexperimental
For web and <img> only. Alternative text for an image.
Birds flying over the sea
drag_element.ancestor.componentstringdeprecatedReplaced with drag_element.ancestor.components
For web only. A list of components as coded in the current and ancestor elements in DOM attribute data-dt-component.
UIButtonLabel
drag_element.ancestor.componentsstring[]experimental
For web only. A list of components as coded in the current and ancestor elements in DOM attribute data-dt-component.
['UIButtonLabel']
drag_element.ancestor.css_classstring[]experimental
For web only. All classes for the ancestor element. Only available if drag_element has no name or custom_name.
['button--primary', 'slideshow__image--selected']
drag_element.ancestor.custom_namestringexperimental
Custom name of the ancestor. Filled by the data-dt-name or the data-dt-children-name DOM attribute. Only available if drag_element has no name or custom_name.
Add to cart; Homepage logo
drag_element.ancestor.featuresstring[]experimental
Grouping of elements into features filled from the data-dt-features DOM attribute as comma separated values. Inherits all values from all ancestors. Only available if drag_element has no name or custom_name.
['filter', 'menu']
drag_element.ancestor.href.fullstringexperimental
For web and <a> only. URL of the link converted to an absolute URL.
https://dynatrace.com
drag_element.ancestor.idstringexperimental
For mobile only. Unique identifier of the component. Dependent on the technology and its possibilities.
UIButtonLabel_234
drag_element.ancestor.namestringexperimental
User interface element name of first element up in the hierarchy with a defined name. Captured by precedence of aria-label > title > name > data-testid > placeholder > content > id. In case it is masked, precedence is aria-label > title > name > data-testid > placeholder > id > "masked". Only available if drag_element has no name or custom_name.
Add to cart; Homepage logo
drag_element.ancestor.name_originstringexperimental
Field used to fill drag_element.ancestor.name. Only available if drag_element has no name or custom_name.
title; name; id; content; value
drag_element.ancestor.propertiesstring[]experimental
Custom data added in the data-dt-properties DOM attribute. Taken from the closest element carrying data-dt-properties or data-dt-children-properties, starting at the element itself and traversing up. Values are not merged across levels; the innermost one wins. Only available if drag_element has no name or custom_name.
['theme:dark', 'expanded:true']
drag_element.ancestor.src.fullstringexperimental
For web and <img> only. Source URL of the image converted to an absolute URL. If the image src is a "data://" url, the field will be "data".
birds_over_sea.png; data
drag_element.ancestor.tag_namestringexperimental
Ancestor element type. For web, it's the tag name. For mobile, it's the name of, for example, the controller or fragment. Only available if drag_element has no name or custom_name.
div; CartFragment
drag_element.ancestor.xpathstring[]experimental
For web only. The xpath of the user interface element ancestor split as an array.
['//*[@id="cart"]', 'div', 'div']
drag_element.componentstringdeprecatedReplaced with drag_element.components
Usage depends on web or mobile. For web: a list of components as coded in the current and ancestor elements in DOM attribute data-dt-component. For mobile: the type of component. Dependent on the technology and its possibilities.
UIButtonLabel
drag_element.componentsstring[]experimental
Usage depends on web or mobile. For web: a list of components as coded in the current and ancestor elements in DOM attribute data-dt-component. For mobile: the type of component. Dependent on the technology and its possibilities.
['Navbar', 'Datepicker']
drag_element.css_classstring[]experimental
For web only. All classes for the current element.
['button--primary', 'slideshow__image--selected']
drag_element.custom_namestringexperimental
Custom name of the element. Filled by the data-dt-name or the data-dt-children-name DOM attribute.
Add to cart; Homepage logo
drag_element.detected_namestringexperimental
User interface element name. Captured by precedence of aria-label > title > name > data-testid > placeholder > content > id. In case it is masked, precedence is aria-label > title > name > data-testid > placeholder > id > "masked". In case of file, use mime type as name. In case of multiple files, use a stringified array of mime types. In case of unknown element, use "Unknown".
Add to cart; Homepage logo
drag_element.featuresstring[]experimental
Grouping of elements into features filled from the data-dt-features DOM attribute as comma separated values. Inherits all values from all ancestors.
['filter', 'menu']
drag_element.href.fullstringexperimental
For web and <a> only. URL of the link converted to an absolute URL.
https://dynatrace.com
drag_element.idstringexperimental
For mobile only. Unique identifier of the component. Dependent on the technology and its possibilities.
UIButtonLabel_234
drag_element.namestringexperimental
Name of the element taken from the following fields by priority: drag_element.custom_name, drag_element.name, drag_element.ancestor.custom_name, drag_element.ancestor.name
Add to cart; Homepage logo
drag_element.name_originstringexperimental
Field used to fill drag_element.name.
title; name; id; content; value
drag_element.propertiesstring[]experimental
Custom data added in the data-dt-properties DOM attribute. Taken from the closest element carrying data-dt-properties or data-dt-children-properties, starting at the element itself and traversing up. Values are not merged across levels; the innermost one wins.
['theme:dark', 'expanded:true']
drag_element.resolved_namestringdeprecatedReplaced with drag_element.name
Name of the element taken from the following fields by priority: drag_element.custom_name, drag_element.name, drag_element.ancestor.custom_name, drag_element.ancestor.name
Add to cart; Homepage logo
drag_element.src.fullstringexperimental
For web and <img> only. Source URL of the image converted to an absolute URL. If the image src is a "data://" url, the field will be "data".
birds_over_sea.png; data
drag_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. In case of external file it should be data. In case of unknown origin, like external HTML is should be unknown.
div; CartFragment
drag_element.xpathstring[]experimental
For web only. The xpath of the user interface element split as an array.
['//*[@id="cart"]', 'div', 'div']

Focus events

interaction.name = focus

Only if attribute data-dt-focus is present

UI element fields

AttributeTypeDescriptionExamples
ui_element.accessibility_idstringdeprecated
For mobile only. The accessibility ID of the element.
cartButtonID
ui_element.altstringexperimental
For web and <img> only. Alternative text for an image.
Birds flying over the sea
ui_element.ancestor.accessibility_idstringdeprecated
For mobile only. The accessibility ID of the element.
cartButtonID
ui_element.ancestor.altstringexperimental
For web and <img> only. Alternative text for an image.
Birds flying over the sea
ui_element.ancestor.componentstringdeprecatedReplaced with ui_element.ancestor.components
For web only. A list of components as coded in the current and ancestor elements in DOM attribute data-dt-component.
UIButtonLabel
ui_element.ancestor.componentsstring[]experimental
For web only. A list of components as coded in the current and ancestor elements in DOM attribute data-dt-component.
['Datepicker', 'Button']
ui_element.ancestor.css_classstring[]experimental
For web only. All classes for the ancestor element. Only available if ui_element has no name or custom_name.
['button--primary', 'slideshow__image--selected']
ui_element.ancestor.custom_namestringexperimental
Custom name of the ancestor. Filled by the data-dt-name or the data-dt-children-name DOM attribute. Only available if ui_element has no name or custom_name.
Add to cart; Homepage logo
ui_element.ancestor.featuresstring[]experimental
Grouping of elements into features filled from the data-dt-features DOM attribute as comma separated values. Inherits all values from all ancestors. Only available if ui_element has no name or custom_name.
['filter', 'menu']
ui_element.ancestor.href.fullstringexperimental
For web and <a> only. URL of the link converted to an absolute URL.
https://dynatrace.com
ui_element.ancestor.idstringexperimental
For mobile only. Unique identifier of the component. Dependent on the technology and its possibilities.
UIButtonLabel_234
ui_element.ancestor.namestringexperimental
User interface element name of first element up in the hierarchy with a defined name. Captured by precedence of aria-label > title > name > data-testid > placeholder > content > id. In case it is masked, precedence is aria-label > title > name > data-testid > placeholder > id > "masked". Only available if ui_element has no name or custom_name.
Add to cart; Homepage logo
ui_element.ancestor.name_originstringexperimental
Field used to fill ui_element.ancestor.name. Only available if ui_element has no name or custom_name.
title; name; id; content; value
ui_element.ancestor.propertiesstring[]experimental
Custom data added in the data-dt-properties DOM attribute. Taken from the closest element carrying data-dt-properties or data-dt-children-properties, starting at the element itself and traversing up. Values are not merged across levels; the innermost one wins. Only available if ui_element has no name or custom_name.
['theme:dark', 'expanded:true']
ui_element.ancestor.src.fullstringexperimental
For web and <img> only. Source URL of the image converted to an absolute URL. If the image src is a "data://" url, the field will be "data".
birds_over_sea.png; data
ui_element.ancestor.tag_namestringexperimental
Ancestor element type. For web, it's the tag name. For mobile, it's the name of, for example, the controller or fragment. Only available if ui_element has no name or custom_name.
div; CartFragment
ui_element.ancestor.xpathstring[]experimental
For web only. The xpath of the user interface element ancestor split as an array.
['//*[@id="cart"]', 'div', 'div']
ui_element.componentstringdeprecatedReplaced with ui_element.components
Usage depends on web or mobile. For web: a list of components as coded in the current and ancestor elements in DOM attribute data-dt-component. For mobile: the type of component. Dependent on the technology and its possibilities.
UIButtonLabel
ui_element.componentsstring[]experimental
Usage depends on web or mobile. For web: a list of components as coded in the current and ancestor elements in DOM attribute data-dt-component. For mobile: the type of component. Dependent on the technology and its possibilities.
['Navbar', 'Datepicker']
ui_element.css_classstring[]experimental
For web only. All classes for the current element.
['button--primary', 'slideshow__image--selected']
ui_element.custom_namestringexperimental
Custom name of the element. Filled by the data-dt-name or the data-dt-children-name DOM attribute.
Add to cart; Homepage logo
ui_element.detected_namestringexperimental
User interface element name. Captured by precedence of aria-label > title > name > data-testid > placeholder > content > id. In case it is masked, precedence is aria-label > title > name > data-testid > placeholder > id > "masked".
Add to cart; Homepage logo
ui_element.featuresstring[]experimental
Grouping of elements into features filled from the data-dt-features DOM attribute as comma separated values. Inherits all values from all ancestors.
['filter', 'menu']
ui_element.href.fullstringexperimental
For web and <a> only. URL of the link converted to an absolute URL.
/; https://dynatrace.com
ui_element.idstringexperimental
For mobile, the unique identifier of the component. Depends on the technology and its possibilities. For web, the id attribute of the element, if present.
UIButtonLabel_234
ui_element.namestringexperimental
Name of the element taken from the following fields by priority: ui_element.custom_name, ui_element.name, ui_element.ancestor.custom_name, ui_element.ancestor.name
Add to cart; Homepage logo
ui_element.name_originstringexperimental
Field used to fill ui_element.name.
title; name; id; content; value
ui_element.propertiesstring[]experimental
Custom data added in the data-dt-properties DOM attribute. Taken from the closest element carrying data-dt-properties or data-dt-children-properties, starting at the element itself and traversing up. Values are not merged across levels; the innermost one wins.
['theme:dark', 'expanded:true']
ui_element.resolved_namestringdeprecatedReplaced with ui_element.name
Name of the element taken from the following fields by priority: ui_element.custom_name, ui_element.name, ui_element.ancestor.custom_name, ui_element.ancestor.name
Add to cart; Homepage logo
ui_element.responder.componentsstring[]experimental
For mobile only. Relates to the element responding to the interaction. Type of component. Dependent on the technology and its possibilities.
['UIButtonLabel']
ui_element.responder.detected_namestringexperimental
For mobile only. Relates to the element responding to the interaction. User interface element name of element.
Add to cart; Homepage logo
ui_element.responder.idstringexperimental
For mobile only. Relates to the element responding to the interaction. Unique identifier of the component. Dependent on the technology and its possibilities.
UIButtonLabel_234
ui_element.responder.name_originstringexperimental
For mobile only. Relates to the element responding to the interaction. Field used to fill ui_element.responder.name.
title
ui_element.src.fullstringexperimental
For web and <img> only. Source URL of the image converted to an absolute URL. If the image src is a "data://" url, the field will be "data".
birds_over_sea.png; data
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
ui_element.xpathstring[]experimental
For web only. The xpath of the user interface element split as an array. If the element is inside a shadow DOM, only the outer part is considered.
['//*[@id="cart"]', 'div', 'div']

Key press events

interaction.name = key_press

UI element fields

AttributeTypeDescriptionExamples
ui_element.accessibility_idstringdeprecated
For mobile only. The accessibility ID of the element.
cartButtonID
ui_element.altstringexperimental
For web and <img> only. Alternative text for an image.
Birds flying over the sea
ui_element.ancestor.accessibility_idstringdeprecated
For mobile only. The accessibility ID of the element.
cartButtonID
ui_element.ancestor.altstringexperimental
For web and <img> only. Alternative text for an image.
Birds flying over the sea
ui_element.ancestor.componentstringdeprecatedReplaced with ui_element.ancestor.components
For web only. A list of components as coded in the current and ancestor elements in DOM attribute data-dt-component.
UIButtonLabel
ui_element.ancestor.componentsstring[]experimental
For web only. A list of components as coded in the current and ancestor elements in DOM attribute data-dt-component.
['Datepicker', 'Button']
ui_element.ancestor.css_classstring[]experimental
For web only. All classes for the ancestor element. Only available if ui_element has no name or custom_name.
['button--primary', 'slideshow__image--selected']
ui_element.ancestor.custom_namestringexperimental
Custom name of the ancestor. Filled by the data-dt-name or the data-dt-children-name DOM attribute. Only available if ui_element has no name or custom_name.
Add to cart; Homepage logo
ui_element.ancestor.featuresstring[]experimental
Grouping of elements into features filled from the data-dt-features DOM attribute as comma separated values. Inherits all values from all ancestors. Only available if ui_element has no name or custom_name.
['filter', 'menu']
ui_element.ancestor.href.fullstringexperimental
For web and <a> only. URL of the link converted to an absolute URL.
https://dynatrace.com
ui_element.ancestor.idstringexperimental
For mobile only. Unique identifier of the component. Dependent on the technology and its possibilities.
UIButtonLabel_234
ui_element.ancestor.namestringexperimental
User interface element name of first element up in the hierarchy with a defined name. Captured by precedence of aria-label > title > name > data-testid > placeholder > content > id. In case it is masked, precedence is aria-label > title > name > data-testid > placeholder > id > "masked". Only available if ui_element has no name or custom_name.
Add to cart; Homepage logo
ui_element.ancestor.name_originstringexperimental
Field used to fill ui_element.ancestor.name. Only available if ui_element has no name or custom_name.
title; name; id; content; value
ui_element.ancestor.propertiesstring[]experimental
Custom data added in the data-dt-properties DOM attribute. Taken from the closest element carrying data-dt-properties or data-dt-children-properties, starting at the element itself and traversing up. Values are not merged across levels; the innermost one wins. Only available if ui_element has no name or custom_name.
['theme:dark', 'expanded:true']
ui_element.ancestor.src.fullstringexperimental
For web and <img> only. Source URL of the image converted to an absolute URL. If the image src is a "data://" url, the field will be "data".
birds_over_sea.png; data
ui_element.ancestor.tag_namestringexperimental
Ancestor element type. For web, it's the tag name. For mobile, it's the name of, for example, the controller or fragment. Only available if ui_element has no name or custom_name.
div; CartFragment
ui_element.ancestor.xpathstring[]experimental
For web only. The xpath of the user interface element ancestor split as an array.
['//*[@id="cart"]', 'div', 'div']
ui_element.componentstringdeprecatedReplaced with ui_element.components
Usage depends on web or mobile. For web: a list of components as coded in the current and ancestor elements in DOM attribute data-dt-component. For mobile: the type of component. Dependent on the technology and its possibilities.
UIButtonLabel
ui_element.componentsstring[]experimental
Usage depends on web or mobile. For web: a list of components as coded in the current and ancestor elements in DOM attribute data-dt-component. For mobile: the type of component. Dependent on the technology and its possibilities.
['Navbar', 'Datepicker']
ui_element.css_classstring[]experimental
For web only. All classes for the current element.
['button--primary', 'slideshow__image--selected']
ui_element.custom_namestringexperimental
Custom name of the element. Filled by the data-dt-name or the data-dt-children-name DOM attribute.
Add to cart; Homepage logo
ui_element.detected_namestringexperimental
User interface element name. Captured by precedence of aria-label > title > name > data-testid > placeholder > content > id. In case it is masked, precedence is aria-label > title > name > data-testid > placeholder > id > "masked".
Add to cart; Homepage logo
ui_element.featuresstring[]experimental
Grouping of elements into features filled from the data-dt-features DOM attribute as comma separated values. Inherits all values from all ancestors.
['filter', 'menu']
ui_element.href.fullstringexperimental
For web and <a> only. URL of the link converted to an absolute URL.
/; https://dynatrace.com
ui_element.idstringexperimental
For mobile, the unique identifier of the component. Depends on the technology and its possibilities. For web, the id attribute of the element, if present.
UIButtonLabel_234
ui_element.namestringexperimental
Name of the element taken from the following fields by priority: ui_element.custom_name, ui_element.name, ui_element.ancestor.custom_name, ui_element.ancestor.name
Add to cart; Homepage logo
ui_element.name_originstringexperimental
Field used to fill ui_element.name.
title; name; id; content; value
ui_element.propertiesstring[]experimental
Custom data added in the data-dt-properties DOM attribute. Taken from the closest element carrying data-dt-properties or data-dt-children-properties, starting at the element itself and traversing up. Values are not merged across levels; the innermost one wins.
['theme:dark', 'expanded:true']
ui_element.resolved_namestringdeprecatedReplaced with ui_element.name
Name of the element taken from the following fields by priority: ui_element.custom_name, ui_element.name, ui_element.ancestor.custom_name, ui_element.ancestor.name
Add to cart; Homepage logo
ui_element.responder.componentsstring[]experimental
For mobile only. Relates to the element responding to the interaction. Type of component. Dependent on the technology and its possibilities.
['UIButtonLabel']
ui_element.responder.detected_namestringexperimental
For mobile only. Relates to the element responding to the interaction. User interface element name of element.
Add to cart; Homepage logo
ui_element.responder.idstringexperimental
For mobile only. Relates to the element responding to the interaction. Unique identifier of the component. Dependent on the technology and its possibilities.
UIButtonLabel_234
ui_element.responder.name_originstringexperimental
For mobile only. Relates to the element responding to the interaction. Field used to fill ui_element.responder.name.
title
ui_element.src.fullstringexperimental
For web and <img> only. Source URL of the image converted to an absolute URL. If the image src is a "data://" url, the field will be "data".
birds_over_sea.png; data
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
ui_element.xpathstring[]experimental
For web only. The xpath of the user interface element split as an array. If the element is inside a shadow DOM, only the outer part is considered.
['//*[@id="cart"]', 'div', 'div']

Keys fields

AttributeTypeDescriptionExamples
keysstring[]experimental
Key or combination of keys pressed by the user. On web, combinations triggered by ctrl or cmd, and by shift if enabled via config, where single letters are uppercased. Standalone keys on web are captured per key group, each enabled via config: esc, enter, tab, space, backspace, delete, the navigation keys, F1 to F12, and the media keys. In mobile system keys.
['ctrl', 'S']; ['esc']; ['arrow_down']

Mouse over events

interaction.name = mouse_over

Only if attribute data-dt-mouse-over="x" is present and x is the amount of ms required before sending it.

UI element fields

AttributeTypeDescriptionExamples
ui_element.accessibility_idstringdeprecated
For mobile only. The accessibility ID of the element.
cartButtonID
ui_element.altstringexperimental
For web and <img> only. Alternative text for an image.
Birds flying over the sea
ui_element.ancestor.accessibility_idstringdeprecated
For mobile only. The accessibility ID of the element.
cartButtonID
ui_element.ancestor.altstringexperimental
For web and <img> only. Alternative text for an image.
Birds flying over the sea
ui_element.ancestor.componentstringdeprecatedReplaced with ui_element.ancestor.components
For web only. A list of components as coded in the current and ancestor elements in DOM attribute data-dt-component.
UIButtonLabel
ui_element.ancestor.componentsstring[]experimental
For web only. A list of components as coded in the current and ancestor elements in DOM attribute data-dt-component.
['Datepicker', 'Button']
ui_element.ancestor.css_classstring[]experimental
For web only. All classes for the ancestor element. Only available if ui_element has no name or custom_name.
['button--primary', 'slideshow__image--selected']
ui_element.ancestor.custom_namestringexperimental
Custom name of the ancestor. Filled by the data-dt-name or the data-dt-children-name DOM attribute. Only available if ui_element has no name or custom_name.
Add to cart; Homepage logo
ui_element.ancestor.featuresstring[]experimental
Grouping of elements into features filled from the data-dt-features DOM attribute as comma separated values. Inherits all values from all ancestors. Only available if ui_element has no name or custom_name.
['filter', 'menu']
ui_element.ancestor.href.fullstringexperimental
For web and <a> only. URL of the link converted to an absolute URL.
https://dynatrace.com
ui_element.ancestor.idstringexperimental
For mobile only. Unique identifier of the component. Dependent on the technology and its possibilities.
UIButtonLabel_234
ui_element.ancestor.namestringexperimental
User interface element name of first element up in the hierarchy with a defined name. Captured by precedence of aria-label > title > name > data-testid > placeholder > content > id. In case it is masked, precedence is aria-label > title > name > data-testid > placeholder > id > "masked". Only available if ui_element has no name or custom_name.
Add to cart; Homepage logo
ui_element.ancestor.name_originstringexperimental
Field used to fill ui_element.ancestor.name. Only available if ui_element has no name or custom_name.
title; name; id; content; value
ui_element.ancestor.propertiesstring[]experimental
Custom data added in the data-dt-properties DOM attribute. Taken from the closest element carrying data-dt-properties or data-dt-children-properties, starting at the element itself and traversing up. Values are not merged across levels; the innermost one wins. Only available if ui_element has no name or custom_name.
['theme:dark', 'expanded:true']
ui_element.ancestor.src.fullstringexperimental
For web and <img> only. Source URL of the image converted to an absolute URL. If the image src is a "data://" url, the field will be "data".
birds_over_sea.png; data
ui_element.ancestor.tag_namestringexperimental
Ancestor element type. For web, it's the tag name. For mobile, it's the name of, for example, the controller or fragment. Only available if ui_element has no name or custom_name.
div; CartFragment
ui_element.ancestor.xpathstring[]experimental
For web only. The xpath of the user interface element ancestor split as an array.
['//*[@id="cart"]', 'div', 'div']
ui_element.componentstringdeprecatedReplaced with ui_element.components
Usage depends on web or mobile. For web: a list of components as coded in the current and ancestor elements in DOM attribute data-dt-component. For mobile: the type of component. Dependent on the technology and its possibilities.
UIButtonLabel
ui_element.componentsstring[]experimental
Usage depends on web or mobile. For web: a list of components as coded in the current and ancestor elements in DOM attribute data-dt-component. For mobile: the type of component. Dependent on the technology and its possibilities.
['Navbar', 'Datepicker']
ui_element.css_classstring[]experimental
For web only. All classes for the current element.
['button--primary', 'slideshow__image--selected']
ui_element.custom_namestringexperimental
Custom name of the element. Filled by the data-dt-name or the data-dt-children-name DOM attribute.
Add to cart; Homepage logo
ui_element.detected_namestringexperimental
User interface element name. Captured by precedence of aria-label > title > name > data-testid > placeholder > content > id. In case it is masked, precedence is aria-label > title > name > data-testid > placeholder > id > "masked".
Add to cart; Homepage logo
ui_element.featuresstring[]experimental
Grouping of elements into features filled from the data-dt-features DOM attribute as comma separated values. Inherits all values from all ancestors.
['filter', 'menu']
ui_element.href.fullstringexperimental
For web and <a> only. URL of the link converted to an absolute URL.
/; https://dynatrace.com
ui_element.idstringexperimental
For mobile, the unique identifier of the component. Depends on the technology and its possibilities. For web, the id attribute of the element, if present.
UIButtonLabel_234
ui_element.namestringexperimental
Name of the element taken from the following fields by priority: ui_element.custom_name, ui_element.name, ui_element.ancestor.custom_name, ui_element.ancestor.name
Add to cart; Homepage logo
ui_element.name_originstringexperimental
Field used to fill ui_element.name.
title; name; id; content; value
ui_element.propertiesstring[]experimental
Custom data added in the data-dt-properties DOM attribute. Taken from the closest element carrying data-dt-properties or data-dt-children-properties, starting at the element itself and traversing up. Values are not merged across levels; the innermost one wins.
['theme:dark', 'expanded:true']
ui_element.resolved_namestringdeprecatedReplaced with ui_element.name
Name of the element taken from the following fields by priority: ui_element.custom_name, ui_element.name, ui_element.ancestor.custom_name, ui_element.ancestor.name
Add to cart; Homepage logo
ui_element.responder.componentsstring[]experimental
For mobile only. Relates to the element responding to the interaction. Type of component. Dependent on the technology and its possibilities.
['UIButtonLabel']
ui_element.responder.detected_namestringexperimental
For mobile only. Relates to the element responding to the interaction. User interface element name of element.
Add to cart; Homepage logo
ui_element.responder.idstringexperimental
For mobile only. Relates to the element responding to the interaction. Unique identifier of the component. Dependent on the technology and its possibilities.
UIButtonLabel_234
ui_element.responder.name_originstringexperimental
For mobile only. Relates to the element responding to the interaction. Field used to fill ui_element.responder.name.
title
ui_element.src.fullstringexperimental
For web and <img> only. Source URL of the image converted to an absolute URL. If the image src is a "data://" url, the field will be "data".
birds_over_sea.png; data
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
ui_element.xpathstring[]experimental
For web only. The xpath of the user interface element split as an array. If the element is inside a shadow DOM, only the outer part is considered.
['//*[@id="cart"]', 'div', 'div']

Pointer positions fields

AttributeTypeDescriptionExamples
pointer_positionsrecord[]deprecatedReplaced by positions
Array of {x, y} positions of the mouse or finger. It could be a single position for a click or a series of them for a slide for instance.
[{'x': 200, 'y': 400}]; [{'x': 200, 'y': 400}, {'x': 200, 'y': 450}]

Duration fields

AttributeTypeDescriptionExamples
durationdurationstable
Display name: Duration
The difference between start_time and end_time in nanoseconds.
42

Resize events

For web only. interaction.name = resize

Rotation events

For mobile only. interaction.name = rotation

Scroll events

interaction.name = scroll

UI element fields

AttributeTypeDescriptionExamples
ui_element.accessibility_idstringdeprecated
For mobile only. The accessibility ID of the element.
cartButtonID
ui_element.altstringexperimental
For web and <img> only. Alternative text for an image.
Birds flying over the sea
ui_element.ancestor.accessibility_idstringdeprecated
For mobile only. The accessibility ID of the element.
cartButtonID
ui_element.ancestor.altstringexperimental
For web and <img> only. Alternative text for an image.
Birds flying over the sea
ui_element.ancestor.componentstringdeprecatedReplaced with ui_element.ancestor.components
For web only. A list of components as coded in the current and ancestor elements in DOM attribute data-dt-component.
UIButtonLabel
ui_element.ancestor.componentsstring[]experimental
For web only. A list of components as coded in the current and ancestor elements in DOM attribute data-dt-component.
['Datepicker', 'Button']
ui_element.ancestor.css_classstring[]experimental
For web only. All classes for the ancestor element. Only available if ui_element has no name or custom_name.
['button--primary', 'slideshow__image--selected']
ui_element.ancestor.custom_namestringexperimental
Custom name of the ancestor. Filled by the data-dt-name or the data-dt-children-name DOM attribute. Only available if ui_element has no name or custom_name.
Add to cart; Homepage logo
ui_element.ancestor.featuresstring[]experimental
Grouping of elements into features filled from the data-dt-features DOM attribute as comma separated values. Inherits all values from all ancestors. Only available if ui_element has no name or custom_name.
['filter', 'menu']
ui_element.ancestor.href.fullstringexperimental
For web and <a> only. URL of the link converted to an absolute URL.
https://dynatrace.com
ui_element.ancestor.idstringexperimental
For mobile only. Unique identifier of the component. Dependent on the technology and its possibilities.
UIButtonLabel_234
ui_element.ancestor.namestringexperimental
User interface element name of first element up in the hierarchy with a defined name. Captured by precedence of aria-label > title > name > data-testid > placeholder > content > id. In case it is masked, precedence is aria-label > title > name > data-testid > placeholder > id > "masked". Only available if ui_element has no name or custom_name.
Add to cart; Homepage logo
ui_element.ancestor.name_originstringexperimental
Field used to fill ui_element.ancestor.name. Only available if ui_element has no name or custom_name.
title; name; id; content; value
ui_element.ancestor.propertiesstring[]experimental
Custom data added in the data-dt-properties DOM attribute. Taken from the closest element carrying data-dt-properties or data-dt-children-properties, starting at the element itself and traversing up. Values are not merged across levels; the innermost one wins. Only available if ui_element has no name or custom_name.
['theme:dark', 'expanded:true']
ui_element.ancestor.src.fullstringexperimental
For web and <img> only. Source URL of the image converted to an absolute URL. If the image src is a "data://" url, the field will be "data".
birds_over_sea.png; data
ui_element.ancestor.tag_namestringexperimental
Ancestor element type. For web, it's the tag name. For mobile, it's the name of, for example, the controller or fragment. Only available if ui_element has no name or custom_name.
div; CartFragment
ui_element.ancestor.xpathstring[]experimental
For web only. The xpath of the user interface element ancestor split as an array.
['//*[@id="cart"]', 'div', 'div']
ui_element.componentstringdeprecatedReplaced with ui_element.components
Usage depends on web or mobile. For web: a list of components as coded in the current and ancestor elements in DOM attribute data-dt-component. For mobile: the type of component. Dependent on the technology and its possibilities.
UIButtonLabel
ui_element.componentsstring[]experimental
Usage depends on web or mobile. For web: a list of components as coded in the current and ancestor elements in DOM attribute data-dt-component. For mobile: the type of component. Dependent on the technology and its possibilities.
['Navbar', 'Datepicker']
ui_element.css_classstring[]experimental
For web only. All classes for the current element.
['button--primary', 'slideshow__image--selected']
ui_element.custom_namestringexperimental
Custom name of the element. Filled by the data-dt-name or the data-dt-children-name DOM attribute.
Add to cart; Homepage logo
ui_element.detected_namestringexperimental
User interface element name. Captured by precedence of aria-label > title > name > data-testid > placeholder > content > id. In case it is masked, precedence is aria-label > title > name > data-testid > placeholder > id > "masked".
Add to cart; Homepage logo
ui_element.featuresstring[]experimental
Grouping of elements into features filled from the data-dt-features DOM attribute as comma separated values. Inherits all values from all ancestors.
['filter', 'menu']
ui_element.href.fullstringexperimental
For web and <a> only. URL of the link converted to an absolute URL.
/; https://dynatrace.com
ui_element.idstringexperimental
For mobile, the unique identifier of the component. Depends on the technology and its possibilities. For web, the id attribute of the element, if present.
UIButtonLabel_234
ui_element.namestringexperimental
Name of the element taken from the following fields by priority: ui_element.custom_name, ui_element.name, ui_element.ancestor.custom_name, ui_element.ancestor.name
Add to cart; Homepage logo
ui_element.name_originstringexperimental
Field used to fill ui_element.name.
title; name; id; content; value
ui_element.propertiesstring[]experimental
Custom data added in the data-dt-properties DOM attribute. Taken from the closest element carrying data-dt-properties or data-dt-children-properties, starting at the element itself and traversing up. Values are not merged across levels; the innermost one wins.
['theme:dark', 'expanded:true']
ui_element.resolved_namestringdeprecatedReplaced with ui_element.name
Name of the element taken from the following fields by priority: ui_element.custom_name, ui_element.name, ui_element.ancestor.custom_name, ui_element.ancestor.name
Add to cart; Homepage logo
ui_element.responder.componentsstring[]experimental
For mobile only. Relates to the element responding to the interaction. Type of component. Dependent on the technology and its possibilities.
['UIButtonLabel']
ui_element.responder.detected_namestringexperimental
For mobile only. Relates to the element responding to the interaction. User interface element name of element.
Add to cart; Homepage logo
ui_element.responder.idstringexperimental
For mobile only. Relates to the element responding to the interaction. Unique identifier of the component. Dependent on the technology and its possibilities.
UIButtonLabel_234
ui_element.responder.name_originstringexperimental
For mobile only. Relates to the element responding to the interaction. Field used to fill ui_element.responder.name.
title
ui_element.src.fullstringexperimental
For web and <img> only. Source URL of the image converted to an absolute URL. If the image src is a "data://" url, the field will be "data".
birds_over_sea.png; data
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
ui_element.xpathstring[]experimental
For web only. The xpath of the user interface element split as an array. If the element is inside a shadow DOM, only the outer part is considered.
['//*[@id="cart"]', 'div', 'div']

Pointer positions fields

AttributeTypeDescriptionExamples
pointer_positionsrecord[]deprecatedReplaced by positions
Array of {x, y} positions of the mouse or finger. It could be a single position for a click or a series of them for a slide for instance.
[{'x': 200, 'y': 400}]; [{'x': 200, 'y': 400}, {'x': 200, 'y': 450}]

Scroll position fields

AttributeTypeDescriptionExamples
scroll_position.xlongdeprecatedReplaced by positions
Delta on horizontal scroll associated to element.scrollLeft.
200
scroll_position.ylongdeprecatedReplaced by positions
Delta on vertical scroll associated to element.scrollTop.
200

Scroll parent fields

AttributeTypeDescriptionExamples
scroll_target.accessibility_idstringdeprecated
For mobile only. The accessibility ID of the element.
cartButtonID
scroll_target.idstring[]experimental
For mobile only. Unique identifier of the component. Dependent on the technology and its possibilities.
['UIButtonLabel_234']
scroll_target.xpathstring[]experimental
For web only. The xpath of the scroll parent, that is, the parent of the scrolled ui_element, is split as an array.
['//*[@id="cart"]', 'div', 'div']

Selection events

For web only. interaction.name = selection

Touch events

interaction.name = touch

UI element fields

AttributeTypeDescriptionExamples
ui_element.accessibility_idstringdeprecated
For mobile only. The accessibility ID of the element.
cartButtonID
ui_element.altstringexperimental
For web and <img> only. Alternative text for an image.
Birds flying over the sea
ui_element.ancestor.accessibility_idstringdeprecated
For mobile only. The accessibility ID of the element.
cartButtonID
ui_element.ancestor.altstringexperimental
For web and <img> only. Alternative text for an image.
Birds flying over the sea
ui_element.ancestor.componentstringdeprecatedReplaced with ui_element.ancestor.components
For web only. A list of components as coded in the current and ancestor elements in DOM attribute data-dt-component.
UIButtonLabel
ui_element.ancestor.componentsstring[]experimental
For web only. A list of components as coded in the current and ancestor elements in DOM attribute data-dt-component.
['Datepicker', 'Button']
ui_element.ancestor.css_classstring[]experimental
For web only. All classes for the ancestor element. Only available if ui_element has no name or custom_name.
['button--primary', 'slideshow__image--selected']
ui_element.ancestor.custom_namestringexperimental
Custom name of the ancestor. Filled by the data-dt-name or the data-dt-children-name DOM attribute. Only available if ui_element has no name or custom_name.
Add to cart; Homepage logo
ui_element.ancestor.featuresstring[]experimental
Grouping of elements into features filled from the data-dt-features DOM attribute as comma separated values. Inherits all values from all ancestors. Only available if ui_element has no name or custom_name.
['filter', 'menu']
ui_element.ancestor.href.fullstringexperimental
For web and <a> only. URL of the link converted to an absolute URL.
https://dynatrace.com
ui_element.ancestor.idstringexperimental
For mobile only. Unique identifier of the component. Dependent on the technology and its possibilities.
UIButtonLabel_234
ui_element.ancestor.namestringexperimental
User interface element name of first element up in the hierarchy with a defined name. Captured by precedence of aria-label > title > name > data-testid > placeholder > content > id. In case it is masked, precedence is aria-label > title > name > data-testid > placeholder > id > "masked". Only available if ui_element has no name or custom_name.
Add to cart; Homepage logo
ui_element.ancestor.name_originstringexperimental
Field used to fill ui_element.ancestor.name. Only available if ui_element has no name or custom_name.
title; name; id; content; value
ui_element.ancestor.propertiesstring[]experimental
Custom data added in the data-dt-properties DOM attribute. Taken from the closest element carrying data-dt-properties or data-dt-children-properties, starting at the element itself and traversing up. Values are not merged across levels; the innermost one wins. Only available if ui_element has no name or custom_name.
['theme:dark', 'expanded:true']
ui_element.ancestor.src.fullstringexperimental
For web and <img> only. Source URL of the image converted to an absolute URL. If the image src is a "data://" url, the field will be "data".
birds_over_sea.png; data
ui_element.ancestor.tag_namestringexperimental
Ancestor element type. For web, it's the tag name. For mobile, it's the name of, for example, the controller or fragment. Only available if ui_element has no name or custom_name.
div; CartFragment
ui_element.ancestor.xpathstring[]experimental
For web only. The xpath of the user interface element ancestor split as an array.
['//*[@id="cart"]', 'div', 'div']
ui_element.componentstringdeprecatedReplaced with ui_element.components
Usage depends on web or mobile. For web: a list of components as coded in the current and ancestor elements in DOM attribute data-dt-component. For mobile: the type of component. Dependent on the technology and its possibilities.
UIButtonLabel
ui_element.componentsstring[]experimental
Usage depends on web or mobile. For web: a list of components as coded in the current and ancestor elements in DOM attribute data-dt-component. For mobile: the type of component. Dependent on the technology and its possibilities.
['Navbar', 'Datepicker']
ui_element.css_classstring[]experimental
For web only. All classes for the current element.
['button--primary', 'slideshow__image--selected']
ui_element.custom_namestringexperimental
Custom name of the element. Filled by the data-dt-name or the data-dt-children-name DOM attribute.
Add to cart; Homepage logo
ui_element.detected_namestringexperimental
User interface element name. Captured by precedence of aria-label > title > name > data-testid > placeholder > content > id. In case it is masked, precedence is aria-label > title > name > data-testid > placeholder > id > "masked".
Add to cart; Homepage logo
ui_element.featuresstring[]experimental
Grouping of elements into features filled from the data-dt-features DOM attribute as comma separated values. Inherits all values from all ancestors.
['filter', 'menu']
ui_element.href.fullstringexperimental
For web and <a> only. URL of the link converted to an absolute URL.
/; https://dynatrace.com
ui_element.idstringexperimental
For mobile, the unique identifier of the component. Depends on the technology and its possibilities. For web, the id attribute of the element, if present.
UIButtonLabel_234
ui_element.namestringexperimental
Name of the element taken from the following fields by priority: ui_element.custom_name, ui_element.name, ui_element.ancestor.custom_name, ui_element.ancestor.name
Add to cart; Homepage logo
ui_element.name_originstringexperimental
Field used to fill ui_element.name.
title; name; id; content; value
ui_element.propertiesstring[]experimental
Custom data added in the data-dt-properties DOM attribute. Taken from the closest element carrying data-dt-properties or data-dt-children-properties, starting at the element itself and traversing up. Values are not merged across levels; the innermost one wins.
['theme:dark', 'expanded:true']
ui_element.resolved_namestringdeprecatedReplaced with ui_element.name
Name of the element taken from the following fields by priority: ui_element.custom_name, ui_element.name, ui_element.ancestor.custom_name, ui_element.ancestor.name
Add to cart; Homepage logo
ui_element.responder.componentsstring[]experimental
For mobile only. Relates to the element responding to the interaction. Type of component. Dependent on the technology and its possibilities.
['UIButtonLabel']
ui_element.responder.detected_namestringexperimental
For mobile only. Relates to the element responding to the interaction. User interface element name of element.
Add to cart; Homepage logo
ui_element.responder.idstringexperimental
For mobile only. Relates to the element responding to the interaction. Unique identifier of the component. Dependent on the technology and its possibilities.
UIButtonLabel_234
ui_element.responder.name_originstringexperimental
For mobile only. Relates to the element responding to the interaction. Field used to fill ui_element.responder.name.
title
ui_element.src.fullstringexperimental
For web and <img> only. Source URL of the image converted to an absolute URL. If the image src is a "data://" url, the field will be "data".
birds_over_sea.png; data
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
ui_element.xpathstring[]experimental
For web only. The xpath of the user interface element split as an array. If the element is inside a shadow DOM, only the outer part is considered.
['//*[@id="cart"]', 'div', 'div']

Pointer positions fields

AttributeTypeDescriptionExamples
pointer_positionsrecord[]deprecatedReplaced by positions
Array of {x, y} positions of the mouse or finger. It could be a single position for a click or a series of them for a slide for instance.
[{'x': 200, 'y': 400}]; [{'x': 200, 'y': 400}, {'x': 200, 'y': 450}]

Zoom events

interaction.name = zoom

Zoom fields

AttributeTypeDescriptionExamples
zoom.leveldoubleexperimental
Level of zoom applied to the page.
1.5

Gesture events

For mobile only. interaction.name = gesture

UI element fields

AttributeTypeDescriptionExamples
ui_element.accessibility_idstringdeprecated
For mobile only. The accessibility ID of the element.
cartButtonID
ui_element.altstringexperimental
For web and <img> only. Alternative text for an image.
Birds flying over the sea
ui_element.ancestor.accessibility_idstringdeprecated
For mobile only. The accessibility ID of the element.
cartButtonID
ui_element.ancestor.altstringexperimental
For web and <img> only. Alternative text for an image.
Birds flying over the sea
ui_element.ancestor.componentstringdeprecatedReplaced with ui_element.ancestor.components
For web only. A list of components as coded in the current and ancestor elements in DOM attribute data-dt-component.
UIButtonLabel
ui_element.ancestor.componentsstring[]experimental
For web only. A list of components as coded in the current and ancestor elements in DOM attribute data-dt-component.
['Datepicker', 'Button']
ui_element.ancestor.css_classstring[]experimental
For web only. All classes for the ancestor element. Only available if ui_element has no name or custom_name.
['button--primary', 'slideshow__image--selected']
ui_element.ancestor.custom_namestringexperimental
Custom name of the ancestor. Filled by the data-dt-name or the data-dt-children-name DOM attribute. Only available if ui_element has no name or custom_name.
Add to cart; Homepage logo
ui_element.ancestor.featuresstring[]experimental
Grouping of elements into features filled from the data-dt-features DOM attribute as comma separated values. Inherits all values from all ancestors. Only available if ui_element has no name or custom_name.
['filter', 'menu']
ui_element.ancestor.href.fullstringexperimental
For web and <a> only. URL of the link converted to an absolute URL.
https://dynatrace.com
ui_element.ancestor.idstringexperimental
For mobile only. Unique identifier of the component. Dependent on the technology and its possibilities.
UIButtonLabel_234
ui_element.ancestor.namestringexperimental
User interface element name of first element up in the hierarchy with a defined name. Captured by precedence of aria-label > title > name > data-testid > placeholder > content > id. In case it is masked, precedence is aria-label > title > name > data-testid > placeholder > id > "masked". Only available if ui_element has no name or custom_name.
Add to cart; Homepage logo
ui_element.ancestor.name_originstringexperimental
Field used to fill ui_element.ancestor.name. Only available if ui_element has no name or custom_name.
title; name; id; content; value
ui_element.ancestor.propertiesstring[]experimental
Custom data added in the data-dt-properties DOM attribute. Taken from the closest element carrying data-dt-properties or data-dt-children-properties, starting at the element itself and traversing up. Values are not merged across levels; the innermost one wins. Only available if ui_element has no name or custom_name.
['theme:dark', 'expanded:true']
ui_element.ancestor.src.fullstringexperimental
For web and <img> only. Source URL of the image converted to an absolute URL. If the image src is a "data://" url, the field will be "data".
birds_over_sea.png; data
ui_element.ancestor.tag_namestringexperimental
Ancestor element type. For web, it's the tag name. For mobile, it's the name of, for example, the controller or fragment. Only available if ui_element has no name or custom_name.
div; CartFragment
ui_element.ancestor.xpathstring[]experimental
For web only. The xpath of the user interface element ancestor split as an array.
['//*[@id="cart"]', 'div', 'div']
ui_element.componentstringdeprecatedReplaced with ui_element.components
Usage depends on web or mobile. For web: a list of components as coded in the current and ancestor elements in DOM attribute data-dt-component. For mobile: the type of component. Dependent on the technology and its possibilities.
UIButtonLabel
ui_element.componentsstring[]experimental
Usage depends on web or mobile. For web: a list of components as coded in the current and ancestor elements in DOM attribute data-dt-component. For mobile: the type of component. Dependent on the technology and its possibilities.
['Navbar', 'Datepicker']
ui_element.css_classstring[]experimental
For web only. All classes for the current element.
['button--primary', 'slideshow__image--selected']
ui_element.custom_namestringexperimental
Custom name of the element. Filled by the data-dt-name or the data-dt-children-name DOM attribute.
Add to cart; Homepage logo
ui_element.detected_namestringexperimental
User interface element name. Captured by precedence of aria-label > title > name > data-testid > placeholder > content > id. In case it is masked, precedence is aria-label > title > name > data-testid > placeholder > id > "masked".
Add to cart; Homepage logo
ui_element.featuresstring[]experimental
Grouping of elements into features filled from the data-dt-features DOM attribute as comma separated values. Inherits all values from all ancestors.
['filter', 'menu']
ui_element.href.fullstringexperimental
For web and <a> only. URL of the link converted to an absolute URL.
/; https://dynatrace.com
ui_element.idstringexperimental
For mobile, the unique identifier of the component. Depends on the technology and its possibilities. For web, the id attribute of the element, if present.
UIButtonLabel_234
ui_element.namestringexperimental
Name of the element taken from the following fields by priority: ui_element.custom_name, ui_element.name, ui_element.ancestor.custom_name, ui_element.ancestor.name
Add to cart; Homepage logo
ui_element.name_originstringexperimental
Field used to fill ui_element.name.
title; name; id; content; value
ui_element.propertiesstring[]experimental
Custom data added in the data-dt-properties DOM attribute. Taken from the closest element carrying data-dt-properties or data-dt-children-properties, starting at the element itself and traversing up. Values are not merged across levels; the innermost one wins.
['theme:dark', 'expanded:true']
ui_element.resolved_namestringdeprecatedReplaced with ui_element.name
Name of the element taken from the following fields by priority: ui_element.custom_name, ui_element.name, ui_element.ancestor.custom_name, ui_element.ancestor.name
Add to cart; Homepage logo
ui_element.responder.componentsstring[]experimental
For mobile only. Relates to the element responding to the interaction. Type of component. Dependent on the technology and its possibilities.
['UIButtonLabel']
ui_element.responder.detected_namestringexperimental
For mobile only. Relates to the element responding to the interaction. User interface element name of element.
Add to cart; Homepage logo
ui_element.responder.idstringexperimental
For mobile only. Relates to the element responding to the interaction. Unique identifier of the component. Dependent on the technology and its possibilities.
UIButtonLabel_234
ui_element.responder.name_originstringexperimental
For mobile only. Relates to the element responding to the interaction. Field used to fill ui_element.responder.name.
title
ui_element.src.fullstringexperimental
For web and <img> only. Source URL of the image converted to an absolute URL. If the image src is a "data://" url, the field will be "data".
birds_over_sea.png; data
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
ui_element.xpathstring[]experimental
For web only. The xpath of the user interface element split as an array. If the element is inside a shadow DOM, only the outer part is considered.
['//*[@id="cart"]', 'div', 'div']

Pointer positions fields

AttributeTypeDescriptionExamples
pointer_positionsrecord[]deprecatedReplaced by positions
Array of {x, y} positions of the mouse or finger. It could be a single position for a click or a series of them for a slide for instance.
[{'x': 200, 'y': 400}]; [{'x': 200, 'y': 400}, {'x': 200, 'y': 450}]

Gesture fields

AttributeTypeDescriptionExamples
interaction.intentionstringexperimental
Direction or gesture type of a gesture interaction. Only supported by OneAgent for Mobile.
up; complex
interaction.intention_scoredoubleexperimental
Confidence score for the detected interaction.intention.
0.95
interaction.pointerslongexperimental
Number of fingers or pointers involved in the interaction. Only supported by OneAgent for Mobile.
2

Duration fields

AttributeTypeDescriptionExamples
durationdurationstable
Display name: Duration
The difference between start_time and end_time in nanoseconds.
42

Basic user event fields

The basic attributes for all user events are defined in the user event base model.