2

Is any possible way to disable referral. I mean external site or analytic should not capture a referral of my domain.

Example : My domain example.com sending a traffic to google.com but google should not know traffic is coming from example.com

This site https://nullrefer.com/ provide a feature to Hide referral by blanking the referral but how can i do same for my website.

I am using https://www.whatismyreferer.com/ for testing. Please help me.

Jyoti Sandhiya
  • 173
  • 3
  • 12

2 Answers2

1
<meta name="referrer" content="no-referrer"/>

If you put above code on your page all outgoing links (user clicks) will not send referrer information

Documentation

If you want to hide/fake your GA referrer data (GA script on your site) you can use dr parameter

Khazul
  • 179
  • 6
  • Is this small code also stop referrer detecting in Google Analytic or Voluum.com ? – Jyoti Sandhiya Nov 22 '18 at 12:13
  • Can you add some explanation to that code? – Nico Haase Nov 22 '18 at 12:21
  • Added some information, and link to documentation. As for GA, Google will not see referrer from outgoing clicks from your page ending on other pages. If you put GA code on your site, and someone will come from another site to you with referrer set, GA will see and use it. – Khazul Nov 22 '18 at 12:28
  • @Khazul is this also works for to hide or remove referrer from Iframe? – Jyoti Sandhiya Nov 22 '18 at 12:58
  • Iframes works wrongly with this - and you need to set it independently on them, as in given by you answer. – Khazul Nov 22 '18 at 13:19
1

HTML

<meta name="referrer" content="no-referrer">

Iframe

<iframe src="https://www.whatismyreferer.com/" referrerpolicy="no-referrer"></iframe>

URL

<a href="http://example.com" rel="noreferrer">Example.com</a>

or

<a href="http://example.com" referrerpolicy="no-referrer">ReferrerPolicy Attribute</a>
Jyoti Sandhiya
  • 173
  • 3
  • 12