Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

If I put a rel="nofollow" will the referrer site will appear on Google Analytics of example.com?

If I put a rel="nofollow" will the referrer site will appear on Google Analytics of example.com?

Example:

Referrer site is: referrer.com

<a href="example.com" rel="nofollow"></a>
like image 241
Rommer Dela Cruz Avatar asked Aug 02 '12 16:08

Rommer Dela Cruz


People also ask

When should you use the rel nofollow tag?

When a link exists on your site primarily for profit, it should be assigned a rel="nofollow" attribute. Simply put: If you publish paid advertisements on your site — banner ads, text links, sponsored content, affiliate links, etc. — the links going to your advertisers' sites should be rel=”nofollow” links.

Does Google always respect the nofollow attribute on links?

At its most basic, nofollow is a hyperlink attribute that tells Google to not pass PageRank so Google doesn't even crawl nofollowed links. You can control the nofollowing of any links on your site (whether those are to external sites or internal pages) with the simple addition of the nofollow attribute.

Where on your site is best to add the nofollow attribute?

By adding a nofollow attribute to a link on your website or blog, you are telling search engines that you don't want them to follow the link. In its simplest form, a nofollow link uses the rel="nofollow" attribute inside the <a> anchor element that represents a link in the HTML language.

What is rel nofollow?

What Are Nofollow Links? Nofollow links are links with a rel=”nofollow” HTML tag applied to them. The nofollow tag tells search engines to ignore that link. Because nofollow links do not pass PageRank they likely don't impact search engine rankings.


1 Answers

nofollow is intended to prevent the bot from going TO the site in the link (or any link if it's in a meta tag).

ie: Site-A has a link:

<a rel="nofollow" href="//site-b.com">Site-B</a>

That nofollow is meant to tell Google that it shouldn't consider the two sites to be linked together. Or two pages, or whatever.

<meta name="robots" content="noindex">

Tells Google that it shouldn't index THIS page in its search.

In your case, you're looking for a way to remove the JavaScript:document.referrer from Site-B. You can't do that from Site-A. When a user clicks from Site-A to Site-B, once they're on Site-B (where GA is installed), there's nothing that you can do from Site-A to prevent it.

There's no way to do that, without sending a user to your own server, and manually redirecting to/from elsewhere, using apache, or using some other server-side solution... Even then, the referral will come from somewhere -- it's just a case of where that somewhere, is.

HOWEVER if you're talking about two sites that YOU OWN and you're trying to exclude Site-A from Site-B's reporting, there are ways of doing that from within the GA control panel. You can add filters on the traffic to exclude IPs or domains.

Or, if you control the GA tracking codes on Site-B, you can do:

_gaq.push(["_addIgnoredRef", "Site-A.com"]);

If, however, you're working for Company-A, and you don't want people in Company-B to see your site in their report... ...that's where it can't be done without serious server-side header-manipulation.

like image 102
Norguard Avatar answered Sep 30 '22 21:09

Norguard