JavaScript & SEO – A New Perspective

JavaScript & SEO – A New Perspective

Lately, a lot has been said about the influence of JavaScript on the website position in the SERPs. Even though Google robots have made visible progress in processing this type of page, their performance still leaves much to be desired. Recently, we’ve learned some new information about the topic. Want to know more? Keep reading!

Why Would You Need JavaScript on Your Website?

JavaScript is a programming language that equips a website with new functionalities. It is possible to use other languages, but it’s more difficult and sometimes impossible to get the same results.

Thanks to JS, we can create dynamic, modern websites attractive to users based on a template created in HTML and CSS.

Google, however, was skeptical about this technology because its robots could not analyze the JS page the same way as others. To understand this better, let’s take a look at how Google processes JS code.

The way Googlebot has to go through is more complicated compared to less dynamic websites. To analyze such a page, robots need to download CSS and JS code, which is necessary to render the page. It makes the whole process longer and does not guarantee 100% success because of the limited crawl budget.

We can see that the level of indexed pages based largely on JS is growing year by year. Although, the rendering might still be an issue.

googlebot crawl render index path
Source: https://developers.google.com/search/docs/advanced/javascript/javascript-seo-basics

What Have We Learned About JavaScript from Google?

Recently, well-known Google SEO spokesman, John Mueller, spoke about the use of JavaScript.

When asked about how Googlebot approaches pages that are not user-friendly without JS enabled, he replied that reasonable use of this programming language should not have a bad effect on the SEO:

I would assume if you’re using JavaScript in a reasonable way, if you’re not doing anything special to block the JavaScript on your pages, then probably it will just work.

At the same time, he recommends testing the website (e.g. using Google Search Console, which is able to provide information about whether Google is able to index our pages and images).

Mueller recommended taking care of the technical aspects of the website – to make sure that Googlebot can see the content and links on the pages. Also, the UX aspects, i.e. the user-friendliness of the website need to be accounted for – it can be reduced by incorrect use of JS.

The latter may not be as easy to check with tools. That’s why Mueller recommends research – interviews or surveys – it will provide reliable data on this topic.

Hopefully, the influence of JavaScript on SEO is now more understandable. If you would like to develop the technical aspects of your website contact our specialist!

(0)
Author
Junior SEO Specialist - Kasia

Junior SEO Specialist

An editor who chose to work in marketing instead of correcting commas. Passionate about new technologies, UX, and typography. In her spare time, she reads whatever she can get her hands on, experiments in the kitchen, and practices yoga. She loves dogs, coffee, and long walks.

Leave a Reply

Your email address will not be published. Required fields are marked *

Recently on our blog

Are you curious about SEO of online stores or maybe you want to enter the Swiss market and wonder SEO abroad looks like? You will find answers to these questions and many other tips important for the development of your business on our blog.

Google Core Algorithm Update - May 2022

Google Core Algorithm Update - May 2022

It’s already a tradition that we write about the core algorithm update in May or June. Google releases a broad core update several times a year. Check out what it might mean for your website, is there anything to be afraid of?

Read more
Does Link Building Increase Organic Traffic? Importance of Link Building in 2022 Proved

Does Link Building Increase Organic Traffic? Importance of Link Building in 2022 Proved

Link building is an important element of every SEO strategy. Although it’s frequently disregarded, it can bring spectacular results when done properly - we managed to achieve 800% revenue growth! Selecting appropriate keywords and obtaining backlinks from thematically related websites will help you boost organic traffic to your site. Need proof? Read today’s article based on real-life examples!

Read more
Voice Search SEO in 2022. How to Optimize Your Website for Voice Search?

Voice Search SEO in 2022. How to Optimize Your Website for Voice Search?

Google Assistant makes voice search a really powerful tool. It can schedule appointments, set clock alarms, or calculate your route home from work. It helps you find products to buy and gives you search results matching your location. This solution is predicted to become the most popular research method by 2025. How to optimize your website for voice search and stay on top of the game? Keep reading!

Read more