text (navigation)
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
- navigation
- GTM/GA4 parameter name
- link_text
- GA4 display name
- Link text
- 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
-
accordion (Accordion links)
back (link click)
banners (link click)
breadcrumb (link clicks)
browse (browse (browse level 0))
browse (browse topic (browse level 1))
browse (browse subtopic (browse level 2))
subscribe (email alerts)
subscribe (rss subscriptions)
email subscriptions (get emails about this page)
footer (link clicks)
homepage (Link clicks)
html attachment (link clicks)
links (External links)
links (mailto links)
previous and next (previous and next)
print page (view printable version)
related content (related Navigation)
content history (see all link click (to another page))
share page (follow us)
share page (share this page)
step by step (link clicks)
super breadcrumb (link click)
header menu bar (link clicks)
taxonomy pages (taxonomy page links)
webchat (webchat available link click)