Skip to content
Glossary

Referrer

The referrer is the address of the page a visitor was on when they clicked a link to your site. Analytics tools read it to tell you which sites, searches and social posts send you traffic.

Updated

Also called: referer, referring site, referral source, HTTP referer

Definition

When someone follows a link, the browser can tell the destination where they came from, both in an HTTP header and in document.referrer for scripts. The header is spelled Referer, a misspelling that stuck in the original HTTP specification. A referring domain is the referrer's hostname, such as news.ycombinator.com.

Why the referrer is often shortened or missing

  • Default browser policy. With no policy set, browsers use strict-origin-when-cross-origin: another site receives only the origin (https://example.com/), not the full page path, and nothing at all when going from HTTPS to HTTP.
  • Site policies. A site can send less or nothing with its own Referrer-Policy, and links marked rel="noreferrer" send none.
  • No page to refer from. Email clients, desktop and mobile apps, PDFs, bookmarks and typed URLs usually send no referrer.

Visits without a referrer or campaign tags end up as direct traffic. UTM parameters fill the gap for links you control.

How Linqry uses the referrer

Linqry's script sends the referrer with the first page view of a visit only, and only when it comes from another hostname. The server also discards referrers from your own registered domain, its subdomains and your allowed hosts, so moving from blog.example.com to example.com is not a referral. The referring domain is stored without a leading www..

That source then applies to the whole visit. The Referrer tab lists referring domains by visitors, and visits with no referrer appear as (none). The Channel tab groups referrers: Google, Bing, DuckDuckGo, Yahoo, Yandex and Baidu are Search; X (Twitter), Facebook, Instagram, LinkedIn, Reddit, TikTok, YouTube, Pinterest and Threads are Social; any other site is Referral. UTM tags for paid, email or social traffic take priority. The real-time view shows top referrers for the last 30 minutes.

Examples of how a visit is filed (illustrative).
Arrives fromReferrer storedChannel
A Google searchgoogle.comSearch
A post on news.ycombinator.comnews.ycombinator.comReferral
An email link without UTM tagsnoneDirect
Your own blog subdomainnoneDirect

Pitfalls

  • Search terms are gone. Search engines send only their domain, so referrers can't tell you which query brought someone.
  • Payment and login redirects. A visitor returning from a checkout or sign-in provider can show up as a referral from it. Read those rows as a step in your own flow, not as a traffic source.
  • Internal links between your domains. If you run several domains, add them as allowed hosts so trips between them aren't counted as referrals.

Related terms

Frequently asked questions

Is it referer or referrer?

Both appear. The HTTP header is spelled Referer because of a typo in the original specification; most other places, including the Referrer-Policy header and document.referrer, use the correct spelling.

Why do I only see the domain, not the exact page that linked to me?

Browsers send only the origin to other sites by default, under the strict-origin-when-cross-origin policy, unless the linking site chooses to send more.

Sources

  1. MDN Web Docs: Referrer-Policy header (checked Nov 9, 2026)

Measure your own site without cookies

No card required · 30-day trial · No cookies