Last updated 26 November 2026. By Paul Badarau.
A fictional game studio runs a blog at one domain and a store at another, set up as two PostDeploy Projects. The blog copied Referrer-Policy: no-referrer from a security checklist. For months, the store's reports show most visits from the blog as Direct. After the blog switches to strict-origin-when-cross-origin, the store's referrer list shows the blog's host.
The policy belongs to the page that holds the link. It can come from a Referrer-Policy response header, a <meta name="referrer"> tag, or an attribute on the link itself, such as rel="noreferrer". The common values work like this:
strict-origin-when-cross-originis the default in current browsers. Other sites receive only the origin, such ashttps://blog.example, and a link from HTTPS to HTTP sends nothing.originandstrict-originalso send only the origin.no-referrersends nothing to anyone, andsame-originsends nothing to other sites.unsafe-urlsends the full address, path and query string included.
PostDeploy keeps only the host of a referrer. The script strips the path before it sends anything, and the server stores the referring host. So every policy that passes the origin gives PostDeploy all it uses, and a full address adds nothing. Only policies that send no referrer change what you see. The visit then loses its referring site and falls into Direct unless the link has a utm_source tag.
To check a site's policy:
- Run
curl -sI https://blog.exampleand look for areferrer-policyline. - Search the page source for
name="referrer"and fornoreferreron links. - Click the link with the browser's network panel open, and read the
Refererheader on the request for the next page.
For your own sites, the browser default is a good choice. It shows other sites only your origin, which keeps paths private, and it still lets each of your Projects see where visitors came from. Avoid no-referrer and same-origin if your site and your app are separate Projects, because each will see the other's visitors as Direct.
You cannot change another site's policy. If a site you post links on sends no referrer, add utm_source and utm_campaign to those links, the only two tags PostDeploy keeps.
The product page for this is Analytics.