Skip to content
Traffic and visitors

What is a referrer in web analytics?

2 min read · Updated · By the Reveata team

Short answerA referrer is the web address of the page that linked a visitor to your site, sent by the browser when they follow the link. Analytics tools read it to tell where a visit came from, such as Google, a blog post or a social network.

The referrer is the raw material of traffic reports. When someone clicks a link to your site, their browser usually tells your server which page the link was on. Analytics turns that address into a readable source ("Google", "Hacker News") and a channel.

Where the referrer comes from

The browser sends it in the Referer request header (the misspelling is in the original HTTP standard) and exposes it to scripts as document.referrer. Whether it is sent, and how much of it, depends on the linking page's referrer policy. Modern browsers default to sending only the origin, such as https://www.google.com/, when a visitor moves to another site, not the full path and query.

Why the referrer is often empty

A missing referrer is normal. It happens when:

  • someone types your address, uses a bookmark or opens a link from an app that does not pass one (many messaging and email apps);
  • the linking page sets rel="noreferrer" or a strict referrer policy;
  • the visitor moves from an https page to an http page;
  • a redirect or link shortener strips it.

Visits with no referrer and no tags are usually reported as direct traffic, which is why direct is often larger than it "should" be. See dark traffic.

How Reveata uses the referrer

Reveata stores the referrer's origin and path, with the query string removed, and its host. The host is then matched against a list of known sources: search engines, social networks, AI assistants such as ChatGPT and Perplexity, webmail apps and newsletter platforms. The rules are listed in UTM tags, ?ref and ad click ids:

  • A tagged link (utm_source, ?ref=) names its own source; the referrer only counts for untagged visits.
  • A known host becomes that source's channel, for example google.com → Organic search.
  • Any other external host → Referral.
  • No referrer, or a referrer on your own domains → Direct.

Referrers on the bundled referrer-spam list are dropped while that setting is on, which it is by default. You see referrers in the Sources panel under the Referrer tab and can filter on them.

Common mistakes

  • Expecting full referrer URLs. Most sites now send only their domain.
  • Reading your own domain as a referrer. That is a self-referral, usually caused by a missing script or a cross-domain hop.
  • Trusting the referrer over tags. If you tagged the link, the tag is the more reliable signal.

Frequently asked questions

Is "referer" or "referrer" correct?

Both appear. The HTTP header is spelled Referer; the English word and the JavaScript property are "referrer".

Can I see which Google search brought a visitor?

Not from the referrer. Google sends only its domain. Search terms come from Google Search Console, which Reveata can import.

Why does a social network show up under different names?

Networks use several domains (for example short-link domains and mobile subdomains). Reveata matches parent domains and known aliases so they land on one source.

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 a traffic source?A traffic source is the specific place a visit came from, such as Google, LinkedIn, a particular newsletter or a partner's website. Sources are grouped into broader channels like organic search, social or email.GlossaryWhat is referral traffic?Referral traffic is visits that arrive by clicking a link on another website, such as a blog post, a directory, a forum or a partner's page, rather than from a search engine, a social network, an email or an ad.GlossaryWhat is direct traffic?Direct traffic is the set of visits for which your analytics tool found no referrer and no campaign tag, so it cannot say where the visitor came from. It includes typed-in addresses and bookmarks, but also many untracked links from apps and emails.GlossaryWhat is a self-referral in analytics?A self-referral is a visit that analytics credits to your own domain as its referrer, as if your site had sent the visitor to itself. It usually means tracking broke somewhere in the journey, for example across a subdomain, a second domain or an external checkout.GlossaryWhat are unique visitors?Unique visitors is the number of different people, in practice different browsers or devices, that visited your website during a period, each counted once however many times they came back.GlossaryWhat is a landing page?A landing page is the page a visitor lands on first when they arrive at your website. In marketing it also means a page built for one campaign with one goal, such as a sign-up page for an ad.