Skip to content
FunnelGuard

Fix guide by FunnelsGuard

GTM trigger broken by Click Text copy edit: how to fix it

TRK-109High impactDetectedBy FunnelGuardPublished Updated
On this page

What this issue is

In Google Tag Manager (GTM), a click trigger decides when a tag runs after a visitor clicks something. Many setups use the built-in variable Click Text, with a condition such as Click Text equals Get my free quote. GTM compares the visible text of the clicked element with that phrase.

Why it costs you leads or sales

Nothing looks broken. The form or checkout still works, so leads and orders keep arriving. But ad platforms stop receiving the conversion, so reports show a sudden drop and smart bidding loses its signal. Budget can then shift to poorer traffic, and you may pause campaigns that were actually working.

Where the signal is lost
  1. Copy editButton text changed
  2. Visitor clicksButton still works
  3. GTM triggerClick Text no longer matches
  4. Conversion tagNever runs
  5. Ad platformNo conversion received

The visitor journey carries on, but tracking stops at the trigger.

Reported conversions before and after the copy editExample numbers
Reported conversions before and after the copy edit (example)Real leads: 40 conversions per week; Reported before edit: 38 conversions per week; Reported after edit: 0 conversions per week0153140380Real leadsReported before editReported after editconversions per week

Example: real leads stay steady while reported conversions fall to zero after the button text changes.

How to check if your site has it

Find click triggers that rely on text
  1. Open Triggers in GTMGoogle Tag Manager

    In your container, go to Triggers and open each trigger of type Click or Just Links.

  2. Look for Click Text conditionsGoogle Tag Manager

    Check whether any condition uses Click Text, with equals, contains or matches RegEx against a phrase.

  3. Compare with the live button

    Open the page and read the exact button wording, including capitals, punctuation and spaces. Any difference means the trigger fails.

  4. Test in PreviewGoogle Tag Manager

    Click Preview, load your site, click the button and look at the Tags Fired list in Tag Assistant. If the tag sits under Tags Not Fired, open it to see which condition failed.

How to fix it

Stop matching on wording. Match on something developers or editors will not change by accident. The best options, in order: a dataLayer event pushed by the site, a dedicated data attribute, a stable ID, then a CSS selector tied to that attribute.

Add a stable data attribute to the buttonhtml
<button type="submit" data-track="quote-request">Request a quote</button>
Or push a dataLayer event on clickjavascript
document.querySelector('[data-track="quote-request"]').addEventListener('click', function () {
  window.dataLayer = window.dataLayer || [];
  window.dataLayer.push({ event: 'quote_request_click' });
});
Where to make the change
  1. Edit the trigger

    Open the trigger and replace the Click Text condition with Click Element matches CSS selector [data-track="quote-request"]. Or create a Custom Event trigger named quote_request_click if you push a dataLayer event.

  2. Keep the trigger type sensible

    Use All Elements for buttons, since Just Links only handles link clicks. Enable Wait for Tags only if the click navigates away.

  3. Publish

    Submit and publish the workspace so the change goes live.

How to confirm it's fixed

Confirmation checks
  • In GTM Preview, the click shows the tag under Tags Fired
  • Change the button wording on a test copy and confirm the tag still fires
  • GA4 DebugView or the Google Ads and Meta test tools show the event arriving
  • The workspace has been published, not only previewed
  • Conversion counts in your ad platform resume after the next real lead

How to prevent it happening again

Prevention
  • Never use Click Text, Click Classes or visible copy as the only trigger condition
  • Document the data attributes or events your tracking depends on
  • Tell copywriters and designers which elements are tracked
  • Add a tracking check to your release or content-change checklist
  • Run an automated check of key journeys on a schedule
Fragile vs stable trigger

Click Text trigger

  • Condition: Click Text equals Get my free quote
  • Any wording change breaks it
  • Fails silently

Stable trigger

  • Condition: Click Element matches [data-track="quote-request"]
  • Wording can change freely
  • Fails only if the attribute is removed

How FunnelGuard handles this

FunnelGuard detects this today. A robot visitor runs your real customer journey on a schedule, clicks through the steps and checks that the expected tracking hits are sent to platforms such as GA4, Google Ads and Meta. If the button text changes and the trigger stops matching, the hit is missing, and FunnelGuard flags a missing hit.

Frequently asked context

See the questions below for quick answers on Click Text triggers and safer alternatives.

Questions people ask

Why did my GTM click trigger stop working after a button text change?

The trigger probably has a condition such as Click Text equals a specific phrase. When the wording changes, the condition no longer matches, so the tag does not fire. The button itself still works, which is why the problem goes unnoticed.

How do I find out which GTM triggers use Click Text?

Open Triggers in your container and check the conditions on each Click or Just Links trigger. Look for Click Text. Then use Preview mode and click the element to see whether the tag appears under Tags Not Fired.

What should I use instead of Click Text in Google Tag Manager?

Use something that does not change with copy: a dataLayer event pushed by the site, a data attribute, an ID, or a CSS selector tied to a data attribute. Success events, such as a thank-you page or a form accepted event, are even better than clicks.

Why does GTM Click Text not match even when the text looks the same?

Hidden differences cause this: extra spaces, non-breaking spaces, different capitalization, or an icon or inner span. Click Text reports the text of the exact element clicked, which may be a child of the button.

Will a button wording change affect Google Ads conversions?

It can, if the conversion tag depends on a trigger that matches the wording. The tag stops firing, Google Ads receives no conversion, and reported results drop even though leads continue.

How can I detect a broken GTM trigger automatically?

Run your journey on a schedule and check that the expected tracking hit is sent. FunnelGuard does this with a robot visitor and flags a missing hit, with a screenshot and a likely cause.

Does FunnelGuard catch this?

Detected

FunnelGuard checks for this today.

How: missing hit.

Stop finding out from your customers

FunnelGuard runs your real forms and checkouts on a schedule, checks the tracking and the leads behind them, and alerts you once, with a screenshot. Try any paid plan free for 3 days.