On this page
What this issue is
In GTM, a trigger decides when a tag runs. Many conversion triggers say something like: fire on Page View when Page URL equals https://example.com/thank-you. That works until the page moves. If the page becomes /thank-you/, /en/thank-you, /thanks, or moves to another domain, the condition no longer matches and the trigger never fires.
| Change on the site | Old URL | New URL | Why the trigger fails |
|---|---|---|---|
| Slug edited | /thank-you | /thanks | Path text differs |
| Trailing slash added | /thank-you | /thank-you/ | Equals is exact |
| Language folder added | /thank-you | /en/thank-you | Path now has a prefix |
| Domain or subdomain change | www.example.com | example.com | Page URL includes the host |
| Query string added | /thank-you | /thank-you?id=123 | Equals on Page URL includes the query |
| Checkout platform change | /order-complete | /checkout/thank_you | Different structure |
Why it costs you leads or sales
- Ad clickVisitor lands on the site
- Form submittedRedirects to /thanks
- GTM triggerExpects /thank-you, no match
- Conversion tagNever fires
- Ads and GA4 reportsConversion missing
The visitor converts normally, but the trigger never matches the new URL.
Example: real leads stay steady, but reported conversions drop to zero once the thank-you URL changes.
How to check if your site has it
Complete the conversion yourself
Submit a test form or run a test order and note the exact URL of the final page, including slash, language folder and query string.
Open GTM PreviewGoogle Tag Manager
In Tag Manager click Preview, enter your site address and repeat the journey in the Tag Assistant window.
Look at the conversion tagGoogle Tag Manager
On the final page's event, check whether your conversion tag is listed under Tags Fired or Tags Not Fired.
Compare the trigger conditionGoogle Tag Manager
Click the tag under Tags Not Fired, open its trigger and see which condition shows as false. The Page URL value shown is what GTM actually saw.
Check recent changes
Ask who changed page slugs, redirects, language setup or the checkout platform recently.
The page loads, GTM checks the condition, finds no match and the tag stays silent.
How to fix it
The aim is a condition that matches the real page and survives small changes. Prefer Page Path over full Page URL, and use contains or matches RegEx rather than equals when slashes, folders or query strings may vary.
Open the triggerGoogle Tag Manager
In GTM go to Triggers and open the one used by your conversion tag.
Pick a sturdier variableGoogle Tag Manager
Change Page URL to Page Path so the domain and query string no longer matter.
Choose a tolerant operatorGoogle Tag Manager
Use contains with thank-you, or matches RegEx such as ^(/[a-z]{2})?/thank-you/?$ to allow a language folder and optional slash.
Test in PreviewGoogle Tag Manager
Run the journey again and confirm the tag appears under Tags Fired on the final page.
Submit and publishGoogle Tag Manager
Click Submit, add a version name such as 'Fix thank-you trigger', and Publish.
Trigger type: Page View
This trigger fires on: Some Page Views
Condition: Page Path matches RegEx ^(/[a-z]{2})?/(thank-you|thanks)/?$Find the real thank-you URL
Open the page in Pages and check its Permalink. Also check your form plugin's confirmation setting for a redirect URL, since it may differ from the page slug.
Update GTM or the redirect
Either update the GTM condition to the new path, or set the plugin redirect back to the path GTM expects.
Check the order status page
Shopify's order confirmation URL contains a checkout token and varies per order, so match with contains 'thank-you' or 'thank_you' on Page Path rather than equals.
Check for checkout changes
If your plan or checkout setup changed, preview a test order and read the exact path GTM reports.
Check the page slug
In the Pages panel open page settings and read the Slug. Update GTM if it changed, or restore the old slug.
Check form redirect
In the form's settings, confirm the Redirect URL points to the page GTM expects.
Check the page URL slug
In the page's SEO settings read the URL slug. Wix may add language prefixes on multilingual sites, so allow for them in the trigger.
Check the URL slug
Open page settings, then General, and read the URL Slug. Also check the form's Storage and post-submit redirect setting.
Check funnel step path
In the funnel, open the thank-you step's settings and read its Path. Match that in GTM, or restore the old path.
Check routes and redirects
Look for changed routes, new redirect rules or a trailing slash policy in your server or framework config, then align GTM or the route.
How to confirm it's fixed
- In GTM Preview the conversion tag shows under Tags Fired on the final page
- The tag fires once, not twice
- The tag does not fire on other pages such as the blog or the form page
- The hit appears in the browser Network tab or in GA4 DebugView
- The conversion shows in GA4 or your ad platform after processing time
How to prevent it happening again
- Use Page Path with contains or RegEx instead of Page URL equals
- Add a step to your redesign and migration checklist: re-test every GTM trigger that uses a URL
- Name triggers by purpose, such as 'Lead thank-you page view', so people know what they depend on
- Keep a list of conversion pages and their URLs and update it when slugs change
- Test the full conversion journey after every site release
- Set up redirects when you change a slug and check whether they keep the final URL GTM expects
Before
- Page URL equals https://www.example.com/thank-you
- Breaks on a slash, a folder, a domain change or a query string
- Fails silently
After
- Page Path matches RegEx ^(/[a-z]{2})?/thank-you/?$
- Survives slash and language folder changes
- Still specific to the confirmation page
How FunnelGuard handles this
FunnelGuard detects this today. A robot visitor runs your real journey on a schedule, such as submitting a lead form, and checks the tracking hits sent to GA4, Google Ads, Meta and other platforms at each step. If the thank-you page loads but the expected conversion hit is not sent, the check fails.
URL changed
Leads or data lost
The trigger does not match, the conversion tag never fires and the lead is missing from your reports.
One URL edit is enough to break conversion tracking without any visible error.
Questions people ask
Why is my GTM tag not firing on the thank-you page?
The most common cause is a trigger condition that no longer matches the page. Check the exact URL in GTM Preview and compare it to the trigger's Page URL or Page Path condition. A changed slug, added trailing slash or language folder will stop an equals match.
Should I use Page URL or Page Path in a GTM trigger?
Page Path is usually safer because it ignores the domain and query string. Page URL includes the host and parameters, so small changes like www or a tracking parameter can break an equals match.
Why does my GTM trigger work in Preview but not live?
If the page URL is the same, check that you published the container version and that consent settings are not blocking the tag. Also confirm live pages use the same domain and path as the one you previewed, since staging URLs often differ.
How do I make a GTM trigger ignore the trailing slash?
Use Page Path with matches RegEx and end the pattern with /? before the dollar sign, for example ^/thank-you/?$. That matches both /thank-you and /thank-you/.
How do I find which GTM triggers depend on a URL?
In GTM open Triggers and look at the condition column, or use the search box for the page name. Check each conversion trigger that uses Page URL, Page Path or Page Hostname.
How long until missing conversions show up after I fix the trigger?
The tag fires immediately after you publish, but GA4 and ad platforms can take several hours to show new conversions. Past conversions that were never sent cannot normally be recovered, so fix it quickly.
Can I be alerted when a GTM trigger stops matching?
Yes, a synthetic monitor can run the conversion journey on a schedule and alert you when the expected tracking hit is missing. FunnelGuard does this for lead forms and checkouts, and sends one alert after a second-region re-check.
Related issues
- TRK-106Trigger set to All Pages instead of thank-you pageFix guide
- TRK-108Trigger depends on CSS class that changed after redesignFix guide
- TRK-109Trigger depends on Click Text changed by copy editFix guide
- TRK-111Tag paused in GTMFix guide
- TRK-103Workspace changes never published (tag in preview only)Fix guide
- TRK-107Form submission trigger not firing for AJAX formsFix guide