Get Data from Attribute Action

Retrieves the value of a specified HTML attribute from a target element and stores it for use in later actions.

Useful for capturing dynamic values for conditional logic, updates, or custom behaviors.

This action does not output anything, and is meant to pass on data to other actions. For more details, see Referencing Data From Previous Actions.

Action Settings

Option Default Type Description
Attribute to Get None Text Field Specifies the name of the attribute to retrieve.
Reference ID None Dropdown Selection

A unique identifier used to store the retrieved attribute value. This reference can be used in other actions by calling its name.

Allowed Format: Lowercase letters, numbers, and underscores only.

Get From Element

Select the source element where the data will be retrieved from. This determines which attribute value of the element will be used when the action is triggered. If selected, the action will pull data from the element that initiated the interaction.