Skip to content
FunnelGuard

Fix guide by FunnelsGuard

Thank-you page on another domain starts a new session: fix

TRK-327High impactDetectedBy FunnelGuardPublished Updated
On this page

What this issue is

A visitor clicks an ad, lands on www.yourbrand.com, fills in a form, and is sent to a thank-you page on another domain, such as yourbrand-booking.com or a tool's hosted page. Analytics stores the visitor's identity in a first-party cookie, and a cookie set on one domain cannot be read on another. So the second domain sees a brand new visitor.

Where the session breaks
  1. Ad clickgclid and UTMs arrive on landing page
  2. Form pageSame domain, session continues
  3. Redirect to other domainNo _gl linker, cookie not shared
  4. Thank-you pageNew session, source = direct or referral
  5. ConversionCredited to the wrong channel

The ad click is tracked on the first domain. The jump to the thank-you domain loses the identity, so the conversion has no source.

Why it costs you leads or sales

Where the same 100 conversions are reportedExample numbers
Where the same 100 conversions are reported (example)Paid search (linked domains): 100 conversions; Paid search (not linked): 35 conversions; Direct / referral (not linked): 65 conversions038771003565Paid search (linked d…Paid search (not link…Direct / referral (no…conversions

Example: illustrative numbers for 100 leads that all came from paid search.

How to check if your site has it

Check by hand in five minutes
  1. Open a private window and visit your landing page with test UTMs

    Use a URL like https://www.yourbrand.com/?utm_source=test&utm_medium=cpc&utm_campaign=xdomain.

  2. Submit the form or start the checkout

    Watch the address bar when you land on the other domain. A working setup shows ?_gl=... in the URL (it may be removed a moment later).

  3. Open GA4 DebugView or Tag Assistant

    In GA4 go to Admin > DebugView, with debug mode on from Tag Assistant. Check the session_start and page_view events on the thank-you page.

  4. Compare the client ID and session

    If the thank-you page shows a new session_start and a different source than the landing page, the domains are not linked.

  5. Look in your reports

    In GA4 Reports > Acquisition > Traffic acquisition, a lot of key events under Direct, or under your own domains as Referral, is a warning sign.

How to fix it

Set up cross-domain tracking
  1. Use one container or the same GA4 measurement ID

    Make sure the GA4 configuration tag runs on both domains and sends to the same measurement ID.

  2. Add the domains in GA4

    In GA4 go to Admin > Data streams > your web stream > Configure tag settings > Configure your domains. Add each domain with the match type 'contains' or 'exactly matches'.

  3. Publish and test

    Use GTM Preview on the first domain, click through to the second and confirm _gl is added to the URL.

gtag.js linker config (put it on both domains)javascript
gtag('config', 'G-XXXXXXXXXX', {
  linker: {
    domains: ['www.yourbrand.com', 'yourbrand-booking.com'],
    accept_incoming: true
  }
});

How to confirm it's fixed

Confirmation checklist
  • The URL on the second domain contains _gl= right after the jump.
  • In DebugView there is no new session_start on the thank-you page.
  • The source and medium on the thank-you page match your test UTMs.
  • The conversion shows under the right channel in GA4 after processing.
  • Ad platform tags on the thank-you page still receive the click ID.

How to prevent it happening again

Habits that help
  • Add new domains to Configure your domains before launch.
  • Test with UTMs after every change to forms, redirects or tag setup.
  • Use one GA4 property across all funnel domains.
  • Watch for a rise in direct traffic or self-referrals.

How FunnelGuard handles this

Questions people ask

Why does my thank-you page show as direct traffic in GA4?

If the thank-you page is on another domain that is not linked, GA4 cannot read the visitor's cookie there and starts a new session with no source, so it is often reported as direct. Add both domains in Configure your domains and check that the _gl parameter reaches the second site.

How do I set up cross-domain tracking in GA4?

Go to Admin > Data streams > your web stream > Configure tag settings > Configure your domains and add every domain in the journey. Use the same GA4 measurement ID on all of them, then test that _gl appears in the URL when you move between sites.

Why is my own domain showing as a referral in GA4?

This happens when a visitor moves between two of your domains and the session is not continued, so the first domain is credited as the referrer. Linking the domains fixes it, and you can also add the domain under List unwanted referrals.

What is the _gl parameter?

It is a linker parameter GA4 adds to links and form submissions between your domains. It carries the visitor's identifiers so the second site can continue the same session instead of starting a new one.

Why is the _gl parameter missing after my form redirect?

The linker only decorates links and forms it detects, so a server redirect, a script redirect or a third-party tool's redirect can drop it. Make the redirect keep the query string, or send visitors to the thank-you page with a normal link.

Does a thank-you page on another domain affect Google Ads conversions?

It can. If the conversion tag runs on the second domain without the click ID, Google Ads may not match the conversion to the ad click. Link the domains and check that the conversion appears in Google Ads as well as GA4.

Can FunnelGuard tell me if my thank-you page starts a new session?

Yes. FunnelGuard runs the journey on a schedule and its cross-domain check detects when tracking identity does not carry over to a thank-you page on another domain. It re-checks from a second region and sends one alert with a screenshot and a likely cause.

Does FunnelGuard catch this?

Detected

FunnelGuard checks for this today.

How: cross_domain.

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.