Wrong email or password! Try one more time.

Forgot password?

Username should only contain alpha-numeric characters.

An account with this email already exists.

Password should contain at least 6 characters.

An email with a confirmation link has been sent to you.

Did you forget your password? Don't panic. Enter your email address,
and we will email you a link where you may create a new password.

If this address exists, we will send you an email with further instructions.

Back to authentication

What will happen to paid links implemented using JavaScript?

What will happen to paid links implemented using JavaScript? - answered by Matt Cutts

Summary:

In the last time Google has found a way to crawl JavaScript links and so if you don’t want your paid JavaScript links to be crawled there are at least two ways to do that: you can use nofollow attribute in your JavaScript code, or you can use for that purpose robotos.txt to block that page. But according to statistics most of the paid links are text links. Currently Google doesn’t penalize for that, you just make sure your paid links doesn’t flow page rank.

 

Matt's answer:

Google has gotten better and better crawling JavaScript to the point where URLs that you might have put in JavaScript, and you thought we are going to be crawled, could possibly be crawled and indexed now.

 

It turns out that the vast majority of people who do JavaScript sort of links or typically ad networks and we handle all the common cases where, you know, there’s JavaScript being used to serve up ads. So, all the common ad networks, we pretty much already know about, and already handled very well, and then, any paid links that are done, that were using JavaScript code, what you can do is you can use a no-follow attribute even within your JavaScript code.

 

You can always use a robots.txt and block out a URL that, for example would be included or a URL redirection that would happen, and then that way Google call the page that blocked by robots.txt, would we can’t follow the URL redirect or we can’t include that code from JavaScript for example. So those are some safe ways to do it.

 

 The vast majority of paid links are typically not done with JavaScript

They’re typically, you know, completely straight text links and things like that, so that’s where we have been spending the vast majority of our time. But if you do have links that are paid and are currently in JavaScript, it’s a good idea to just check them and say, “Okay, do I have something for example that’s blocked out by robots.txt so that search engines won’t accidentally crawl, execute, see that JavaScript, and find new links as result of that JavaScript?”

 

We’re not currently penalizing

We may down in the line start to look at that, but in my experience it hasn’t been a big issue at all because the vast majority of these links are, for example, well known ad network and things that we already handled very well. So, as always, if you’re selling text links, just make sure that those links don’t flow PageRank, that they don’t affect search engines, and there are number of very easy ways to do that, and ways that have been the same ever since we talked about paid links using robots.txt, using the no-follow attribute, all that sort of stuff.


by Matt Cutts - Google's Head of Search Quality Team

 

Original video: