WebmasterID logoWebmasterID
Referrers

Referrer spam and ghost referrals

Referrer spam injects fake referrer domains to lure operators into visiting a promoted site, while ghost referrals never touch your server at all — they are fabricated hits sent straight into measurement endpoints. Both pollute source reports with traffic that is not real. Recognising the pattern and filtering it keeps your data trustworthy without ever visiting the spam domains.

Partially verified

Spam vs ghost referrals

Referrer spam sets a fake Referer value on real (often automated) requests, hoping you will see the domain in your reports and visit it. Ghost referrals are different: they are fabricated hits sent directly to a measurement endpoint without ever loading your site, so they appear in client-side analytics for pages or domains that were never actually requested.

Server-side measurement is structurally resistant to ghost referrals, because it only records requests your server actually handled. Spam that rides on real requests can still appear and should be filtered.

Filtering safely

Do not visit a domain that shows up as suspicious referrer spam — that is exactly the behaviour the spammer wants. Instead, exclude known spam domains and obvious bot patterns from your reports, and treat unfamiliar promotional referrers with suspicion until verified.

Keep filters as exclusions rather than letting spam inflate a legitimate-looking source. MDN documents the Referer header, which helps you judge whether a value is plausible.

How it appears in analytics and logs

An unfamiliar referrer domain promoting a product, or hits that do not correspond to any real request your server handled, signals referrer spam or a ghost referral. These are noise, not traffic, and should be excluded rather than analysed as a source.

Diagnostic use case

Recognise fake referrer domains and ghost hits in your reports, filter them out, and avoid visiting spam domains that appear in the referrer.

What WebmasterID can help detect

Because WebmasterID records traffic server-side from requests that actually reached your site, it is not exposed to client-side ghost referrals injected directly into a measurement endpoint, and it can surface suspicious referrer domains for exclusion.

Common mistakes

Privacy and accuracy notes

Referrer spam is fabricated input, not visitor data. WebmasterID processes traffic server-side, which structurally avoids client-side ghost hits, and never treats a spam referrer as a real visitor.

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.