Webmasters Stack Exchange is a question and answer site for pro webmasters. Join them; it only takes a minute:

Sign up
Here's how it works:
  1. Anybody can ask a question
  2. Anybody can answer
  3. The best answers are voted up and rise to the top

I want to hide my site as the referrer to another site, ie. i dont want my site showing up under the referrals tab in Google analytics, is there a simple way to do this ? ie. an html element somthing like rel="noref" ?

Obviously if the user had a the Google Analytics block plugin installed it would be fine, but i cant guarantee every one has that installed.

The only other way i could think of doing this is to set up a second random site (something like ramdom727.com/) and link to that with the actual site in the query string, then second random site would have a php script that would take the actual url from the query string and redirect to the actual site.. but this would still list the random site as the referrer and seems a little messy.

share|improve this question
up vote 2 down vote accepted

I believe I have a solution that will work. As this is a Google Analytics specific problem you can use UTM tagging to adjust the source so that it will not show up as referral, but as direct traffic instead. Simply append the linking URLs with:


Please note that the referral data will be removed from showing in GA, but the data will still be passed to the website. I have tested this and it appears to be a working solution.

share|improve this answer
Thanks, do you know if the UTM tagging works with any other analytics platforms ? – sam Aug 15 '13 at 15:10
I do not know for certain, its a custom query parameter that Google Introduced and so I don't think it's likely to be uniformly recognised by other platforms. I do not know which do and don't support it though. It seems that it is the browser that sets the referral data, making it difficult to achieve what you want on a broader scale; a lot of people seem to use the the pass through page that you mentioned. Another possible solution I have read mentioned passing it through an HTTPS:// page on your site, although I have no way to test this. This may be worth testing as a poss broader solution? – Jaryd Buggins Aug 15 '13 at 15:32

Your Answer


By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.