Paul LovellBook a call
Back to Blog
5 min readPaul Lovell

GA4 Cross-Host Tracking Without Data Fragmentation

A single user journey across a subdomain or third-party checkout can silently split into separate sessions if domain measurement isn't configured.

AnalyticsGA4Technical SEO

Operating across subdomains, or a multi-domain checkout platform like Shopify or Zendesk, causes real session fragmentation in GA4 if domain measurement isn't configured correctly. Without it, one user journey splits into separate sessions, and the second session frequently gets misattributed as referral traffic from your own domain instead of preserving the original source.

The setup, step by step

  1. 1In GA4 Admin → Data Streams → Configure tag settings → Configure your domains, add every domain and subdomain in the user journey, including third-party checkout platforms where relevant.
  2. 2Under the same settings, add your own domains to the unwanted referrals list, so cross-domain navigation doesn't overwrite the original traffic source.
  3. 3In Google Tag Manager, set the GA4 configuration tag's cookie_domain parameter to auto, so the client/session cookie is written at the root domain level and shared across subdomains rather than scoped to just one host.

What this actually fixes

Done correctly, a user landing on the root domain and continuing to a subdomain or third-party checkout keeps the same client ID and session, and the original acquisition channel stays intact through to conversion — instead of showing up as two disconnected sessions with the second one crediting itself as a self-referral.

Paul Lovell

Written by

Paul Lovell

International SEO Consultant & Founder of Always Evolving SEO. 15+ years running technical audits, log-file analysis, and root-cause fixes for multimillion-dollar businesses — speaker at SMX London, Search & Content Summit, and SEMrush events.