DevKits

Security · Response header

Referrer-Policy

Controls the Referer header sent on outgoing links and requests.

What is Referrer-Policy?

Balances privacy (don't leak URLs to third parties) against analytics needs. Common values: `no-referrer`, `strict-origin-when-cross-origin`, `same-origin`.

Typical usage

Set on all responses. `strict-origin-when-cross-origin` is a good default.

Examples

Referrer-Policy: strict-origin-when-cross-origin

Specification

W3C Referrer Policy

Related headers