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
- 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.
- 2Under the same settings, add your own domains to the unwanted referrals list, so cross-domain navigation doesn't overwrite the original traffic source.
- 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.
Related articles
How to Host Shopify or Zendesk in a Subfolder Using Cloudflare Workers
"Our tech stack won't allow a subfolder" is usually solvable with a reverse proxy at the edge, not a platform change.
Google Consent Mode v2 and Cookie-Domain Mapping Across Subdomains
Consent granted on the root domain needs to hold on every subdomain a user visits next — that only happens with correct cookie-domain configuration.
Attributing Organic Pipeline Revenue in HubSpot
Ranking and traffic reports don't settle the ROI conversation anymore. Stakeholders want to see organic search connected to closed-won revenue.

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.