Google Explains When JavaScript Does and Does Not Matter for search engine optimization

Google’s Martin Splitt keeps his JavaScript search engine marketing video series with an episode explaining while JavaScript is worth stressful about.

He also identifies the makes use of of-of JavaScript that isn’t well worth annoying approximately.

It’s not always necessary to be concerned approximately JavaScript concerning search engine marketing.

As Splitt explains, SEOs must simplest be worried when they’re working with a “JavaScript site.”

What is a JavaScript site?
A website online that uses JavaScript does now not usually qualify as a “JavaScript web site.”

If all primary content material may be considered without loading JavaScript, then you have nothing to fear about.

On the other hand, if JavaScript is essential for displaying important content material, you they’re running with a “JavaScript website online.”

Another form of JS website online is a single page app, which includes a shell typically with numerous perspectives showing one-of-a-kind content.

If you’ve ever used Instagram on a cellular browser, then you have a very good example of a single web page app.

When Instagram is loaded in a cell browser, the header and footer are static (the shell), while JavaScript is used to fetch and show the primary content.

When is JavaScript relevant for search engine marketing?
JavaScript turns into applicable for SEO while it’s getting used to load or modify critical content material dynamically.

Ideally, Googlebot ought to be capable of seeing all content material on a web page, consisting of the elements which can be being dynamically delivered using JavaScript.

So if you could view the web page supply and see all essential content, then JavaScript isn’t relevant to search engine optimization in that instance.

If you can handiest see some of the content inside the page source, then that’s what will get indexed throughout the first wave of indexing.

The content material that needs to be rendered using JavaScript will be listed throughout the second one wave.

Splitt explained two waves of indexing for JavaScript content in his previous video.

In later episodes, Splitt will move into extra detail about improving JavaScript rendering in the course of the second wave of indexing.

Wendy Mckinney
Hipster-friendly twitter fanatic. Reader. Bacon trailblazer. Professional web expert. Food geek. Infuriatingly humble coffee ninja. Earned praised for my work donating mosquito repellent in Hanford, CA. Spent 2001-2006 developing strategies for frisbees in Bethesda, MD. Spent the better part of the 90's getting my feet wet with barbie dolls for farmers. Spent 2002-2010 developing strategies for tinker toys in Prescott, AZ. My current pet project is managing pond scum in the UK. Spent 2001-2007 consulting about robots for fun and profit.