Skip to content
Glossary

What is a referrer?

ReferrerThe referrer is the address of the page a visitor came from, sent by the browser in the HTTP Referer header. Analytics uses it to show traffic sources. Apps, email clients and privacy settings often send none, so the visit is labeled direct. BN Shortener shows referrer domains for each link and can hide the referrer from the destination when you need to.

The Referer header

When you follow a link, the browser tells the next server where you came from in a request header named Referer. The spelling is a misspelling of referrer that has stayed in the HTTP standard since the 1990s; MDN notes it, and the newer Referrer-Policy header uses the correct spelling.

According to MDN, the header can contain the origin, path and query string of the previous page. It never contains the fragment (the part after #) or a username and password. Analytics tools read it, or the document.referrer value in the page, to report referral traffic, and Google Analytics 4 uses it to fill the source and medium when a link has no UTM tags.

How Referrer-Policy trims it

Sites can control how much of their address they send onward with the Referrer-Policy header or a meta tag. When a page sets nothing, browsers now use strict-origin-when-cross-origin:

  • Same site: the full URL is sent.
  • To another site, HTTPS to HTTPS: only the origin, such as https://www.example.com/, without the path or query.
  • From HTTPS to HTTP: nothing at all.
  • no-referrer sends nothing in every case; the older default, no-referrer-when-downgrade, sent the full URL to other HTTPS sites.

Why so many visits have no referrer

A missing referrer is normal. Native apps (WhatsApp, Slack, Outlook, many social apps on phones) open links without a previous web page, so there is nothing to send. Typed or bookmarked URLs, PDFs and documents, QR scans from the camera app and pages with a no-referrer policy also arrive without one. GA4 labels such sessions with source (direct) and medium (none), in the Direct channel. This is what people call dark social.

Because the policy usually sends only the origin across sites, you also lose detail when there is a referrer: you see that a visit came from linkedin.com, not which post. Both gaps have the same fix. Put UTM tags in links you share, so the source is written into the URL instead of left to the browser.

Referrers in BN Shortener

Each link's analytics shows referrer domains, with Direct when none was sent, beside UTM sources, mediums and campaigns in the Traffic Sources tab. Click a referrer to filter every chart, the CSV export and the API to those visitors. Bots and link previews are recorded apart, so a Slack unfurl does not appear as a visit.

The From AI assistants card counts people who clicked your link inside an answer from ChatGPT, Claude, Perplexity and other assistants, recognized from the referrer or from the utm_source the assistant adds. Our guide to tracking traffic from ChatGPT shows how to see the same in GA4.

Related: Dark social, AI referral traffic, /features/analytics/

Sources

  1. MDN: Referer header, checked 2026-10-24
  2. MDN: Referrer-Policy header, checked 2026-10-24
  3. Google Analytics Help: [GA4] Default channel group, checked 2026-10-24

Questions

Is it referer or referrer?

Both. The HTTP header is spelled Referer, a historical misspelling. Everywhere else, including Referrer-Policy and document.referrer, it is referrer.

Why does GA4 show my traffic as direct?

The visit arrived without a referrer and without UTM tags, typically from an app, email client, document or QR scan. Tag the links you share.

Can I see the exact page that linked to me?

Usually not from another site. The default policy sends only the origin across sites, so you see the domain, not the page.

Does a short link pass the referrer on?

With a server redirect, the browser normally sends the page before the short link as the referrer. A redirect page may send itself instead, subject to its policy.

Does the referrer include UTM tags?

Only for same-site navigation, where the full URL is sent. Across sites, the default policy strips the path and query.

Try it on your next link

The Free plan includes a custom domain, 5 dynamic QR codes, a bio page and click analytics. No credit card.