On this page
What this issue is
GA4 click events can carry the visible text of the clicked element. Enhanced measurement sends link_text on outbound link clicks and file downloads. In Google Tag Manager (GTM), the built-in variable Click Text holds the text of whatever was clicked, and many setups pass it to GA4 as an event parameter.
Why it costs you leads or sales
The direct cost is risk, not lost clicks. Personal data in analytics can force you to delete data, pause reporting, rewrite consent wording or answer a privacy complaint. Google may also remove data it finds contains PII.
- Visitor fills formTypes name or email
- Clicks elementElement text now holds the typed value
- Click tag reads textClick Text variable sent as parameter
- GA4 stores eventPersonal data in reports
- Clean dataNo longer possible without deletion
The break happens when the click tag reads text that contains typed values.
How to check if your site has it
Open GA4 DebugView
In GA4 go to Admin > DebugView. Turn on GTM Preview mode or the GA debugger extension for your site.
Fill the form with a fake value
Type an obviously fake email such as test-leak@example.com and a fake name. Click through the form and the buttons.
Inspect click events
Open each
click,form_startor custom event and check parameters such aslink_text,click_text,element_textorbutton_textfor your fake values.Check GTM tagsGoogle Tag Manager
In GTM Preview, click the same elements and see what the Click Text variable holds. Review every GA4 event tag that uses it.
Search existing reports
In Explore, build a free-form report with the custom dimension for click text and look for values containing @ or digits in long strings.
How to fix it
The principle is the same everywhere: do not send raw element text from forms. Send a fixed label, the element ID, or the form name. Then deal with data already collected.
Find tags using Click Text
In GTM use the search box for Click Text and list every GA4 event tag that sends it as a parameter.
Replace with a safe value
Swap the parameter value for
Click ID,Click Classesor a fixed string such assubmit_button. Never use text from inside a form.Narrow the trigger
Change All Elements triggers to Just Links or add a condition such as Click ID equals a specific button, so form wrappers do not fire.
Publish and test
Run Preview, then publish a new container version.
Check analytics plugins
If a plugin such as a GA4 or tag plugin sends click text, look in its event settings for options to track button text or form data and switch them off.
Check form plugin add-ons
Some form plugins have analytics add-ons that pass field values. Disable any option that sends submitted data.
Review custom pixels and theme code
In Settings > Customer events, open custom pixels and search for innerText or textContent. Do the same in theme.liquid and app embeds.
Replace with fixed labels
Send a fixed event label instead of text read from the page.
Check custom code and GTM
In Project settings > Custom code, and in page-level embeds, search for scripts that read element text and send it to gtag.
Use fixed labels
Replace the text value with a hard-coded label per button.
Find gtag calls that read text
Search your code for gtag('event' calls that use innerText, textContent or value.
Send a fixed label
Use a data attribute or constant instead, as in the snippet below.
// Risky: may contain typed values
// gtag('event', 'cta_click', { button_text: el.innerText });
// Safer: a fixed label set in your markup
document.addEventListener('click', function (e) {
var el = e.target.closest('[data-track-label]');
if (!el) return;
gtag('event', 'cta_click', {
button_label: el.getAttribute('data-track-label')
});
});Stop the flow first
Publish the fix before anything else so no new personal data arrives.
Remove the custom dimension
In GA4 Admin > Custom definitions, archive any custom dimension that holds click text so it stops appearing in reports.
Request deletion where needed
Use Admin > Data collection and modification > Data deletion requests to delete affected parameter data. Check Google's current documentation for scope and limits.
Check exports
If you export to BigQuery or connect Looker Studio, delete or filter the affected rows there too.
Tell your privacy contact
Record what leaked, for how long and what you did. Your legal or data protection lead decides whether further steps are required.
Leaking
- click_text = "jane@example.com"
- Trigger fires on All Elements
- Every typed value becomes a row
Fixed
- button_label = "submit_quote_form"
- Trigger limited to specific button IDs
- A small, readable set of values
How to confirm it's fixed
- Repeat the DebugView test with a fake value such as leak-test-123.
- No event parameter contains the fake value.
- GTM Preview shows tags sending fixed labels only.
- The click text custom dimension is archived or shows no personal data.
- Reports from the last few days show no new @ or phone-style values.
- BigQuery or Looker Studio sources were checked and cleaned if used.
How to prevent it happening again
Leaks usually return when someone adds a new tag, changes a form or installs a plugin. Build a few habits around that.
- Ban the Click Text variable in event parameters unless the element is known to hold fixed text.
- Use data attributes for labels so marketers do not read page text.
- Review GTM changes before publishing and ask what each parameter can contain.
- Test every new form with a fake value in DebugView.
- Re-test after theme, plugin or form-builder updates.
- Keep a short list of approved event parameters.
Week 1
A new click tag is published using Click Text.
Week 2
A form widget starts echoing typed values in its button text.
Week 6
Emails appear in a report and someone spots them.
Week 6, same day
Tag fixed, dimension archived, deletion requested.
How FunnelGuard handles this
FunnelGuard detects this issue today. A robot visitor runs your real journeys on a schedule, from the EU or the US, and checks the tracking hits sent to GA4 and other platforms. When a hit carries form field values in click text, it is flagged so you can see which step and parameter leaked. A failure is re-checked from a second region before one alert goes out, with a screenshot and a likely cause.
Test traffic is marked (utm_source=funnelguard, fg_test=1, an fg_test cookie and its own user agent), so you can filter it out of reports. It never enters real card details and never bypasses CAPTCHAs or bot protection. The Free plan covers 1 site and 2 journeys with daily checks and no card, and every paid plan has a 3-day free trial.
Questions people ask
Why is my GA4 click text showing email addresses?
A click tag is probably sending the text of an element that contains what the visitor typed, such as a button, dropdown or form wrapper. Check which tag sends link_text or Click Text in GTM and replace it with a fixed label. Then delete the affected data.
Is it against Google Analytics terms to send form values?
Yes. Google's terms for Google Analytics prohibit sending personally identifiable information such as emails, names or phone numbers. Privacy laws like GDPR may also apply, so treat any leak seriously.
How do I stop GTM sending Click Text to GA4?
Open each GA4 event tag, find parameters using the Click Text variable, and replace them with a fixed string, Click ID or a data attribute label. Narrow the trigger to specific buttons, then publish a new container version.
How do I remove personal data already in GA4?
Stop the leak first, then archive the related custom dimension and submit a data deletion request under Admin > Data collection and modification. Also clean any BigQuery export or Looker Studio source that holds the data.
Does GA4 enhanced measurement send form field values?
Enhanced measurement form events send form attributes like ID and destination, not field values. Leaks usually come from custom tags or widgets that read element text. Still, test with a fake value to be sure.
How can I test whether my site leaks form data into GA4?
Open GA4 DebugView with GTM Preview, fill your form with a fake value like leak-test-123, and click through. Inspect every event's parameters for that value. If it appears, the tag sending it needs fixing.
Can FunnelGuard tell me if form values reach GA4?
Yes. FunnelGuard runs your journeys on a schedule and checks the tracking hits sent to GA4. It flags form field values found in click text and sends one alert with a screenshot and a likely cause.
Related issues
- TRK-355Email address in page URL query string sent to GA4Fix guide
- TRK-356Phone number in event parametersFix guide
- TRK-357Name or address in thank-you URL sent to pixelsFix guide
- TRK-359PII in page_title ("Thanks John")Fix guide
- TRK-360PII in dataLayer pushed to all vendorsFix guide
- TRK-361Hashed PII sent without consentFix guide