Attribute text (form_response)

This attribute is a variant of the text attribute.

Name
text
Description
The text of the thing being tracked, for example the text of a link, button or tab. This can either be read directly from the element, passed from a data attribute, or generated automatically for elements where the text changes, for example the 'Show all sections' link in an accordion, which can also read 'Hide all sections'.
Value
text of the element
Example
Required
false
Type
string
Redact
false
dataLayer event name
form_response
GTM/GA4 parameter name
response
GA4 display name
Response
Variants of this attribute

This attribute is a variant of the text attribute. Variants have the same name in the dataLayer but translate to different things in GA4 depending on the event_name.

Used by events
contact (form response)
email subscriptions (responses)
simple smart answer (submit question)
smart answer (submit question)