Free tool

Referrer Policy Generator & Tester

See exactly what your browser sends right now, then generate the code to change it.

Tool 1 of 2

Live Referrer Tester

This reads your browser's own document.referrer right now. Nothing is sent anywhere — it all happens locally on this page.

referrer-diagnostic — live
document.referrer Reading…
Detected source type Reading…
Current page URL

Simulate an inbound click

This link points back to this same page with dummy tracking parameters attached. Click it, then check whether the parameters survived the round trip below.

Simulate inbound click →

Tool 2 of 2

Referrer Policy Generator

Pick a policy. Copy the exact code for your platform. No build step, no dependencies.

HTML <meta> tag
Per-link override
Quick Answer

What does a Referrer-Policy actually control?

A Referrer-Policy header or meta tag controls how much of your page's URL gets sent to the next site when a visitor clicks a link or your page loads a cross-origin resource. It directly affects how much attribution data downstream analytics tools, including this site's own plugin, ever receive.

Test your current policy below, then generate the exact code to change it.

Why this matters for attribution

Before you deploy this

Questions worth answering first

A policy change is a five-minute edit with effects that show up in your analytics weeks later. Read these first.

Will changing my Referrer-Policy break my analytics?

It can. Stricter policies like no-referrer or origin strip or shorten the referrer data your analytics platform receives from inbound links. If your dashboards rely on full referrer URLs to attribute traffic, switching to a stricter policy without testing first can make some traffic look like Direct that was not. Test on a staging environment before deploying a stricter policy site-wide.

Referrer data is only half the picture

Browser referrer headers get stripped more often every year. CQI Referrer Attribution adds UTM-based classification as a parallel signal, so your attribution survives even when the referrer does not.