On this page
What this issue is
UTMs are tags such as utm_source and utm_campaign added to a link so analytics knows which campaign sent the visitor. Click IDs such as gclid (Google Ads) and fbclid (Meta) do a similar job for ad platforms.
Many sites send people to another domain to pay or book, for example a hosted checkout, a scheduling tool or a separate shop domain. The browser does not carry URL parameters or first-party cookies to a different domain on its own. If your link to that domain is a plain URL, the campaign data stays behind.
- Ad clickURL has utm_source and gclid
- Landing pageSession is tagged correctly
- Link to booking domainPlain URL, no parameters
- Booking confirmedNew session, source is direct or referral
The visitor arrives tagged, but the link to the other domain carries nothing.
Why it costs you leads or sales
The visit and the sale are real, but the credit goes to the wrong place. Reports show the paying traffic as direct, or as a referral from your own site. Paid campaigns look like they produce nothing, and ad platforms get no conversion signal to learn from.
That leads to bad decisions: you cut campaigns that work, and bidding systems optimise on thin data. Because the loss sits at the final step, it hits the most valuable conversions.
Example: the same 100 purchases before and after the parameters are passed to the checkout domain.
How to check if your site has it
Build a tagged URL
Add
?utm_source=test&utm_medium=manual&utm_campaign=xdomainto your landing page URL and open it in a private window.Click through to checkout or booking
Click the real button or link a customer would use.
Read the new address
Look at the address bar on the other domain. If
utm_sourceis missing, the parameters were dropped. A_gl=value means the GA4 linker is working.Check the link itself
Right-click the button, copy the link address and see whether it already contains parameters. Some buttons are built by script at click time, so also watch the final URL.
Check GA4 Realtime or DebugView
Confirm the session on the other domain keeps the same source, not a new one.
How to fix it
There are two layers. First, make GA4 treat both domains as one site so the session continues (the _gl linker). Second, pass the UTMs and click IDs in the URL so the destination and your ad platforms can read them. Do both when you can.
Open your Google tag settings
In the GA4 Google tag, open Configuration settings and add the field
linkerwith the domains of your checkout or booking tool, or set it under Admin > Data streams > Configure tag settings > Configure your domains in GA4.Add every domain
List the checkout and booking domains, plus your main one. Use the exact hostnames.
Preview and test
Use Tag Assistant preview, click the outbound link and confirm
_glis added to the URL.
Set up the linker first
Configure cross-domain in GA4 or your tag manager as above. Most analytics plugins do not do this on their own.
Edit the button or link
In the page builder, check that the checkout or booking URL is not hard-coded without parameters. Use a small script (see the code block) to append current parameters to outbound links.
Check embedded widgets
If the booking tool is an embed, see whether the vendor offers a setting to read parent page parameters.
Use the same domain where possible
Shopify checkout can run on your primary domain. Check Settings > Domains so the checkout does not sit on a different domain than the storefront.
Add linker domains
If you use a separate domain for a landing page builder or subscription tool, add it to the GA4 cross-domain list.
Test with a tagged URL
Add to cart from a tagged link and confirm the checkout session keeps its source.
Add the linker in your tag setup
Add the cross-domain domains in GA4 or in Google Tag Manager, since Webflow's own settings only hold your tag ID.
Append parameters with a script
Paste the script from the code block in Project settings > Custom code > Footer code.
Publish and test
Test on the published site, not the Designer preview.
Check the calendar or funnel domain
If booking happens on a different domain than your website, treat it as a cross-domain hop.
Add the domains to the GA4 list
Include both the website and the funnel or calendar domain.
Append parameters to the link
Use the script in the code block via your site's custom code area, or link with parameters included.
Add the domains in GA4
Configure the cross-domain list in GA4, then confirm your Wix tracking uses that same tag.
Add custom code
Under Settings > Custom code, add the script from the code block to all pages, placed in the body end.
Test the outbound link
Publish and click through with a tagged URL.
Add the domains in GA4
Set up the cross-domain list in GA4 first.
Inject the script
Go to Settings > Advanced > Code Injection and paste the script into the Footer.
Check Acuity or other booking tools
Scheduling tools often live on their own domain, so add that domain too.
Configure gtag linker
Use the
linkerconfig with an array of domains (see the code block).Forward query parameters
Append stored UTMs and click IDs to outbound links to the checkout or booking domain.
Test redirects
Make sure the destination does not strip query strings with a redirect.
(function () {
var targets = ['checkout.example.com', 'book.example-scheduler.com'];
var keys = ['utm_source','utm_medium','utm_campaign','utm_term','utm_content','gclid','fbclid','msclkid'];
var current = new URLSearchParams(window.location.search);
var saved = {};
keys.forEach(function (k) {
var v = current.get(k) || sessionStorage.getItem('fg_' + k);
if (v) { saved[k] = v; sessionStorage.setItem('fg_' + k, v); }
});
document.addEventListener('click', function (e) {
var a = e.target.closest('a[href]');
if (!a) return;
var url;
try { url = new URL(a.href); } catch (err) { return; }
if (targets.indexOf(url.hostname) === -1) return;
Object.keys(saved).forEach(function (k) {
if (!url.searchParams.has(k)) url.searchParams.set(k, saved[k]);
});
a.href = url.toString();
}, true);
})();gtag('config', 'G-XXXXXXXXXX', {
linker: {
domains: ['www.example.com', 'checkout.example.com', 'book.example-scheduler.com'],
accept_incoming: true
}
});How to confirm it's fixed
- A tagged landing URL keeps its utm_source and utm_campaign in the checkout or booking URL, or carries a _gl value.
- GA4 DebugView shows one session across both domains.
- The conversion appears under the campaign source, not direct.
- Google Ads and Meta tools show the conversion hit on the final page.
- The check passes in a private window and on mobile.
Dropped
Leads or data lost
The booking is credited to direct. The campaign looks like it produced no conversions.
Toggle the cause to see how one plain link changes your reporting.
How to prevent it happening again
- Add a new checkout, booking or shop domain to the cross-domain list the day it is introduced.
- Re-test with a tagged URL after theme, plugin or checkout app changes.
- Keep a short list of every domain a customer can reach during a purchase.
- Ask vendors before they change hosted checkout or calendar domains.
- Prefer a subdomain of your main domain for tools when the vendor supports it.
Week 1
Team adds a hosted booking tool on its own domain.
Week 2
Paid bookings begin to show as direct in reports.
Week 6
Ad spend is cut because campaigns seem unproductive.
Week 7
Linker and parameter passing added, attribution recovers.
How FunnelGuard handles this
FunnelGuard detects this issue. A robot visitor opens your landing page with marked test parameters, follows your real journey to the checkout or booking domain, and runs a cross-domain check on that hop. It looks at whether the campaign parameters or the linker value arrive on the other domain, and at the tracking hits sent on the final steps.
If the check fails, it is repeated from a second region, and then one alert goes out by email, Slack, Teams, WhatsApp, webhook or PagerDuty with a screenshot and a likely cause. Test traffic is marked (utm_source=funnelguard, fg_test=1) and stops before payment. The Free plan covers 1 site and 2 journeys with daily checks, and paid plans have a 3-day free trial.
Questions people ask
Why are my UTMs lost when visitors go to my checkout?
The link to your checkout is probably a plain URL on a different domain, and browsers do not carry parameters or cookies across domains by themselves. The checkout session then starts fresh, with no source. Add the checkout domain to your GA4 cross-domain list and append the UTMs to the link.
Why do my sales show as direct traffic in GA4?
Direct usually means the session had no source data. When a visitor moves to another domain without the parameters or linker value, GA4 starts a new session with nothing to read. Fixing the cross-domain hand-off typically moves those sales back to their campaigns.
How do I pass UTM parameters to another domain?
Add the parameters to the outbound link, either by editing the URL or with a small script that copies them from the current page. Also enable the GA4 linker for both domains so the _gl parameter carries the session. Test with a tagged URL to confirm they arrive.
Do I need cross-domain tracking if I use a hosted booking tool?
Yes, if the tool runs on a different domain from your website and you want the booking tied to the original campaign. Add its domain to your cross-domain list, and check whether the vendor can read parameters or run your tag.
Does a subdomain count as a different domain for tracking?
For GA4 sessions, subdomains of the same main domain share cookies, so they usually need no linker. Parameters can still be dropped by the link itself or by a redirect. A completely different domain does need the cross-domain setup.
How do I test whether UTMs survive the jump to checkout?
Open your landing page with test UTMs in a private window, click through to checkout, and read the address bar on the new domain. Look for your utm values or a _gl parameter. Then check GA4 DebugView to see whether it is one session.
Can a redirect on the checkout domain remove UTMs?
Yes. A redirect that does not keep the query string will drop everything after the question mark. Check the destination's redirect rules and make sure they preserve parameters.
Related issues
- TRK-314Cross-domain _gl linker parameter not appendedFix guide
- TRK-316Cross-domain domains list missing the booking toolFix guide
- TRK-327Thank-you page on another domain starts new sessionFix guide
- TRK-326Payment gateway (PayPal/Stripe) shown as referral sourceFix guide
- TRK-315_gl parameter stripped by destination redirectFix guide
- TRK-312UTMs lost when moving from landing page to form pageFix guide