
To set all links on your website to omit the referral information, add the below tag to the section of your website. You can check the browser support at “Can I use Referrer Policy”.
#Hstracker hide header android#
The most recent versions of Microsoft Edge, Firefox, Chrome, Safari, Opera, and Android Browser support, at least partially, support the use of Referrer Policy. As of September 2017, Referrer Policy is still a working draft and isn’t a web standard yet.

With this method, you can either add a tag to your website or add a referrerpolicy attribute to all hyperlinks on your website. The second method is to use the Referrer Policy on your website. It can also be used on tags to prevent sending referrer information. Prevents the browser, when navigating to another page, to send this page address, or any other value, as referrer via the Referer: HTTP header.īelow is an example of using the rel attribute in a link. This link type will prevent the browser from sending the current page address. According to the specification, you can provide multiple values to rel by separating each value with a space. Since HTML5, browsers now support more options for the attribute rel for tags. Using the method below labeled “Exit Page Redirect” should work no matter what technologies are disabled and on older browsers that don’t support the Referrer Policy specification. If a browser implements the standards incorrectly or the user has disabled certain technologies for specific methods, the referral information will be attached to the HTTP header. Keep in mind that some of these options may not always work. In this tutorial, you will learn of a few different methods to obscure or remove the HTTP Referer header from the request.

In most cases, this isn’t harmful, but there are situations where the URL should be hidden. When a user leaves your website through a link or HTTP redirect, a HTTP header of the current page the user is coming from is attached to the new request.
