Analytics ยท Best Practices

Referrer-Policy HTTP response header

If you have multiple sites tracked by analytics and you want to track traffic from one site to the other make sure the following HTTP response header is returned for all your sites. From Chrome 85 onwards, browsers will only send the `origin` host instead which would limit the ability to perform sessionization.

For nginx web server:

add_header Referrer-Policy no-referrer-when-downgrade always;

For Apache web server:

Header set Referrer-Policy: no-referrer-when-downgrade

For more information, consult MDN Referrer-Policy documentation.