No Need To Worry About JavaScript When It Comes To SEO – May 2021 Update

No Need To Worry About JavaScript When It Comes To SEO - May 2021 Update

Google said that there is no need to worry about JavaScript when searching because it is no different from static content.

This is discussed in the latest issue of the Search Off the Record podcast, which features Google’s Martin Splitt, John Mueller, Gary Illyes and Daniel Waisberg.

Also read: google page experience update may 2021

Mueller raised the issue of using a static website builder to create a website, and concluded that he and Splitt used the same tool called Hugo.

For simplicity, Hugo uses the Markdown language to generate pages, but this has limitations such as not being able to use HTML for nofollow tags and redirects.

Mueller is building a personal site that needs to be redirected, and the only way to achieve redirection in Hugo is to use JavaScript.

He then asked Splitt, Google’s resident JavaScript expert, if there is any reason to worry about using JS.

Splitter said there was no reason to worry.

Splitt refers to “extreme situations” without specifying what they are. Although Google has discussed in the past how SEO issues arise when websites use JavaScript.

The main thing to avoid is to use JavaScript in a way that forces users to interact with elements on the page to display content.

A basic example is to hide content behind a button that the user must click to show the content.

As far as SEO is concerned, this is a problem because Googlebot does not interact with anything when crawling a web page.

Splitt refers to “extreme situations” without specifying what they are.

Although Google has discussed in the past how SEO issues arise when websites use JavaScript.

The main thing to avoid is to use JavaScript in a way that forces users to interact with elements on the page to display content.

A basic example of this is to hide content behind a button that the user must click to display the content.

From an SEO point of view, this is a problem because Googlebot will not interact with anything when crawling the web.

If the content is hidden behind a JavaScript element that the user needs to click or click, Google won’t see it.

Therefore, the content cannot be used to understand the page and rank it in search.

Website owners who wish to use JavaScript as a design option in this way should ensure that the hidden content is not critical to understanding the content of the page.

If you are not sure whether JavaScript will prevent Google from viewing the content on your page, there is an easy way to find it.

Use the “Browse like Google” tool in Search Console to find out what Googlebot can see when crawling your site.

If the Fetch as Google tool is able to render all critical content, then you’re in the clear. No need to worry, as Splitt says.

Source: Search Off the Record podcast

Leave a Comment

%d bloggers like this: