Trace a checkout redirect, separate purchase attribution from referral exclusion, and prove whether a payment domain hides a broken cross-domain journey., redirects and session continuity in a maintainable measurement setup. The goal is to make behavior observable, reduce hidden dependencies and ensure that changes can be reviewed before they affect production data.
Define the implementation contract
State the intended behavior, the event or request that initiates it, the data required and the destination that consumes the result. Identify prerequisites such as consent, authentication, route state or environment. Separate platform configuration from application behavior and name the owner of each dependency.
Apply the method
Reproduce the checkout journey; inspect landing and return URLs; check cross-domain configuration and referral behavior; compare session source before and after payment; document provider redirects and test variants.
Validate positive and negative paths
Do not add every payment domain to an exclusion list without understanding the journey. Correct cross-domain continuity and referral handling at the source where possible. Verify purchase attribution separately, and use a referral exclusion only for its intended purpose; never use it to mask broken cross-domain measurement. Test the expected path and at least one condition in which the tag or event must not proceed. Use a controlled browser session and inspect the actual event context, payload, request and destination response. Record the container or configuration version and remove personal identifiers from shared evidence.
Prepare for production changes
Promote changes through a reviewed release process. Confirm the target environment, permissions, consent behavior and destination configuration. Monitor event volume and error patterns after release, compare representative source actions with received events and define a rollback or remediation owner.
Review checklist
- Is the intended behavior and its prerequisite state explicit?
- Are event names, parameters and destinations documented?
- Have both allowed and blocked paths been tested?
- Can the request and resulting platform behavior be verified?
- Is there a named owner and a safe release or rollback path?
Official references
- Identify unwanted referrals Checked November 23, 2026
- Set up cross-domain measurement Checked November 23, 2026
What changed
- v1.0Created an original bilingual implementation guide with platform documentation and validation criteria.
- v1.1Merged ga4-unwanted-referrals-payment-domains into this guide: added separate purchase-attribution verification and the rule that an exclusion must not mask broken cross-domain measurement.