Cross-domain measurement in GA4 allows you to track a single user's activity across multiple websites as a continuous session (with limitations explained below). Without it, a user navigating from domainA.com to domainB.com would be counted as two separate users with two separate sessions, making it impossible to understand the complete customer journey.
GA4 achieves cross-domain tracking by appending a linker parameter (_gl) to URLs that link between configured domains. This parameter shares the user's Client ID, allowing GA4 to recognize the same user on different sites.
Before implementing cross-domain measurement, consider the following:
Business Objectives: What are you trying to achieve with cross-domain tracking? Are you focused on unified user reporting, attribution modeling, or improving user experience? Your goals will inform your implementation strategy.
Website Structure: How are your websites related? Do they share a common purpose, target audience, or conversion funnel?
GA4 Account Structure: How is your current GA4 account set up? Do you use separate properties for each domain or a single property with multiple data streams?
GA4 360 vs. Standard: Are you using the free (Standard) version of GA4 or the paid (360) version? GA4 360 offers features like Rollup Properties and Subproperties that can simplify cross-domain management but may not be necessary for all organizations. It also introduces considerations described below.
Data Privacy and Compliance: Ensure your cross-domain implementation complies with all relevant data privacy regulations (e.g., GDPR, CCPA). Carefully consider data storage locations, user consent, and data governance.
Technical Resources: Do you have access to the necessary technical experience in Google Tag Manager, GA4, and potentially BigQuery?
There are several ways to implement cross-domain tracking in GA4. Here are the four most common strategies:
Each strategy offers distinct advantages and trade-offs depending on your data structure, reporting needs and GA4 version. We’ve outlined them below—including how they work, when to use them, and the key pros and cons—to help you make an informed decision.
How it works:
You create a single GA4 property and configure a single data stream where all data is sent. GA4's built-in cross-domain configuration is configured within the data stream setting.
Pro Tip: To ensure unified sessions, add each respective website to the Referral Exclusion List to prevent traffic from the initial website from appearing as referral traffic.
Unified reporting without GA4 360. Recommended for most standard GA4 users, with caveats. This strategy offers a simple and effective setup for unified user journeys inside GA4.
Pros: |
Cons: |
|
|
|
|
|
|
Each domain has its own GA4 property with cross-domain tracking enabled in each data stream.
Best for strict data separation with external analysis. For when you need property-level separation but can join the data externally. Ideal for BigQuery-centric analysis.
Pros: |
Cons: |
|
|
|
|
|
|
A Rollup Property aggregates data from multiple source properties.
Best for aggregated reporting across properties. Ideal for viewing data from multiple domains together, with some session stitching limitations.
Pros: |
Cons: |
|
|
|
|
|
|
Create subproperties that filter a subset of a source property.
Best for full cross-domain session continuity. Keep one Client ID and Session ID while offering filtered reporting views.
Pros: |
Cons: |
|
|
|
|
Now that you have a strategy in mind, it’s important to review a few key technical details to ensure your cross-domain measurement works as intended.
If using multiple properties, consider leaving domains visible in referral traffic to capture cross-domain attribution insights.
GA4 uses the _gl parameter to share the Client ID across domains. This parameter is automatically added to links between configured domains. Make a note of these important considerations:
Ensure that website redirects do not strip or modify the _gl parameter.
Cross-domain tracking only works when users click on links between configured domains. Navigating directly to a different domain (e.g., typing the URL in the browser) will not maintain the cross-domain session.
Sometimes, you may need to configure referral exclusions in GA4 to prevent your domains from appearing as referrals. Carefully consider the implications before adjusting referral exclusions. Using a Multiple Properties setup may be beneficial in not excluding referrals to see cross-domain clicks in GA4's attribution reports.
Enabling cross-domain measurement may disable automatic outbound link click tracking (part of GA4's Enhanced Measurement). You must configure custom events to track outbound clicks to your other domains.
Implement a consistent consent management strategy across all domains to ensure compliance with privacy regulations.
For most organizations, using a single GA4 property with a single data stream is the best starting point for maintaining a unified view of users and sessions, especially if you are not using GA4 360.
If you have access to GA4 360, leveraging subproperties offers a more robust solution. It allows for unified user journeys across domains while providing filtered reporting views for different business units or sites within the same property.
Other approaches, such as Rollup Properties or Multiple Properties with cross-domain configuration, can still offer value depending on your reporting structure and analysis needs. However, they add extra complexity, especially if session unification is a top priority.
And if you need deeper analysis or greater flexibility across properties, BigQuery can enhance any of these strategies by enabling advanced custom reporting and data stitching capabilities.
Have additional questions? Need help getting started? Reach out to see how we can help!