Build the Referrer-Policy header. Controls how much of the URL the browser sends in the Referer header when navigating away from your site.
# HTTP response header
Referrer-Policy: strict-origin-when-cross-origin
# HTML meta fallback
<meta name="referrer" content="strict-origin-when-cross-origin">