Google adds the basics of JavaScript SEO to its search developer's guide

How does Googlebot handle JavaScript? Image Source: Google Search Developer's Guide

On July 18, Google added a section on the basics of SEO JavaScript to its Search Developer's Guide. It includes a general description of how Google treats JavaScript, as well as some best practices.

Content of the document. In addition to an overview of how Googlebot explores, renders, and indexes JavaScript Web applications, the guide provides basic tips and links to more detailed Google resources, including:

Describe your page with unique titles and snippets. JavaScript allows SEOs to define or edit titles and meta-descriptions. Writing compatible code. Developers need to be aware of the limitations of Googlebot in APIs and JavaScript. Use meaningful HTTP status codes. The status codes inform Googlebot that a page has been moved or that it should not be crawled or indexed. Use meta robots tags. Google indicates that the use of JavaScript to remove or edit the robots meta tag may not work as expected, explaining that "Googlebot ignores the rendering and execution of JavaScript if the meta-robots tag initially contains "noindex." If you want to use JavaScript to modify the content of the robots meta tag, do not set the value of the meta tag to "noindex." Fixed images and lazy loaded content. Google recommends using lazy loading to increase performance and reduce bandwidth costs.

Why we should care. JavaScript is a powerful tool for developers and can improve The user experience Understanding how Googlebot processes your JavaScript web applications can help you make them more easily identifiable, which in the end account, increase your organic visibility and generate more traffic to your site.

About the Author

George Nguyen is an associate writer with Third Door Media. His background is in content marketing, journalism and narration.

Related posts

Leave a Comment