Why does my payment gateway show up as a referral source in Google Analytics?
Because buyers leave your site to pay and come back from the payment provider's domain, and analytics can credit the sale to that domain as a referral. I found this early in my career when referrals showed far more conversions than made sense. The payment gateway was being counted as a referral source. Excluding it fixed the attribution, and the budget could go to the channels that actually drove sales.
How I found it
In 2017 I was reviewing channel performance in Google Analytics and noticed that the referral channel showed a value of conversions that was simply not plausible. When I looked at the referral sources, the top one was the payment gateway. Buyers clicked pay, went to the payment page, came back to the thank you page, and analytics treated the return as a new visit from a referral.
The real source of each sale, such as a paid ad or an email, was being overwritten.
How to spot it
- Open the referral report and sort by conversions
- Look for payment providers, banks, card verification pages or your own checkout domain
- Compare referral conversions with what you know about real partner and press traffic
- Watch for a sudden jump in referral conversions after a checkout change
How to fix it
- In GA4, add the payment domains to the list of unwanted referrals in your web data stream's tag settings
- Add your own domains and subdomains too, so checkout on a subdomain does not create self referrals
- Check the fix with a test purchase and confirm the original source is kept
- Add an annotation or note with the date of the fix. I always tell founders to annotate changes, because reports before and after will not match.
Why it matters
Once the filter was in place, the conversions moved back to the channels that earned them. That meant budget could be allocated to the right channels with confidence instead of rewarding a source that never brought anyone in.
It is also a good interview story. When I coach graduates on answering with the STAR method, I use this as my example for attention to detail.