What is Referrer Policy Tag Generator?
The Referrer-Policy controls how much of the referring URL is sent when a visitor clicks an outbound link or loads a cross-origin resource. It is useful for privacy, analytics control, and affiliate link handling. The policy can be set as an HTTP header, meta tag, or per-element attribute.
Quick answer
Use Referrer-Policy to control how much referrer information is sent when a visitor clicks a link on your site. strict-origin-when-cross-origin is a balanced default that sends full URLs on same-origin requests but only the origin on cross-origin requests.
Limitations
- Referrer-Policy set via a meta tag or link attribute is a hint. Browsers may override it based on user privacy settings.
- The no-referrer policy may break analytics, referral tracking, and logging that depend on the Referer header.
- HTTP header-based Referrer-Policy takes precedence over meta tags. Both should be set consistently.
How to use this tool
- Choose the policy value that matches your privacy and analytics needs.
- The tool explains what referrer information is sent with each option.
- Copy the header or meta tag into your site configuration.
- Apply per-element referrerpolicy attributes for fine-grained control on specific links.
What you can use it for
- Strip referrer information for privacy-focused sites.
- Keep full referrer information for analytics and marketing attribution.
- Set a site-wide policy with per-element overrides for specific links.