GA4 Cross Domain Tracking: Setup and Verification

Getting one user journey across two domains to count as one journey. The configuration and the checks that prove it works.

If your journey spans two domains, cross domain tracking is what keeps it as one journey with one attribution path. Without it, every domain crossing creates a new user and loses the original source.

The configuration

  1. In GA4 admin, open data streams, then configure tag settings, then configure your domains.

  2. Add every domain in the journey, including the one you are configuring from.

  3. Add the other domains to the unwanted referrals list as well.

  4. Use the same measurement ID on all domains.

That last point is the one people get wrong. Two properties, one per domain, cannot produce a joined journey. One property spanning both domains is the requirement.

How it actually works

When a user clicks a link from domain A to domain B, the tag appends a _gl parameter to the destination URL. That parameter carries the client ID.

Domain B reads it and adopts the same client ID instead of generating a new one. Same user, same session, attribution preserved.

Verifying it

Click a link from one domain to the other and look at the resulting URL. If there is no _gl parameter, it is not working and nothing else matters.

Then check in GA4 whether the journey appears as one session with the original source, rather than two sessions with the second attributed as a referral from your own domain.

Seeing your own domain in the referral report is the clearest sign this is broken.

Why the linker fails

  • the link is created by JavaScript after the linker has already processed the page

  • the link goes through a redirect that strips query parameters

  • the destination domain is not in the configured list

  • a consent banner blocks the tag that sets up the linker

  • the user opens the link in a new tab in a way that drops parameters

Redirects are the most common. A link that passes through a URL shortener or a tracking redirect often loses the parameter, and the journey breaks with no visible error.

Forms that post to another domain

If a form on domain A submits to domain B, the linker parameter needs to be carried in the form submission, not just on links.

This usually needs explicit handling: read the linker value and include it as a hidden field, or append it to the form action. It is a common gap in otherwise correct setups.

Conversions belong on one side

Decide which domain fires the conversion and fire it only there, normally wherever the transaction completes.

Then attach the order ID so that if anything on the other domain also reports, the repeat is discarded. Cross domain setups are a common source of duplicate conversions.

Where server-side is more robust

If the linker genuinely cannot work, for instance because a payment provider strips parameters or the journey passes through an email link, server-side tracking sidesteps the problem.

An order created on your server is one order regardless of which domain the browser was on. See why server-side tracking matters.

If you would rather have this done for you, here is the offline conversion tracking service, or just get in touch and I will take a look at your setup.

Need accurate tracking?

Its Free

500+ Happy Clients ⭐️

Keep Reading

See exactly where you’re wasting ad spend and how better tracking can double your sales.

See exactly where you’re wasting ad spend and how better tracking can double your sales.

Tracking in 3 Hours

Tracking in 3 Hours

I Manage Everything

I Manage Everything

24/7 Expert Support

24/7 Expert Support

TESTIMONIALS

Trusted by 500+ satisfied clients

Discover how we’ve driven growth and innovation.

500+ Tracking

500+ Tracking

Adélaïde De Vos

3,922 followers

I had the pleasure to work with Abdul and I can say that he exceeded my expectations. He was professional, patient, and clear in his explanations and committed to client satisfaction. If you're looking for someone who is not only highly skilled but also reliable and committed to client satisfaction, I highly recommend Kayium!

Dean Watson

1,030 followers

Kayium setup our tracking for Google Ads and Meta Ads, which helped us get 20%+ more conversions on the same ad spend. He didn’t just handle the technical setup,he also took the time to explain why it works and how it improves results. If you’re looking for someone skilled, reliable, and committed to delivering real results, I highly recommend him!

David Friend

CEO: Profitable Sites

Kayium set up accurate tracking that helped us scale ads fast and boost conversions by over 25%. He gave us clear insight into which ads drive revenue.

Lalita Sundari

7,924 followers

I've worked with Kayium; his strategic mindset and expertise in GTM, GA4, Pixel & Server Side Tracking, are invaluable! I highly recommend Kayium!

© 2026 Abdul Kayium

Owned by Kayium

© 2026 Abdul Kayium

Owned by Kayium