text (form_complete)
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_complete
- GTM/GA4 parameter name
- outcome
- GA4 display name
- Outcome
- 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
-
email subscriptions (form completion)
special route (form complete)