Skip to content
ASLAN

GA4 Cross Domain Tracking: Test a Booking or Checkout Journey

A laptop and phone show a website layout and booking calendar on a desk.

GA4 cross domain tracking lets Analytics recognize one user and session when someone clicks from your website to a second tagged domain. For a marketing team, the reason to set it up is concrete: a booking or order that starts on a campaign landing page should not look like it started at the booking vendor.

Seeing _gl on the first request is a useful clue, but it's not the pass condition. Verify that the destination uses the same web stream, that the linker survives to a page that can read it, and that one confirmed booking creates one event.

Key takeaways

  • Use the same GA4 web stream on both tagged domains.
  • Check that the linker survives to a tagged page and compare client and session IDs.
  • Reconcile one Analytics success with one confirmed booking, and rule out refresh duplicates.
Journey What to do
Your website links to another domain where you can run the same Google tag Configure cross-domain measurement and verify both sides of the handoff.
Your website and checkout use subdomains under one root domain Test first. They may already share cookies with consistent tagging and cookie settings; add configuration only if the observed handoff needs it.
A hosted provider strips parameters or won't run your tag Ask if it supports your stream's GA4 tag and linker. If not, measure the outbound handoff separately and take confirmations from the provider or CRM. Don't label a click as a booking.
The scheduling form lives inside a third-party iframe This is not the same as a top-level link. Your page's tag cannot inspect a cross-origin frame; use the vendor’s supported integration or verify a first-party confirmation path.

Decide what you want to prove. An appointment confirmation may be a good Analytics event. A held consultation that sales accepts is a separate CRM outcome. If the provider doesn't expose a reliable booking record, GA4 alone cannot tell you how many people showed up.

Configure domains on one GA4 web stream

  1. In Admin → Data streams, open the web stream that owns the journey. In Google’s cross-domain setup instructions, the remaining path is Configure tag settings → Configure your domains. You need the property’s Editor role or higher for this configuration.
  2. Put the same G-… ID from that same web stream on the tagged pages of both domains. If the vendor exposes a GA4 field, check the actual tag requests on the confirmation page after saving. A matching number pasted in the dashboard is not test evidence.
  3. Add domain conditions for the real entry points. Prefer the narrowest supported match that covers the intended hosts. Walk the actual button, form, language redirect, mobile handoff and return link; don't assume a vendor’s marketing hostname is its booking hostname.
  4. Coordinate consent behavior with both site owners. Test the granted path for continuity and repeat with denied consent for your intended privacy behavior. Google’s consent configuration guide explains how consent defaults and updates affect tag behavior. A blocked debug event is not a reason to override a visitor's choice.
  5. Choose one owner for the confirmation event. If the vendor and your return page both send it, decide which is authoritative. For a booking, don’t assume adding a custom booking ID automatically deduplicates arbitrary events in GA4; prevent the duplicate in your tracking implementation.

Adding a domain to unwanted referrals is not a replacement for these steps. Suppressing a referral doesn't share client or session identifiers. Similarly, keep UTMs on the initial campaign URL; don't add a new campaign tag to your own onward link as a repair for a broken linker.

Start on the campaign landing page, follow the linker through the actual redirect, and compare IDs on the tagged booking page.
Start on the campaign landing page, follow the linker through the actual redirect, and compare IDs on the tagged booking page.

★★★★★5-star client feedback

Test the tracking on your live funnel

Bring the two domains and the booking or checkout step you want to measure.

Book My Free GA4 Tracking Consultation  →

Test GA4 cross domain tracking from landing page to booking

Use the cross-domain booking QA worksheet to record expectations and observed evidence. This example uses reserved domains and a synthetic booking.

  1. Start fresh. Open a clean browser profile, use your approved test consent path and land on www.studio.example/?utm_source=qa&utm_medium=test&utm_campaign=booking-test. Keep this low-volume test out of production reporting when possible; verify production tag behavior in a narrowly controlled run if staging isn't representative.
  2. Record the source request. In Chrome DevTools, open Network, turn on Preserve log, and identify the GA4 collection request. On common browser requests, look for the measurement ID (tid), client ID (cid) and session ID (sid) when available. Record redacted aliases such as stream-A / client-1 / session-1, not raw tokens or unrelated request data.
  3. Follow the real CTA. Click to booking.vendor.example through the same path a visitor uses. Find _gl on the destination request. If there are redirects, follow requests in order to find the first hop that loses it before the tag reads it. A final clean URL is not conclusive: a provider can remove parameters after consumption. The destination hit's IDs tell you what actually happened.
  4. Compare the destination and confirmation. In the same uninterrupted browser journey, confirm the destination's collection request uses the same stream and expected client/session IDs. Complete one permitted test booking. In DebugView or the request log, check the confirmation event and save a redacted record. Compare with one test booking in the provider. Refresh the confirmation and repeat an unsuccessful attempt; neither should create another success. Use processed reports for the campaign attribution check after normal reporting delay, not DebugView alone.
  5. Repeat on a phone and with the browser paths people actually use. Include a return from the vendor if it's part of the journey. Test in an in-app browser if it represents a material source of inquiries. A browser or app handoff that starts a new context may not preserve the same session. Record the constraint instead of treating it as a cross-domain settings fix.
