Top

Documentation Index

Fetch the complete documentation index at: https://support.whatfix.com/llms.txt

Use this file to discover all available pages before exploring further.

Which HTML elements on the application can be captured as Event Attributes?

Prev Next

Event Attributes enable you to send additional contextual information along with User Actions. 

Note:

Capturing Event Attributes is a Beta feature. Contact support@whatfix.com to enable it.

For example, along with the button click event, additional attributes such as the URL, the title of the page where it was clicked, the text on the button, and more, can be captured and sent to give context to the button click event.

For more information on use cases, see What are Event Attributes?

Note:

Use Trend Insights to visualize engagement with Event Attributes. For more information, see Add Event Attributes to Trend Insights.

The following UI elements can be captured as Event Attributes:

Info:

For more information on the various UI elements, see W3 Schools.

Element Tag

Description

Property captured

Example

input

The <input> tag specifies an input field where the user can enter data.

value

input_element

button

The <button> element is used to create an HTML button.

innerText

submit_button

span

The <span> tag is an inline container used to mark up a part of a text, or a part of a document.

innerText

span_element

textArea

The <textarea> element is often used in a form, to collect user inputs like comments or reviews. A text area can hold an unlimited number of characters.

value

textarea_element

header

The header tag is used to define headings and subheadings on a webpage

innerText

header_element

div

The <div> tag defines a division or a section in an HTML document. The <div> tag is used as a container for HTML elements.

innerText

div_element

select

The <select> element is used to create a dropdown list.

options[selectedIndex].innerText

options_element

Any other tag apart from the tags mentioned in the table (Default)

-

innerText

Image and Checkbox

Info:

Ensure that you capture the innermost div for an element. Capturing the outer div captures the innerText property for all the divs present inside the outer div.

Privacy Policy | Whatfix Glossary | Whatfix Platform Status
Copyright © 2024 WHATFIX TM. All rights reserved.