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
httpspage to anhttppage; - 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.