GA4 Cross-Domain Tracking: Setup, Testing and Payment Referrals

April 11, 2026

Author: Shusaku Yosa
GA4のクロスドメイン計測とは?設定方法と注意点

GA4 cross-domain measurement helps connect a visitor’s journey across separate website domains, such as a company site and its booking service. The relevant pages must send to the intended same web data stream, and you must be able to implement the required tags.

Cross-domain configuration and unwanted-referral settings are different. One supports continuity of identifiers; the other changes how a referrer is treated. Hiding a referral does not repair a broken journey.

Decide what kind of transition you have

The domains below are illustrative.

Transition

Approach

Check

company.example to booking.example

Consider cross-domain measurement if both can be tagged

Same stream and supported navigation

info.site.example to shop.site.example

Inspect the existing subdomain configuration first

Cookie scope, identifiers and settings

Your site to an untaggable payment provider and back

Treat the return referral separately

Provider capabilities and attribution behavior

An unrelated third-party website

Do not add it indiscriminately

Control, permission and measurement purpose

Subdomains can share cookies, but that does not guarantee every implementation is already correct. Test the actual continuity rather than relying on the hostname alone.

Prepare the implementation

Inventory domains, owners, existing tags and destinations. Confirm the intended measurement ID on both sides, and check whether a CMS integration already sends the same data. List ordinary links, form submissions, redirects and embedded booking flows separately.

Using the same GTM container is not the fundamental requirement. Different containers can deploy compatible tags to the same intended stream. Consent and browser restrictions still determine what can be observed.

Configure the domains

Open the web data stream in GA4 Admin, enter the Google tag settings and choose Configure your domains. Add conditions covering the domains that belong to the journey. Avoid an excessively broad match that includes unrelated sites.

For supported links and forms, the tag adds a _gl parameter to carry linking information. The destination must receive and process it. A redirect that strips query parameters can break the transfer.

Correctly configured cross-domain transitions receive automatic unwanted-referral handling under the relevant conditions. Adding every connected domain manually to another exclusion list is not a universal extra requirement.

Test more than the presence of _gl

Test

Expected result

Investigate if it fails

Ordinary link

Linking information reaches the destination

Domain rules and tag timing

Redirect

Information survives to the final page

URL rewriting and parameter removal

Form navigation

Supported transfer works

Form implementation and custom JavaScript

Destination events

Correct destination and continuity

Measurement ID, cookies and consent

Reload after success

No unintended repeat outcome

Success conditions and deduplication

Use Tag Assistant and GA4 debugging to inspect destinations, page locations and event order. When necessary, a developer should compare the client and session identifiers in measurement requests before and after navigation. Seeing both pages in DebugView does not, by itself, prove a single connected session.

Keep the test within one browser context and account for session expiry. Different devices are not automatically one continuous session. An embedded iframe is also not equivalent to ordinary top-level navigation; check the provider’s implementation options.

Handle payment providers separately

Listing a payment provider’s domain does not give you visibility inside its untaggable pages. If its return referral disrupts acquisition reporting, review the unwanted-referrals workflow.

Cross-domain configuration does not establish that payment succeeded. Tie purchase measurement to a trusted confirmation, define order-level duplicate handling and avoid putting personal information in URLs or analytics parameters.

Document the test date, routes, destinations, consent conditions, remaining limitations and rollback configuration. Successful linking improves continuity; it does not eliminate every measurement gap.

Keep marketing reporting consistent

Use consistent metric definitions and reporting periods when reviewing results. See NeX-Ray’s supported integrations and reporting features, or start for free.

References

Official references checked September 28, 2026. Interface labels and available features can vary by account and rollout.

Related posts