Take the 2-minute tour ×
Webmasters Stack Exchange is a question and answer site for pro webmasters. It's 100% free, no registration required.

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?

share|improve this question
1  
That's a pretty good question, never wondered this. –  Florian Margaine May 21 '12 at 14:55
    
possible duplicate of Does the Google spider render JavaScript? –  toomanyairmiles May 21 '12 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. –  Florian Margaine May 22 '12 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. –  toomanyairmiles May 22 '12 at 8:32
    
Perfect question! ive been looking for something like this for a while and i finally decided to check. –  somdow Nov 6 '12 at 12:10
add comment

1 Answer 1

up vote 3 down vote accepted

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?'

share|improve this answer
    
Perfect. In conclusion, Google is smart. ;) –  Kriem May 22 '12 at 7:57
    
Don't forget that page speed is a small factor. –  DisgruntledGoat May 22 '12 at 10:14
add comment

Your Answer

 
discard

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.