What you observe Where to look next
_gl never appears on the outgoing request Check the domain condition against the actual hostname. Google notes that click handlers which stop propagation or change the URL from script can interfere with link decoration.
_gl appears on entry but disappears in a redirect before a tagged page Ask the redirect owner to preserve the query parameter across that hop; then rerun the original click path.
_gl arrives but the destination gets different IDs Check the destination's stream, whether the tag ran, consent behavior and when the linker was read.
IDs match but one booking reports twice Look for tags on both the vendor and return page, a refresh replay, or both browser and server sending the same business success.
Client-side checks pass but attribution looks wrong in reports Check report scope, date range and processing lag. Compare session source/medium for the test against the original campaign.

If this check exposes several unrelated tag problems, the GA4 audit checklist covers the broader account. If the leak is on the page itself, use the landing page checklist to isolate form and booking usability issues before blaming Analytics.

Treat one confirmed booking as the success. Refresh and abandoned runs should not send another success event.
Treat one confirmed booking as the success. Refresh and abandoned runs should not send another success event.
Copy the QA worksheet

Copy the entire block into a plain-text file, save it as cross-domain-booking-qa.csv, then open it in a spreadsheet. Import case as text to preserve its leading zero. Record your result in observed and a non-sensitive trace reference in redacted_evidence; the expected column is a prediction, not proof.

case,consent_path,browser_or_device,action,expected,observed,redacted_evidence,owner
01,granted,clean desktop,click actual booking CTA,linker arrives and same stream-client-session aliases appear across permitted uninterrupted handoff,,,Analytics
02,granted,clean desktop,follow all redirects to first tagged booking page,linker survives until consumed; log first dropping hop if not,,,Web or vendor
03,granted,clean desktop,finish one synthetic booking,one booking record plus one designated analytics success,,,Analytics and booking ops
04,granted,same desktop,refresh or revisit confirmation,no new business-success event,,,Web or vendor
05,granted,clean desktop,abandon or fail booking,no completed booking event,,,Booking ops
06,denied,clean desktop,click CTA and complete test if permitted,approved denied-consent behavior; do not expect identifier continuity,,,Privacy and analytics
07,granted,mobile,complete test via normal mobile path,continuity matches supported browser context or limitation is recorded,,,QA
08,granted,supported browser,view processed campaign result after applicable lag,scope and date basis documented; test campaign matches where eligible,,,Analytics

What does GA4 cross domain tracking cost?

Standard Google Analytics is available without charge, and cross-domain measurement is a web-stream setting, not a separate add-on. Check whether your booking tool charges for custom scripts, a custom domain or exports. Budget for whoever can update redirects and consent settings, and for QA on both domains. Don't buy a vendor upgrade until you've confirmed it gives you the exact tag placement or export needed for this journey.

GA4 cross domain tracking FAQ

Does seeing the linker mean the session is fixed?

No. It means the parameter reached the request you inspected. For a normal, consented journey, compare the IDs on both tagged domains and then inspect a confirmed booking.

Can I track a confirmed booking if I can't tag the vendor’s pages?

Possibly, if the vendor offers a reliable native integration or confirmed booking export. Use it for the completed outcome and the website event for the handoff. Without a supported join, report the two counts separately rather than claiming visitor-level continuity.

Will this repair old referral data?

No. Configure and validate the handoff going forward. Add a note to your reports for the change date so analysts don't compare broken and repaired measurement as if the method never changed.

If you can show where the visitor leaves your site but not which bookings came back, bring the landing URL, vendor name and a redacted test path to an Aslan Agency consultation. We can identify which side owns the fix and whether it belongs on your website or in the vendor configuration.

★★★★★5-star client feedback

Find which side owns the booking handoff

Bring a redacted test path and one example of where attribution breaks.

Book My Free GA4 Tracking Consultation  →

WORK WITH ASLAN

Let's talk about your next campaign.

Content, search, or outbound. Tell us where you want to go and we’ll work out how we can help.

Book a Call
Scroll to Top