Skip to content

GA4 Cross-Domain Tracking: Keep One Journey Connected

Set up GA4 cross-domain measurement across related domains, preserve the linker parameter and test sessions, referrals and consent on a real journey.

Two website windows connected by one continuous booking path
Jack Lee
4 Min Read
Share
On This Page

GA4 cross-domain tracking helps Analytics recognize one visitor's journey across related domains. It is useful when a main website sends people to a separate booking or checkout domain that you can also tag.

The setup needs more than adding the other website to a referral list. Both domains must participate in the measurement, and their navigation must preserve the information that connects the visit.

Map the Domains You Can Measure

Consider an education business with a main website at example.com and course booking at example.org. A visitor reads a course page, chooses a session and completes an enquiry on the booking site.

List each domain, its role, who can change its tags and which GA4 web stream it uses. The documented GA4 setup requires the same G- tag ID from the same web data stream on the participating domains. Merely placing different streams in one property is not the same configuration.

Journey stepWhat to establish
Main course websiteThe correct Google tag and booking link
Separate booking domainSame stream, working tag and access to configure the journey
External payment providerWhat the provider supports; do not assume you can install your tag

Check the main implementation before adding another integration. The GTM guide explains how tags and triggers relate.

With the appropriate property access, open Admin → Data streams → the web stream → Configure tag settings → Configure your domains.

  1. Add a condition for each intended domain.
  2. Choose a match type that covers the required host without matching unrelated domains.
  3. Check the resulting list, then save.

Conditions act as alternatives: a domain matching one can qualify. Keep the list specific to related sites that belong in this measured journey.

For the education example, include the main and booking domains, then test the link connecting them.

Understand the Linker Parameter

On supported navigation, the Google tag can decorate the destination URL with an _gl parameter. The destination reads that short-lived linker information to continue measurement identifiers across domains.

This is why normal clicking matters when testing. Do not save a decorated URL as the permanent booking link or copy an old parameter into every button. The linker is added for the actual navigation and has a limited validity period.

Redirects or custom JavaScript navigation can interfere. A link can receive _gl and then lose it at an intermediate redirect before the destination tag can read it. Other code can also prevent the normal click decoration.

Test the Real Booking Journey

Use a known test visit with the site's normal consent choices respected. Start on the course page, click the actual booking link and follow its redirects.

  • Confirm that the correct booking page loads.
  • Inspect the navigation URL and requests for linker decoration, including intermediate redirects.
  • Check that the destination tag is the intended same-stream tag and is allowed to run under the visitor's consent state.
  • Use Tag Assistant on the test journey to inspect the participating tag IDs and events on both domains, then review the relevant session evidence after processing.
  • Verify the useful completion separately; a working linker is not a form-success event.

For the education business, the completion could be an accepted course enquiry. Our form submission guide explains how to measure that success rather than a button click.

Record the test time, route, consent condition and observed problem. A URL containing _gl is one check, not proof that the complete event implementation and attribution are correct.

Distinguish Unwanted Referrals From Cross-Domain Tracking

An unwanted-referral rule tells Analytics not to treat a matching referrer as a new traffic source. It does not perform the same job as transferring identifiers between two tagged domains.

An external payment processor can need referral handling even when you cannot tag its pages. Diagnose that situation separately from the main-site-to-booking link. Adding every unfamiliar referrer to an exclusion list can hide symptoms without repairing the journey.

Subdomains also need their actual tag and cookie setup checked. They are not automatically a separate cross-domain project merely because the hostname differs.

Read the Reports With the Right Expectation

After testing and processing, review the relevant landing pages, session sources and useful events. Look for unexpected self-referrals or journeys concentrated around a broken transition.

Consent, browser restrictions and other collection limits still apply. Cross-domain configuration does not recover every missing visit or make Search Console clicks equal GA4 sessions.

Keep the domain map with the tag configuration so a future booking-platform migration includes this test again.

Frequently Asked Questions

What Is Cross-Domain Tracking in GA4?

It connects measurement across related tagged domains so the navigation can retain identifiers used for the visitor's journey.

Do Both Domains Need the Same Measurement ID?

For Google's standard GA4 setup, yes: participating pages use the same tag ID from the same web data stream.

Why Is the Linker Parameter Missing?

Check the configured domains, source tag and navigation behavior. If decoration occurs but disappears, inspect redirects for parameter removal.

Is the Unwanted Referrals List Enough?

No. Referral suppression and identifier linking are different functions. Use the appropriate configuration for the domain and the access you actually have.

Share This Article