Skip to content
FunnelGuard

Fix guide by FunnelsGuard

Cross-domain tracking missing your booking tool: how to fix it

TRK-316Medium impactDetectedBy FunnelGuardPublished Updated
On this page

What this issue is

Analytics cookies belong to one domain. When a visitor moves from www.yoursite.com to a booking tool on another domain, the cookie does not follow. Cross-domain measurement fixes this by adding a _gl parameter to the link, which carries the visitor's identity across.

GA4 only does this for domains you list. The list is under Admin > Data streams > your web stream > Configure tag settings > Configure your domains. If the booking tool's domain is missing, GA4 does not add _gl to links that point to it.

Why it costs you leads or sales

The booking is often the conversion that matters most. When the session splits, that conversion is credited to Direct, or to the booking tool as a referral. Your Google Ads, Meta or email campaigns then look weaker than they are, and you may cut budget from channels that actually produce calls.

Where the source is lost
  1. Ad clickLands with UTMs or gclid
  2. Landing pageSession recorded with source
  3. Click Book nowLink has no _gl parameter
  4. Booking domainNew session, source Direct or Referral
  5. Booking confirmedCredited to the wrong channel

The visitor's campaign source is dropped at the move to the booking domain.

Bookings credited by channelExample numbers
Bookings credited by channel (example)Paid search (reported): 8 bookings; Direct (reported): 19 bookings; Referral from booking tool: 13 bookings071581913Paid search (reported)Direct (reported)Referral from booking…bookings

Example: 40 bookings really came from paid search. With the domain missing, most show up as Direct or Referral.

How to check if your site has it

Check the cross-domain setup
  1. Open the domain list in GA4

    Go to Admin > Data streams > your web stream > Configure tag settings > Configure your domains. Look for the booking tool's domain.

  2. Click your own Book now button

    Open your landing page in a fresh browser window, accept analytics cookies and click the booking link.

  3. Read the URL on the booking page

    A working setup shows ?_gl= followed by a long value. If the address has no _gl, the domain is not linked.

  4. Look at the booking in GA4 reports

    In Reports > Acquisition > Traffic acquisition, check whether the booking tool appears as a referral or bookings sit under Direct.

  5. Check the referral exclusion list

    In Configure tag settings, open List unwanted referrals and see if the booking domain is there. It should be, so it stops showing as a referrer.

How to fix it

Add the booking domain to the cross-domain list, make sure the GA4 tag runs on the booking pages, and keep the domain off your referral list so it is not counted as a source.

Add the booking domain by platform
  1. Open your Google tag

    In Tag Manager, open the Google tag (GA4 configuration). Under Configuration settings add a parameter linker with the domains, or use the Cross-domain settings if shown.

  2. Add the domains

    List your site and the booking domain, for example yoursite.com and booking-tool.com. Use the domain as it appears in the booking link.

  3. Preview and publish

    Use Preview, click the booking link and confirm _gl is added. Then publish the container.

gtag.js linker with the booking domainjavascript
gtag('config', 'G-XXXXXXXXXX', {
  linker: {
    domains: ['yoursite.com', 'booking-tool.com']
  }
});

How to confirm it's fixed

Confirmation checks
  • The booking domain is listed under Configure your domains in GA4.
  • Clicking your Book now link adds ?_gl= to the booking page address.
  • The GA4 tag loads on the booking pages (check DebugView or the Network tab for a collect request).
  • The same Client ID or session carries across both domains in DebugView.
  • The booking domain is in the unwanted referrals list.
  • A test booking is credited to the right source in GA4 after processing.
Booking attribution

Domain not listed

  • Link has no `_gl`
  • New session starts on the booking domain
  • Booking shown as Direct or Referral

Domain listed

  • Link carries `_gl`
  • One session across both domains
  • Booking credited to the real campaign

How to prevent it happening again

The list goes stale when you change booking tools, add a custom calendar domain or move to a new subdomain. Add a step to your launch checklist: whenever a link points to a new domain in the funnel, add it to the cross-domain list and test _gl. Also re-test after theme, tag or consent changes, since they can stop the linker from running.

How FunnelGuard handles this

FunnelGuard detects this today. A robot visitor runs your real journey, clicks through to the booking tool and checks the step and the tracking hits sent along the way. It flags when the handoff to the booking domain does not carry the cross-domain linker, so the session would split. A failure is re-checked from a second region before one alert is sent, with a screenshot and a likely cause. The test visit is marked with utm_source=funnelguard and fg_test=1, and it never enters real payment details.

The Free plan covers 1 site and 2 journeys with daily checks and no card. Paid plans start at $39/month with a 3-day free trial.

Questions people ask

Why is my booking tool showing as a referral in GA4?

GA4 sees the visit to the booking domain as a new session that arrived from your site. This happens when the booking domain is not in your cross-domain list, so no _gl parameter is passed. Add the domain under Configure your domains and the sessions will join.

How do I add a booking domain to GA4 cross-domain tracking?

Open Admin > Data streams > your web stream > Configure tag settings > Configure your domains. Add the booking tool's domain as a match condition and save. Then make sure the same GA4 tag runs on the booking pages.

Why are my bookings counted as direct traffic?

When the session splits at the booking domain, the original source is lost and GA4 often files the visit as Direct. A missing cross-domain entry is a common cause. Check whether the booking link has a _gl parameter.

How do I know if cross-domain tracking is working?

Click the link from your site to the other domain and look at the address. A ?_gl= value means the linker is working. You can also check in GA4 DebugView that the same user continues across both domains.

Do I need cross-domain tracking for Calendly or other booking tools?

Yes, if the tool opens on its own domain and you want bookings tied to the original campaign. You also need to be able to run your GA4 tag on the booking pages. If the tool cannot run your tag, check what it offers for tracking.

Should the booking domain be in the unwanted referrals list too?

Yes. Listing it there stops GA4 from treating the booking tool as the traffic source when visitors return from it. Use it together with the cross-domain list, not instead of it.

Can FunnelGuard tell me if my booking link loses the session?

Yes. FunnelGuard runs the journey with a robot visitor and checks the handoff to the booking domain. If the cross-domain linker is missing, it alerts you with a screenshot and a likely cause.

Does FunnelGuard catch this?

Detected

FunnelGuard checks for this today.

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.