GA4 Unwanted Referrals Audit: Fix Payment Gateway Traffic
Short answer: a GA4 unwanted referrals audit finds payment gateways, booking tools and other service domains that take credit for sessions they did not create. The fix is to confirm the domain is part of your own customer flow, add the exact domain to GA4's unwanted referrals list, and test a fresh purchase or lead from the original marketing source.
This problem matters because a buyer may arrive from Google Ads, move to a processor to pay, then return to your thank-you page. If GA4 starts a referral session on the return, the processor can appear to have delivered the sale. Your ad, email or organic visit loses context, channel reports become harder to trust, and teams may shift budget using the wrong evidence. A short audit restores a cleaner view without removing the purchase event itself.
What a GA4 unwanted referrals audit checks
A referral is normally useful. It tells you that another website sent a visitor. The issue begins when a domain is not really a new source but a step inside a journey your business already controls. Common examples include card processors, hosted checkout pages, appointment systems, password services and customer portals.
Google explains that GA4 detects the site a visitor came from and can display its domain as the referral source. When a domain matches an unwanted-referral condition, GA4 adds ignore_referrer=true to matching events so that domain is not shown as the traffic source. The event still reaches the property; the referrer is what gets ignored. Read Google's unwanted referrals documentation for the current setting and limits.
Your audit should answer four questions:
- Which referral domains receive sessions, key events or revenue?
- Does each domain introduce a new visitor, or is it only part of checkout or account access?
- Should the journey use an unwanted-referral rule or cross-domain measurement?
- Can a controlled test preserve the original source after the change?
Find suspicious payment gateway referrals in GA4
Start in Reports → Acquisition → Traffic acquisition. Change the primary dimension to Session source / medium, search for referral, and set a useful date range such as the last 28 or 90 days. Add key events, transactions, purchase revenue or lead events to the table so you can see which domains claim valuable actions.
Do not judge a domain only by its name. Export the table and label every row as one of these types:
| Referral type | Likely action | Reason |
|---|---|---|
| Payment or hosted checkout | Review for exclusion | It may return existing customers after payment. |
| Your second owned domain | Check cross-domain setup | The same user and session should usually continue across both sites. |
| Affiliate or partner | Keep as referral | The partner may have introduced the visitor. |
| Review, news or directory site | Keep as referral | This is real earned referral traffic. |
| Your own domain or subdomain | Fix tagging first | A missing tag, cookie issue or broken linker may be splitting sessions. |
Next, open an Exploration with Session source / medium, landing page, hostname and page referrer. Look for sessions that begin on a confirmation, success, account or callback page. A genuine referral usually lands on content or a service page; a gateway return often lands deep in the completed flow.
Decide between unwanted referrals and cross-domain measurement
These settings solve different problems. Use the unwanted-referrals list when an external service is a step in the journey but should not receive acquisition credit. Use cross-domain measurement when users move between two domains that you own and measure with the same GA4 web data stream.
Google's cross-domain measurement guide says the setup passes user and session identifiers through the _gl linker parameter. That lets GA4 see one user and one session across configured domains. Adding an owned shop, booking site or application to the unwanted list alone does not join identities across the domains.
Practical rule: if you can place the same Google tag on both domains and both are part of your measured property, test cross-domain measurement. If the external domain is a processor you cannot tag, review it for the unwanted-referrals list.
Subdomains also deserve a tag check before any exclusion. GA4 normally prevents self-referrals, so a self-referral can point to missing tags, inconsistent cookie settings, consent behaviour or redirects that drop measurement parameters.
How to configure the GA4 unwanted referrals list
- Open Admin in the correct GA4 property.
- Under Data collection and modification, open Data streams.
- Select the website's web stream.
- Open Configure tag settings, then Show all.
- Choose List unwanted referrals.
- Add a condition for the verified domain, using the narrowest sensible match.
- Save the rule and record the date, domain and reason in your analytics change log.
Google currently allows up to 50 unwanted-referral conditions per web stream. Conditions use OR logic, so any matching row can be ignored as a referrer. Avoid a broad “contains” condition when a precise domain match will do. A loose rule can hide legitimate referral traffic that happens to share part of the text.
Test the fix without losing the original campaign
Configuration is only half the job. Open a private browser window and begin from a controlled campaign link with unique UTM values. Complete the full checkout or lead path, including the third-party step, then return to the confirmation page. Use GA4 DebugView or Realtime to confirm the relevant page view and key event arrive.
After processing time, inspect the session in acquisition reports. The gateway should no longer appear as the source. The original campaign should remain where the session and consent state allow it. If you need a naming standard for the test link, use the site's UTM parameter naming guide.
For an owned second domain, check that the destination URL contains _gl during navigation. Google's guide notes that redirects or scripts can remove the linker parameter. If it disappears, repair the cross-domain path rather than masking the symptom with an exclusion.
QA checks after your GA4 unwanted referrals audit
Monitor the next seven to fourteen days and compare results from the change date onward. The setting does not rewrite historical reports. Old gateway-attributed sessions can remain, and returning users may still reflect earlier attribution depending on their path and the applicable lookback window.
- Referral sessions from the selected gateway trend down for new data.
- Purchases or leads still fire once, with the correct value and currency where relevant.
- Original paid, organic, email or direct sources appear on tested sessions.
- No legitimate affiliate, review or partner traffic disappears.
- Session counts do not jump because an owned-domain path still creates a second session.
If form leads are part of the flow, compare the setup with this GA4 form tracking guide. For a wider pre-launch review across links, landing pages and reporting, use the marketing campaign QA checklist.
Common mistakes that damage acquisition reports
Excluding every referral that looks unfamiliar
A strange domain is not automatically bad data. Open it, check its landing pages and ask whether it truly introduced the user. Real press, community and partner links belong in Referral.
Using exclusions to hide a broken owned-domain setup
If both domains are yours, a referral rule may hide the label while the user and session split remains. Fix tagging and cross-domain measurement first.
Testing with an old browser session
Stored cookies and earlier campaign data can make the result hard to read. Use a private window, a unique campaign value and a fresh transaction or lead.
Expecting yesterday's reports to change
The new rule affects future collection. Keep the old data as a documented baseline and report the change date to anyone who reads the dashboard.
GA4 unwanted referrals audit checklist
- Export referral sources with sessions, key events and revenue.
- Classify each domain as real referral, processor, owned domain or unknown.
- Inspect landing pages and page referrers for suspicious sources.
- Choose unwanted referrals for external service steps and cross-domain measurement for owned domains.
- Add a precise domain condition and record the change.
- Run a fresh source-to-conversion test.
- Review new acquisition data after processing.
Frequently asked questions
What is an unwanted referral in GA4?
An unwanted referral is a domain that appears as a traffic source even though it is part of a customer journey you already own, such as a payment processor that sends a buyer back to your confirmation page. GA4 can ignore that domain as a referrer while keeping the returning events.
Should I add every payment gateway to the unwanted referrals list?
No. Add only domains that appear in your reports and are proven steps in your own checkout or lead flow. A broad rule can hide legitimate partners, affiliates or review sites that really did send new visitors.
What is the difference between unwanted referrals and cross-domain measurement?
Unwanted referrals tell GA4 not to treat selected domains as traffic sources. Cross-domain measurement carries user and session identifiers between domains you control and measure with the same web data stream. Owned domains usually need cross-domain measurement; external processors usually need an unwanted-referral rule.
Will the fix change historical GA4 data?
No. The setting affects data collected after the change. Keep an annotation or change log, then compare new sessions and revenue attribution from the change date onward instead of expecting old reports to be rewritten. This is exactly the kind of work we handle for clients through our SEO services.
Need clean GA4 attribution?
I can review your acquisition reports, payment or booking flow, cross-domain setup and key events, then document the changes your team should make.