# Test Referrer-Policy Before Changing Website Link Privacy

https://ferkesh.net/knowledgebase/article/website-referrer-policy-link-privacy

Referrer-Policy controls how much source URL information the browser sends as a Referer request header. It is useful for reducing URL disclosure across origins. It does not make a sensitive value safe to put in an address.

![Source link: Synthetic URL; Destination origin: Same or cross origin; Observed header: Inspect Referer.](https://ferkesh.net/kb-media/ferkesh-guide-diagrams-batch-15.svg#website-referrer-policy-link-privacy)

## Identify the link contexts

On staging use a harmless source URL such as https://example.test/pricing?campaign=sample. List one same-origin navigation and one approved cross-origin destination. Verify the observed request headers in DevTools, and avoid including real tokens, names or account IDs in the test.

## Compare supported policies

For strict-origin-when-cross-origin, same-origin requests can include path and query, while secure cross-origin navigations usually send only the origin and downgrades omit the referrer. no-referrer omits it entirely. Per-link or document-level markup may also affect what the browser sends, so check the rendered behavior.

## Protect integrations and URLs

Verify authorized analytics, SSO and links after any policy change. Identify third-party flows that assume a Referer, rather than weakening a policy across the entire application by default. Move secrets out of URLs using supported application controls and record the prior header value for rollback.

## Related Ferkesh Knowledge Base guides

- [How Content Security Policy Affects Website Resources](https://ferkesh.net/knowledgebase/article/content-security-policy-rollout)
- [How to Keep Website Form Submissions Private](https://ferkesh.net/knowledgebase/article/protect-private-form-submissions)

## Official references

- [Referrer-Policy header - HTTP](https://developer.mozilla.org/en-US/docs/Web/HTTP/Reference/Headers/Referrer-Policy)

Last reviewed November 27, 2026.
