WebmasterID logoWebmasterID
Event tracking

The ignore-referrer setting

The ignore-referrer setting (an unwanted-referrals / referral exclusion list in GA4) tells analytics to treat traffic from specified hostnames as not a referral, so it does not start a new session or overwrite source attribution. The classic case is a third-party payment domain: without exclusion, returning shoppers look like they came from the payment provider. It is a configuration that protects session and source integrity.

Verified against primary sources

What it does

By default, returning to your site from another hostname can register as a referral and start a new session attributed to that host. The ignore-referrer / unwanted-referrals configuration marks listed hostnames so their traffic is not treated as a referral. Source/medium is preserved across the round trip, and a single user journey stays one session rather than fracturing.

When to use it

The canonical use is checkout and authentication redirects: payment gateways, hosted login, and identity providers that bounce the user back to your domain. Without exclusion, conversions look like they came from the payment provider and original campaign attribution is lost. List the intermediary hosts you control the round trip with. Do not over-exclude genuine referrers, or you will hide real acquisition sources.

How it appears in analytics and logs

Sessions attributed to a payment or SSO hostname usually mean that domain is missing from the referral exclusion list, splitting one journey into two sessions.

Diagnostic use case

Stop a payment or auth domain from hijacking attribution by listing it as an unwanted referral, so a return to your site does not start a new, misattributed session.

What WebmasterID can help detect

WebmasterID's first-party attribution can disregard known intermediary hosts similarly; the GA4 referral-exclusion control is documented here for parity.

Common mistakes

Privacy and accuracy notes

The setting works on hostnames, not personal data. It changes attribution logic only and stores no identity; keep host lists to domains, not user information.

Related pages

Sources and verification notes

Last reviewed 2026-06-24. Facts are checked against primary/official sources where available; uncertain specifics are marked “Data not yet verified” rather than guessed.