Stop a payment provider appearing as a GA4 referral

Match the checkout return domain and check whether GA4 still credits it with new traffic.

Performance creative2 min read

A shopper lands on shop.example from a tagged email, pays on checkout.payments.example, and returns to shop.example/thank-you. If the payment host appears as a referral, confirm that it is the domain sending shoppers back. The return is part of checkout. You can tell GA4 to ignore that referrer while continuing to collect the return event.

Match the domain that sends shoppers back

Run a test checkout and inspect the referring URL on the first tagged store page after payment. Use the hostname you observe there. The service can use different hosts for checkout and the final redirect.

In GA4, open Admin → Data streams, select the store’s web stream, then open Configure tag settings → Show all → List unwanted referrals. Add a rule matching the observed payment hostname. In this example, use an exact match for checkout.payments.example. Save it and repeat the path. Google Analytics: unwanted referrals.

Retest the return and a real referral

Use a fresh browser profile and a tagged test landing URL so old attribution cannot contaminate the comparison. On the return from payment, check that the store tag still sends its event and that the matching event carries ignore_referrer=true. As a control, follow a genuine partner link from a different domain in another fresh profile. A narrowly scoped rule should leave that referrer eligible for attribution.

In Traffic acquisition, review Session source / medium for the test period once data is processed. Previously attributed traffic can still show the payment domain, including later direct returns that inherit an earlier referral within the lookback window. If you are looking at First user source / medium, switch to the session view for this check. Google’s example of returning users.

If the partner referral is also ignored, check for a manually configured ignore_referrer on that page or event. Google says even ignore_referrer: false causes the referrer to be ignored; remove the parameter where it should not apply rather than setting it to false.

Marketing workflow
All guides
Stop a payment provider appearing as a GA4 referral | Formatry Media — Formatry