Skip to content Skip to sidebar Skip to footer

How Can I Hide A Link's Origin From The Linked-to Site's Analytics?

I've been googling for a while now, but wasn't able to find an answer to this. What I want to accomplish is the following: Let's say I have a website that I hide from search engine

Solution 1:

use rel="noreferrer"

something like this:

<ahref="signin.php"rel="noreferrer">sign in</a>

The noreferrer keyword may be used with a and area elements. This keyword does not create a hyperlink, but annotates any other hyperlinks created by the element (the implied hyperlink, if no other keywords create one).

It indicates that no referrer information is to be leaked when following the link.

If a user agent follows a link defined by an a or area element that has the noreferrer keyword, the user agent must not include a Referer (sic) HTTP header (or equivalent for other protocols) in the request.

This keyword also causes the opener attribute to remain null if the hyperlink creates a new browsing context.

More info here

Post a Comment for "How Can I Hide A Link's Origin From The Linked-to Site's Analytics?"