Analytics and Tracking

Referral Exclusion

Also called unwanted referrals

A GA4 setting, called unwanted referrals, that stops chosen websites such as payment providers being credited as the source of a visit or sale.

Quick facts: Referral Exclusion

Category
Analytics and Tracking
Also called
unwanted referrals
Level
Intermediate
Affects
Traffic source of sales and leads, channel revenue reports, key events imported to Google Ads, budget split
Where to see it
GA4 Admin data stream tag settings, GA4 traffic acquisition report, DebugView, test orders with each payment method
In this article4
  1. How referral exclusion works
  2. Why it matters
  3. Common mistakes
  4. How to act on it

A referral exclusion, called “unwanted referrals” in Google Analytics 4, is a setting that tells GA4 to ignore certain websites as a traffic source, so a visit that passes through them is not credited to them. Its most common use is stopping a payment provider such as PayPal from taking credit for your sales.

How referral exclusion works

GA4 records where each session came from. When someone arrives by clicking a link on another site, the browser passes on that site’s address and GA4 labels the visit a referral. Normally that is useful. The trouble starts when a customer leaves your site partway through a journey and comes back. Paying through a payment gateway such as PayPal, Klarna or Clearpay, confirming a card payment with the bank, or booking through a system hosted on another domain can all bring the customer back to your confirmation page with that other site recorded as the referrer.

In GA4 you add those domains in Admin, under your web data stream’s tag settings, in the list of unwanted referrals. When a visitor returns from a listed domain, GA4 ignores the referrer, so the session keeps its original source. The purchase stays with the Google ad, email or organic search that actually brought the customer.

Domains you own are a related but different case. If visitors cross from your main site to a separate shop or booking domain that you control, the right fix is cross-domain tracking, which carries the visitor’s identity across, and GA4 then stops treating those domains as referrers. A self-referral, where your own domain appears as a referral source, usually means one of these two settings is missing.

Why it matters

Without exclusions, sales pile up under paypal.com / referral or a bank’s domain in your acquisition reports, and the channels that really drove those customers look weaker than they are. It is a common problem in UK ecommerce, where buy-now-pay-later options are widely offered at checkout and card payments regularly involve an extra authentication step with the customer’s bank.

The distortion flows further. GA4 data reaches Google Ads through imported key events and audiences, and it shapes how budget is shared between channels. A shop that sees “referral” among its top revenue sources may cut a campaign that was doing its job.

Common mistakes

  • Waiting until the reports look wrong. Unwanted referrals apply only from the date you add them, and past data stays as it was.
  • Excluding a site that sends you genuine visitors, such as a directory or partner that links to you, which hides a real source.
  • Using exclusions to paper over missing cross-domain tracking between your own sites.
  • Using an exact-match condition when the provider returns visitors from several subdomains, so some still slip through.
  • Never retesting after switching payment provider or adding a new way to pay.

How to act on it

Open GA4’s traffic acquisition report, choose session source / medium, and filter for “referral”. Any payment provider, bank, booking engine or domain of your own in that list with purchases or key events against it is a candidate. Add each one to the unwanted referrals list, then place a test order with every payment method, arriving each time through a tagged link such as one made with the UTM link builder. The next day, check in the traffic acquisition report that those test orders sit under the tagged source rather than the payment provider.

Note the date of the change in your reporting so the shift in channel figures is explained later. I check unwanted referrals as part of every tracking review in performance marketing, because payment providers are among the most frequent reasons channel reports credit the wrong source.

Do and do not

Do

  • Look for payment providers and booking systems in your referral traffic
  • Test a purchase with every payment method after adding exclusions
  • Set up cross-domain tracking for domains you own

Do not

  • Exclude sites that send you genuine visitors
  • Expect exclusions to correct past data
  • Use exclusions to hide a missing cross-domain setup

Questions people ask about this

Do I need to add PayPal as an unwanted referral in GA4?

If customers can pay with PayPal and return to your site afterwards, usually yes. Check your traffic acquisition report for paypal.com as a referral source with purchases against it. If it appears, add it to the unwanted referrals list and test an order to confirm the original source is kept.

Will adding an unwanted referral fix my past GA4 data?

No. The setting only changes how new visits are processed from the day you add it. Past sales credited to the payment provider stay that way, so add a note in your reports marking when the change was made.

What is the difference between referral exclusion and cross-domain tracking?

Referral exclusion tells GA4 to ignore another site as a source but does not link the visitor's activity across sites. Cross-domain tracking is for domains you own and joins the visitor's session across them, so they count as one person on one journey. Use cross-domain tracking for your own domains and exclusions for third parties such as payment providers.

Related terms

Found this useful?

Share it, or ask an AI to summarise it

Back to the glossary

Knowing the term is the easy part

Applying it to your own site and budget is the work. Book a call and I will tell you what actually applies to you.