WebmasterID logoWebmasterID
Analytics dimensions

Link text dimension

Link text is the dimension holding the human-readable label a visitor clicked — the words inside the anchor element. In GA4 it is populated by the enhanced-measurement click event as the link_text parameter alongside link_url and link_domain. It is useful for telling apart several links that point to the same destination, but it is empty when the clickable element wraps an image or icon with no text node.

Verified against primary sources

What this means

GA4 enhanced measurement's outbound click event carries link_text, the visible text inside the clicked anchor. The link text dimension surfaces those labels so two buttons pointing at the same URL — say 'Buy now' and 'Get started' — are distinguishable in reports.

This is the field that turns an undifferentiated destination into named, comparable calls-to-action.

Why it can be empty

link_text reads the text content of the clicked element. When the clickable target is an image, an SVG icon, or an element whose label lives in an aria-label rather than a text node, GA4 has no inner text to capture and link_text is blank.

For image or icon links you generally add an explicit event with a descriptive parameter so the label is not lost.

How it appears in analytics and logs

A link text value is the anchor's rendered words. A blank link_text on a real click usually means the link contained only an image or icon, so there was no text node to read.

Diagnostic use case

Use link text to separate clicks on visually distinct calls-to-action that share one destination URL, instead of collapsing them under link_url alone.

What WebmasterID can help detect

WebmasterID can log the clicked element's label as a first-party event, so you can attribute clicks to specific CTAs without third-party scripts.

Common mistakes

Privacy and accuracy notes

Link text records UI copy, not a person — unless a label embeds personal data, which it should not. WebmasterID records click labels first-party without profiling who clicked.

Related pages

Sources and verification notes

Last reviewed 2026-06-24. Facts are checked against primary/official sources where available; uncertain specifics are marked “Data not yet verified” rather than guessed.