How to Set Up GA4 for Multiple Domains in a Single Analytics Property

Google Analytics 4 (GA4) marks a significant departure from Universal Analytics (UA). It is an update and a complete transformation designed for a privacy-focused, cross-platform world. Understanding these fundamental changes is essential, particularly when managing subdomains and separate domains.

From Sessions to Events: The Core Transformation

Universal Analytics relied on sessions as its primary metric, focusing on website traffic and pageviews. In contrast, GA4 is built around events, where every user interaction—including page views, clicks, scrolls, and video plays—is tracked as an event. This event-based model provides a more granular and flexible understanding of user behavior across websites and apps.

Several factors drive this shift:

Impact on Subdomains and Separate Domains

GA4’s event-based approach influences how it handles subdomains and separate domains:

Configuring Cross-Domain Tracking in GA4

To track users across separate domains, follow these steps:

  1. Use the Same Data Stream: Ensure all domains share the same Measurement ID, allowing data to flow into a single GA4 property.
  1. Access Cross-Domain Settings: In GA4, navigate to Admin (gear icon), then under Data collection and modification, select Data Streams, and choose your web data stream.
  1. Configure Tag Settings: Click on Configure tag settings.
  1. Add Domains for Cross-Domain Tracking: Click on Configure your domains and list all domains to include, ensuring you specify full domain names (e.g., example.com, example-shop.com).
  1. Save Changes: Click Save to apply your settings.

How Cross-Domain Tracking Works

When a user navigates from domainA.com to domainB.com, GA4 appends a unique parameter to the URL, which helps recognize that it is the same user. This allows GA4 to stitch together the user journey across domains.

Key Considerations

By understanding GA4’s fundamental shift and properly configuring cross-domain tracking, businesses can gain deeper insights into user behavior across all digital touchpoints.

Exit mobile version