How do I set up cross-domain tracking between two websites in GA4?
Asked on Sep 14, 2025
Answer
To set up cross-domain tracking in Google Analytics 4 (GA4), you need to configure your data stream settings to recognize user sessions across different domains. This ensures that user interactions on both websites are tracked as part of a single session.
- Sign in to your Google Analytics account.
- Navigate to Admin → Data Streams and select the web data stream for your website.
- Click on "More Tagging Settings" and then "Configure your domains".
- Add the domains you want to track under "Domains", ensuring both websites are listed.
- Save the changes to apply cross-domain tracking.
Additional Comment:
- Ensure that both websites have the GA4 tracking code implemented correctly.
- Cross-domain tracking requires that both domains are under your control or have permission to be tracked together.
- Test the setup by navigating between the domains and checking the Real-Time report for consistent session tracking.
Recommended Links: