Traffic
What is referral traffic? How the referrer works, and how to read it
Referral traffic is visits from a link on another site. How the referrer is set, which clicks send none, what spam looks like, and how to read the report.
The CrispStats team · · 9 min read
In short
The glossary defines referral traffic. This guide is about how the referrer header is set, which clicks never send one, how spam shows up, and how to read a row.
What is referral traffic?
Referral traffic is visits that arrive through a link on another website, once search engines, social networks and ads have been classified on their own.
A review, a partner’s documentation, a directory, a news article and a forum thread are the usual sources. The tool knows they happened because the browser sent a referrer, or because you put a source on the link yourself. Website traffic sources covers the full sorting order. Referral is the channel left after the more specific rules have matched: paid mediums, email, known search engines, social networks, video sites and AI assistants. What remains, if it names another host, is a referral.
The report is a list of hosts. The work is deciding which hosts are real introductions, and which are a checkout return or a hostname nobody sent.
How does a browser set the referrer?
The browser sets the referrer when someone follows a link, by sending the address of the page they were on, trimmed by that page’s referrer policy.
The header is spelled Referer. The misspelling is part of the HTTP specification, and it is the name analytics tools have always read. Scripts see the same value as document.referrer. On the first page of a visit, the tool stores it and turns it into a source. Later pages in the same visit keep that entry source, so a click from your pricing page to your signup page does not become a referral from yourself.
How much of the address is sent is not up to the destination site. The linking page decides, with a Referrer-Policy response header, a meta tag, or a referrerpolicy attribute on the link. MDN’s page on the Referrer-Policy header lists the policies. If the linking site sets nothing, the default is strict-origin-when-cross-origin. That default has three results that matter for a traffic report:
- A link to another page on the same origin can send the full URL, path included. Your own pages are not a referral source. A tool that is set up properly keeps them as the same visit, or files them as direct.
- A link from one HTTPS site to a different HTTPS site sends the origin only: scheme, host and port, such as
https://news.example.com/. You learn the site, not the article. - A link from an HTTPS page to an HTTP page sends no referrer. So does
rel="noreferrer"andreferrerpolicy="no-referrer"on the link itself. MDN documents both. The click then disappears from referral traffic.
Why do most referrals show a hostname and not a page?
Under the default browser policy, a cross-site click sends the site’s origin, not the path of the page that linked to you.
A reader clicks your link from https://forum.example.com/t/analytics/4821. Your report shows forum.example.com. You can confirm the site mentions you. You cannot tell which thread. The older default, no-referrer-when-downgrade, sent the full URL on an HTTPS-to-HTTPS click. MDN notes the default changed in the November 2020 revision of the spec, which is why older reports show paths and current ones mostly show hosts.
If you need the page, the campaign or the author, the referrer will not carry them. Put those names on the link yourself with UTM parameters, and keep the hostname as the check that the click really came from that site. The traffic source classifier shows how a referrer and a set of tags would be labelled before you publish the link.
Which clicks never send a referrer?
A click sends no referrer when there is no linking page, when the policy strips it, or when the link drops from HTTPS to HTTP.
The empty cases are specific, and each one lands somewhere else in the report:
| How the visit started | Referrer sent? | Where it is counted if the link has no tags |
|---|---|---|
| Typed address or bookmark | No linking page, so no | Direct |
| HTTPS page to another HTTPS site | Origin only | Referral, or a more specific channel if the host is known |
| HTTPS page to an HTTP URL | No | Direct |
| Link with rel=noreferrer, or a no-referrer policy | No | Direct |
| Many native apps, desktop email clients, PDFs and chat apps | Usually no | Direct |
| Link with utm_source and utm_medium, whatever the header | May or may not | The channel the tags name |
Apps and email are the rows that surprise people. A tap inside a mail app or a chat app often has no web page to send as the referrer, so the header is empty and the visit is counted as direct. The visit is real. The origin was lost. Tag the links you control, or an untagged newsletter keeps inflating direct.
What is a spam referral?
A spam referral is a hostname that shows up because a client sent that name as the referrer, often so someone will notice it and visit.
The referrer is whatever the client sends. A bot can request your pages with any host in that header, and some spam never requests the page at all: it sends a hit to a collector, so the hostname appears in analytics while the server logs show nothing. The row is bait.
You do not need a blocklist to recognise the pattern. Look for a row that fails the checks a real mention passes:
- You cannot find a link to your site on that host, or the host does not resolve to a site you would trust.
- The visits are single-page and convert at zero, while referrals you know about do neither.
- The entry pages are odd for a genuine mention: a homepage hit with no path anyone would share, or a crawl of URLs no article would link.
- The server never saw the requests that analytics counted. That gap means the hits were sent to the collector, not to your site.
Do not open the hostname to investigate it. Check from a search result or a machine you do not use for daily work. If there is no real link, leave the row out of any total you show a teammate. One odd row is a reason to ignore the row.
How do you read a referral traffic report?
Read the report by the outcome of the visits, not by the size of the row: conversions, the entry page, and whether the host is a real link you can find.
An example month, with round numbers
This is an example, with round numbers chosen so the rates divide cleanly. It is not a benchmark. Four hosts, one month, sessions and a signup conversion:
| Referring host | Sessions | Signups | Signup rate |
|---|---|---|---|
| docs.partner.example | 400 | 40 | 10% |
| news.example | 2,000 | 20 | 1% |
| checkout.payments.example | 300 | 180 | 60% |
| best-seo-deals.example | 500 | 0 | 0% |
Each row asks for a different next step:
- docs.partner.example sent the fewest sessions and a 10% signup rate. Open the entry pages. If they are your docs or your pricing page, this partner is worth a conversation. Forty signups from 400 sessions is the useful line, and it is easy to miss if you sort by sessions.
- news.example sent five times the sessions and a 1% rate, close to a cold audience that read a mention and left. That can still be a good mention. It is not five times as valuable as the partner. Check the article exists, then judge it on signups and on whether those visitors come back, not on the session count.
- checkout.payments.example looks like the best channel on the page and is not a channel. People who paid on a hosted checkout return to your thank-you page with the payment host as the referrer. The 60% rate is people who had already decided. Credit the sale to the source that started the visit, and treat this host as a return path. Google Analytics can list it as an unwanted referral. The sorting problem is the same in any tool: a return from a checkout is not a new audience.
- best-seo-deals.example sent 500 sessions, no signups, and a name nobody recognises. Do not visit it. Confirm there is no real link, then leave it out of any total you show a teammate.
After those four checks, the month’s referral story is the partner and the news article. The other two rows are a checkout return and a bait hostname. A report that stops at the session ranking tells the opposite story.
How should you tag links you would rather not leave as referrals?
Tag a link with UTM parameters when you need a name the referrer will not give you, such as a newsletter, an app, or a partner campaign.
A medium the tool recognises is classified before the referrer. utm_medium=email is email even when a mail app also sends a referrer, and utm_medium=affiliate keeps a partner programme out of the general referral bucket. Do not tag links between your own pages: a campaign tag there can start a new session and overwrite the source that actually brought the visitor. Test a combination in the traffic source classifier before you publish it.
How does CrispStats file a referral?
CrispStats files a visit under Referral when it has a referrer or a utm_source that matches no other channel.
The referrer is read on the first pageview of a session and reduced to a hostname. A known search engine, social network, video site or AI assistant is named as that channel. Any other host is a referral, with visitors, bounce rate and, when payments are connected, revenue. A referrer from your own domain counts as direct.
There is no list for typing unwanted referral domains. A hosted checkout that sends people back shows as a referral visit, while a connected payment is still credited to the first source known for that visitor.
Terms in this guide
Free tools
- Traffic source classifierPaste a referrer or a tagged link and see the channel and source a visit is filed under, with the rule that decided it. Runs in your browser.
- UTM builderBuild UTM-tagged links one at a time or in bulk from pasted rows, with presets, checks for capitals and spaces, CSV export and a channel preview.
- A/B test URL generatorBuild one tagged URL per variant of a test. The variants share source, medium and campaign, and each gets its own utm_content.
Use cases
- CrispStats for SaaSSee which channels bring paying customers, where trials stall in the funnel, and how your app performs for real users, from one cookieless script.
- CrispStats for ecommerceTie orders to the campaign, page and source they came from, find where checkout loses people, and watch page speed, without cookies.
- CrispStats for agenciesRun every client site from one account, share read-only dashboards by link, and send weekly reports, with no cookie banner to explain.
More guides
All guides- Traffic · 11 minWhat is direct traffic? Every cause, and how to shrink itDirect traffic is visits with no referrer and no campaign tags. Every cause, from typed URLs to stripped redirects, and a checklist to shrink the unknown part.
- Traffic · 11 minWebsite traffic sources explained: channels, referrals and directWhat website traffic sources and channels are, what referral traffic is, how tools sort each visit from the referrer and UTM tags, and how to compare sources.
- Traffic · 9 minUTM parameters: a practical guide with naming conventionsWhat the five UTM parameters do, a naming convention you can copy, the mistakes that split your reports, and how the medium decides the channel.