Say I have a script that executes after DOM Ready. It loads more resources (like a twitter feed and the like). So, it adds up to the total experience of 'waiting' for the page to load, though it isn't content critical.

Does this have (a negative) influence on my Google ranking?

  • 1
    That's a pretty good question, never wondered this. Commented May 21, 2012 at 14:55
  • possible duplicate of Does the Google spider render JavaScript? Commented May 21, 2012 at 15:14
  • 1
    @toomanyairmiles That's not a duplicate. It's not asking if google can execute js, it's asking whether the load time of other resources using ajax is counted as "page load time", thus hurting SEO. Commented May 22, 2012 at 7:12
  • @FlorianMargaine the answer to both questions is the same and linking between the two is useful - I didn't say it was a duplicate, I said it was a possible duplicate. It's also a question which is asked regularly. Commented May 22, 2012 at 8:32
  • Perfect question! ive been looking for something like this for a while and i finally decided to check.
    – somdow
    Commented Nov 6, 2012 at 12:10

1 Answer 1


Googlebot has been able to follow links in JavaScript since 2007/2008:-

We already do some pretty smart things like scanning JavaScript and Flash to discover links to new web pages

They have been executing JavaScript since at least 2009 (I imagine they learned a lot from building Chrome), and Matt Cutts has publicly confirmed that they can follow javascript links, execute scripts and submit forms.

"For a while, we were scanning within JavaScript, and we were looking for links. Google has gotten smarter about JavaScript and can execute some JavaScript. I wouldn't say that we execute all JavaScript, so there are some conditions in which we don't execute JavaScript. Certainly there are some common, well-known JavaScript things like Google Analytics, which you wouldn't even want to execute because you wouldn't want to try to generate phantom visits from Googlebot into your Google Analytics".

The upshot of this is that, no, it isn't hurting your SEO, provided your JavaScript is well formed and relevant. I'd recommend using fetch as Googlebot in webmaster tools and turning on server logging for the Googlebot and watching where it's going if you really want to check.

The first link is to a thread at webmaster world, it's well worth the read as is the third link to a Matt Cutts interview. I would also read this question 'Does the Google spider render JavaScript?'

  • Perfect. In conclusion, Google is smart. ;)
    – Kriem
    Commented May 22, 2012 at 7:57
  • Don't forget that page speed is a small factor. Commented May 22, 2012 at 10:14

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.

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