Weekly Wisdom with Bartosz Góralewicz: 4 Steps to Diagnose Your JavaScript SEO Issues

Learn about content strategy, SEO tips and more ► http://smr.sh/Kdv
Watch our latest video: How to Go Viral on Quora https://bit.ly/ViralOnQuora1
619

#WeeklyWisdom #JavaScriptSEO
For full transcript http://bit.ly/WWJavaScript1
Hello, everyone. My name is Bartosz Góralewicz. I am the CEO of Onely and welcome to SEMrush Weekly Wisdom. Today we are going to talk about JavaScript SEO, and we are going to get a little bit geeky with this topic.

Let’s talk about the history of JavaScript SEO for a second. JavaScript SEO is a fairly new concept. It started getting popular around 2016 when we published our first experiment that showed that Google has a few problems indexing JavaScript-generated content properly. This experiment got very, very popular quickly because it basically showed that Google is not very good; it is not perfect. It is struggling with rendering JavaScript. So Google actually could render a little bit of JavaScript. It was basically and still is a little bit slow. But at that time, most of the other search engines didn’t even have the technology or the resources to index even a little bit of JavaScript content. Still, this showed a little bit of a problem, and that is what I want to talk about today.

HTML vs. JavaScript
Let’s start with what’s the main difference between HTML content and JavaScript content because this is something that we really need to differentiate somehow. We are all used to HTML and CSS-built websites, for years now. With an HTML website, you just look into the source code, and you can see most of the content that is going to be visible on the website when you open it. With JavaScript, in a lot of cases, it is not like that at all. When you look into the code of the JavaScript-powered website, in many cases you can just see a few lines of JavaScript script, and there is no content that is visible on the page at all.

So we can compare that very in a visual way that HTML is like a ready-to-go cake and that it is basically ready to be consumed by Googlebot and WRS (web rendering service). And JavaScript is just a lot of ingredients that still have to be processed by either your browser on your mobile, your desktop or by Googlebot and then the rendering service to create the final product or, in this comparison, final cake. So this is very resource-intensive, especially on the CPU of either your device or Google servers. And this is actually what makes JavaScript so difficult to work with, a little bit complex at the same time.

Let me tell you one thing before we move further. And a lot of SEOs will be claiming that JavaScript is evil. I can understand where it comes from. But working with JavaScript for quite a bit and working with a lot of enterprise companies, eCommerce platforms that are powered by JavaScript, we never had the problem with that once we understood the problem and we worked with developers to fix it. So I guess JavaScript is not really evil. It is just a little bit more complex than the HTML and CSS that we are all used to.

4-Step Process — Is Your Website Properly Crawled and Indexed?
Let’s go through a quick checklist of how to make sure that your website is properly crawled and indexed in Google and other search engines. With these steps, you can check if you have a JavaScript problem or maybe this is something that is not a problem for your website.

Step 1: Check How Your Site Works With Disabled JS

The first, amazingly simple step is basically going to your Chrome browser. Just download Quick JavaScript Switcher plugin. Switch off JavaScript and see if any of the content within your page is going to change. If you switch off JavaScript and you see that, for example, part of your article or your product description or images disappear, this means that Google may struggle to index these parts of your website. So that’s step number one.

Follow us on social media:

Facebook: https://bit.ly/2D1w7Nn
Twitter: https://bit.ly/3g8GMnI
LinkedIn: https://bit.ly/2XaiVfP

Subscribe to our YouTube channel! http://smr.sh/KdD
#semrush #seo #digitalmarketing #seotools

You May Also Like