Skip to content
Tracking and technical

What is referrer spam?

3 min read · Updated · By the Reveata team

Short answerReferrer spam (also called referral spam) is fake traffic sent with a made-up referring website, so that the spammer's domain shows up in your analytics reports and tempts you to visit it.

When a browser follows a link, it tells the new site where it came from in the Referer header. Analytics tools turn that into a list of referring sites. Spammers abuse it: they send requests, or fire fake analytics events directly, with their own domain as the referrer. The goal is not to harm your site but to get your attention, so you open the domain to see who is linking to you.

How to recognise it

  • A referring domain you have never heard of, often with words like seo, traffic, buttons or free.
  • Visits that all land on the home page, last zero seconds and never do anything else.
  • A sudden burst from one domain with no matching link anywhere you can find.
  • Referrers that show up on several of your unrelated websites at once.

Do not visit a suspicious domain to check it. Some lead to adware or affiliate redirects. Search for the domain name instead, or look it up in a public spam list.

Why it matters

Referrer spam does no direct damage, but it pollutes the numbers you make decisions with. It adds visitors who will never convert, so referral traffic looks worse than it is, and it can hide a real new referrer in a list of junk. In older tools that let anyone send events with just a tracking id, spam could be injected without ever touching your site.

How Reveata filters it

Filter referral spam is on by default under Settings → General → Exclusions. Visits whose referrer is a known spam domain, or a subdomain of one, are not counted. The list is the community-maintained Matomo referrer spam list, shipped with Reveata and updated with its releases; it is never fetched while your visitors browse (Exclusions).

Filtered events are not stored, are not shown anywhere and never count towards your plan's events. When you test and an event is dropped for this reason, the server answers with an x-reveata-ignored: referrer_spam header, and the install check on your dashboard says which rule matched (Why events don't show up).

Several other checks make spam harder to inject at all:

  • Events from a page on a host that is not your website's domain, a subdomain or one of its additional domains are refused.
  • Requests missing headers every real browser sends are dropped as suspected bots.
  • Visits from data-centre and hosting networks are dropped by default, which removes many scripted senders. See data-centre traffic.

If spam still gets through

No list is complete. If a new spam domain appears, you can exclude it in a filter while you look at reports, and exclude the countries or IP ranges it comes from when the pattern is clear. Past events stay recorded, so use filters on historical periods.

Frequently asked questions

Is referrer spam dangerous for my website?

It does not usually touch your server's security. The risk is to your data, which becomes misleading, and to you if you visit the spam domains. Filtering it out of reports is usually enough.

Can I turn the spam filter off?

Yes. If a site on the list is a real referrer for you, turn off Filter referral spam in the exclusions settings. Everything else keeps being filtered by the other bot checks.

Does robots.txt stop referrer spam?

No. Spam bots ignore robots.txt, and many never request your pages at all. Filtering has to happen in the analytics tool.

See it with your own numbersReveata ties every visit and sale to the source that brought it. Add your website in a minute.
Get started
Was this page useful?
GlossaryWhat is bot traffic?Bot traffic is the share of requests to your website made by automated software, such as search engine crawlers, AI crawlers, uptime monitors, link previews and scrapers, rather than by people using a browser.GlossaryWhat is data-centre traffic?Data-centre traffic is visits whose IP address belongs to a cloud provider, server host or hosting network instead of a home, office or mobile internet connection, which usually means scripts, scrapers or automated browsers rather than people.GlossaryWhat are Core Web Vitals?Core Web Vitals are three measurements Google uses to describe a page's real-world user experience, namely Largest Contentful Paint (loading), Interaction to Next Paint (responsiveness) and Cumulative Layout Shift (visual stability).GlossaryWhat are event properties?Event properties are key–value details attached to an analytics event, such as the plan chosen or the button clicked on a signup event, so you can break one event down by those details instead of creating a separate event for every variation.GlossaryWhat is a canonical URL?A canonical URL is the one preferred address you want search engines to index and show for a page whose content is reachable at several URLs, usually declared with a rel="canonical" link in the page's head.GlossaryWhat is a Content Security Policy (CSP)?A Content Security Policy (CSP) is a set of rules a website sends to the browser, usually in a Content-Security-Policy header, listing which sources of scripts, styles, images and network connections the page is allowed to use, so injected or unexpected code is blocked.