Suppose I have an error in my console on a couple of pages, like the following:

(index):239 Uncaught ReferenceError: incom is not defined
    at (index):239
    at dispatch (jquery.min.js?ver=1.8.3:2)
    at u (jquery.min.js?ver=1.8.3:2)

Does this, in any way, affect SEO or can I safely ignore it?


If any error or improper implementation of Javascript(in any form) is affecting the crawlability or preventing crawlers from fetching content, it can affect SEO in a drastic way.

If this error affects any of the processes, the crawlers may not favour your website over others.

Even after fixing errors, there should be some things to be kept in mind while implementing Javascript.

Do not use Javascript’s onclick events as a replacement for internal linking. Instead, use regular anchor tags within the HTML or the DOM.

Unblock Javascript. When Javascript is blocked, search engines won't receive your site’s full experience. This means that the search engine could not see what the end-users are seeing on your site, and can even lead to search engines interpreting it as cloaking.

Use Fetch as Google to see how are the pages read by robots.

  • Thanks a lot for the clear answer. Appreciated! – Siyah Nov 26 '19 at 13:42

Anuvesh's answer is correct. It will only hurt SEO directly if the error prevents the bot from seeing the content in the page.

It could also hurt SEO indirectly if it makes the site less usable for visitors. Google may notice if users are turning away from your site.

However, if the problem is invisible to users that don't open the developer tools, it should have no affect on SEO. Google has long said that they don't prefer sites based on how "correct" that site is. For example Google doesn't rank sites better if they pass HTML validation.

  • Thank you for the clear answer! – Siyah Nov 26 '19 at 13:41

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

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