Google Analytics

Referrals from banks and payment intermediaries in Google Analytics - solution

Published Updated 5 min read

Payment gateway referrals breaking attribution in Google Analytics is one of the oldest e-commerce tracking bugs — and one that never went away through the UA → GA4 migration. When a customer is redirected through a bank's 3D Secure page or a payment intermediary (Przelewy24, PayU, Stripe Checkout, BLIK), GA4 starts a new session on return, attributing the transaction to the gateway instead of your real traffic source. This guide explains the 2026 GA4 fix.

Why the problem happens

Each external redirect breaks the session in GA4 because:

  • Cross-domain navigation triggers a new GA4 session by default
  • No referrer tag means the source becomes (direct) / (none) — or worse, the bank's domain
  • 3DS + BLIK + redirect-based wallets all introduce the same pattern
  • Result: revenue gets attributed to "online.mbank.pl" instead of Google Ads, organic, or Meta

GA4 solution: Unwanted Referrals

GA4 replaced Universal Analytics' "Referral Exclusions List" with "List unwanted referrals" — same concept, different UI. Configuration steps:

  1. AdminData Streams → click your web stream
  2. Configure tag settingsShow allList unwanted referrals
  3. Add conditionReferral domain contains or Referral domain matches regex
  4. Enter each gateway domain (one per row or use regex)
  5. Save — GA4 applies the rule to future traffic only (no historical recompute)

This list is curated from Polish + international payment infrastructure. Adapt to your stack — a domain you don't actually use should not be on your list (false positives can mask real referral problems).

Polish payment intermediaries

  • secure.przelewy24.pl
  • go.przelewy24.pl
  • secure.payu.com
  • paypo.pl
  • tpay.com
  • secure.tpay.com
  • paynow.pl
  • imoje.pl
  • blue-media.pl
  • pay.autopay.com

Polish banks (BLIK + 3DS flow)

  • online.mbank.pl
  • m.mbank.pl
  • 3dsecure.mbank.pl
  • login.ingbank.pl
  • online.santander.pl
  • ipko.pl
  • pekao24.pl
  • system.aliorbank.pl
  • bankmillennium.pl
  • ca24.credit-agricole.pl
  • login.nestbank.pl
  • e-bank.credit-agricole.pl
  • cloud.ideabank.pl
  • bosbank24.pl

Global payment processors

  • checkout.stripe.com
  • www.paypal.com
  • connect.klarna.com
  • pay.amazon.com
  • checkout.shopify.com
  • pay.google.com
  • applepay.apple.com

One catch-all regex example

If you prefer regex over an explicit list:

^(.*\.)?(przelewy24|payu|tpay|paynow|imoje|stripe|paypal|klarna)\.(com|pl)$

What happens when you exclude a gateway

After the rule applies:

  • Original session source is preserved through the payment redirect
  • Conversions attribute correctly to Google Ads / Meta Ads / organic / direct
  • The gateway domain never appears in your Acquisition → Traffic acquisition report
  • Important side-effect: if a customer legitimately arrives via a real link from that domain (e.g. a partner referral from paypal.com), it now shows as (direct)

UTM tagging as a safety net

For paid + email + influencer traffic, never rely on referrer detection alone. Tag every campaign URL with UTM parameters:

?utm_source=google&utm_medium=cpc&utm_campaign=pmax-shopping&utm_content=catalog_ads

This guarantees the attribution survives any referral break, including:

  • Payment gateway redirects
  • Email client redirects (l.instagram.com, outlook.office.com)
  • Mobile app browsers (Facebook, Instagram in-app)
  • iOS Mail Privacy Protection

Use Google's Campaign URL Builder or your own template.

Server-side tracking + Conversion APIs

In 2026, the best fix for attribution decay is not just referral exclusions — it's server-side conversion APIs:

  • Meta Conversions API (CAPI) — server-to-server event tracking, immune to ad blockers + iOS 14.5 ATT
  • Google Ads Enhanced Conversions — hashed first-party data sent server-side
  • GA4 Measurement Protocol — fire events directly from your backend

This combination + Unwanted Referrals = end-to-end attribution accuracy.

Common mistakes

  1. Excluding domains you don't use — pollutes the rule + adds maintenance debt
  2. Forgetting BLIK domains — Polish e-commerce specifically affected
  3. No UTM tagging for paid traffic — referral exclusions can't save you if there's no upstream signal
  4. Excluding payment domains but not the bank 3DS pages3dsecure.mbank.pl is a separate domain from online.mbank.pl
  5. Expecting historical recompute — GA4 applies new exclusions forward only

FAQ

Does GA4 have referral exclusions like Universal Analytics did?

Yes — the feature was renamed to "List unwanted referrals" and lives under Admin → Data Streams → Configure tag settings → Show all. The mechanism is identical: matching referrer domains are stripped from the session source, preserving the original acquisition source.

What about cross-domain tracking for my own subdomains?

Use Configure your domains (in the same tag settings panel) for first-party subdomains (shop.example.com, checkout.example.com). This is separate from unwanted referrals — cross-domain handles your own properties; unwanted referrals handles third-party redirect breakages.

Will excluding PayPal break legitimate referrals from PayPal?

Yes — that's the trade-off. If you genuinely get traffic from a PayPal link (e.g. an affiliate post mentioning you), it will appear as (direct) after exclusion. Always tag affiliate links with UTM parameters so they're never reliant on referrer detection.

Does this apply to Server-Side GTM?

Server-Side GTM doesn't fix the session-source issue by itself — that's a client-side GA4 concept. You still need the referral exclusion rule. What SSGTM does fix is ad-blocker bypass + iOS 14.5 attribution gaps through CAPI + Enhanced Conversions.

Can I use regex in the GA4 unwanted referrals list?

Yes — choose Referral domain matches regex from the dropdown. Useful when you have dozens of bank domains. Test the regex with the GA4 DebugView before saving.

Continue learning

Cookie Preferences

We use cookies to enhance your experience, analyze site traffic, and for marketing purposes. Space Ads does not collect PII or sensitive data. Choose your preferences below. Learn more