The particular Minimum Viable Knowledge You Need to Work together with JavaScript & SEO Today

If your work involves SEO a few level, you’ ve most likely already been hearing more and more about JavaScript as well as the implications it has on crawling plus indexing. Frankly, Googlebot struggles from it, and many websites utilize modern-day JavaScript to load in crucial content these days. Because of this, we need to be equipped to talk about this topic when it comes up to become effective.

The goal of this awesome article is to equip you with the minimal viable knowledge required to do so. This awesome article won’ t go into the nitty gritty information, describe the history, or give you severe detail on specifics. There are a lot of amazing write-ups that already do this — I suggest giving them a read in case you are interested in diving deeper (I’ lmost all link out to my favorites at the bottom ).

In order to be effective consultants with regards to the topic of JavaScript and SEO, we have to be able to answer three questions:

  1. Does the particular domain/page in question rely on client-side JavaScript to load/change on-page content or even links?
  2. If yes, is Googlebot seeing the information that’ s loaded in through JavaScript properly?
  3. If not, what is the ideal alternative?

Which includes quick searching, I was able to discover three examples of landing pages that will utilize JavaScript to load in essential content.

I’ meters going to be using Sitecore’ s Conference, seminar landing page through each of these talking factors to illustrate how to answer the particular questions above.

We’ ll cover the “ how can i do this” aspect first, with the end I’ ll expand on the few core concepts and url to further resources.

Query 1: Does the domain under consideration rely on client-side JavaScript to load/change on-page content or links?

The first step to diagnosing any kind of issues involving JavaScript is to find out if the domain uses it to launch in crucial content that could effect SEO (on-page content or links). Ideally this will happen anytime you obtain a new client (during the initial technical review ), or whenever your customer redesigns/launches new features of the site.

How do we go about achieving this?

Ask the client

Ask, and you shall obtain! Seriously though, one of the quickest/easiest actions you can take as a consultant is contact your own POC (or developers on the account) and ask them. After all, these are individuals who work on the website day-in plus day-out!

“ Hi [client], we’ re currently doing a technical attract on the site. One thing we check as if any crucial content (links, on-page content) gets loaded in through JavaScript. We will do some manual tests, but an easy way to confirm this is in order to ask! Could you (or the team) answer the following, please?

1 . Are we using client-side JavaScript to load in important content material?
2 . If yes, can all of us get a bulleted list of where/what articles is loaded in via JavaScript? ”

Verify manually

Even on the large e-commerce website with countless pages, there are usually only a number of important page templates. In my experience, it will only take an hour max to check on manually. I use the Chrome Web Developers wordpress plugin , disable JavaScript from there, plus manually check the important templates from the site (homepage, category page, item page, blog post, etc . )

In the example above, after we turn off JavaScript and reload the particular page, we can see that we are looking at an empty page.

As you create progress, jot down notes about articles that isn’ t being packed in, is being loaded in incorrect, or any internal linking that isn’ t working properly.

At the end of this step we should know when the domain in question relies on JavaScript in order to load/change on-page content or hyperlinks. If the answer is yes, we ought to also know where this happens (homepage, category pages, specific modules, and so forth )


You could also crawl the site (with a tool like Screaming Frog or even Sitebulb) with JavaScript rendering switched off, and then run the same crawl along with JavaScript turned on, and compare right after with internal links and on-page elements.

For example , maybe when you crawl the site with JavaScript rendering turned off, the title labels don’ t appear. In my brain this would trigger an action in order to crawl the site with JavaScript object rendering turned on to see if the title labels do appear (as well because checking manually).


For our example, I actually went ahead and did the manual check. As we can see through the screenshot below, when we disable JavaScript, the content does not load.

Quite simply, the answer to our first question with this pages is “ yes, JavaScript is being used to insert in crucial parts of the site. ”

Question two: If yes, is Googlebot seeing the information that’ s loaded in through JavaScript properly?

In case your client is relying on JavaScript upon certain parts of their website (in our own example they are), it is the job to try and replicate how Search engines is actually seeing the page(s). We would like to answer the question, “ Is Search engines seeing the page/site the way we would like it to? ”

In order to get a more accurate depiction associated with what Googlebot is seeing, we have to attempt to mimic how it crawls the page.

How can we do that?

Make use of Google’ s new mobile-friendly tests tool

At the moment, the particular quickest and most accurate way to try to replicate what Googlebot is viewing on a site is by using Google’ ersus new mobile friendliness tool. The colleague Dom recently wrote an in-depth post comparing Research Console Fetch and Render, Google crawler, and the mobile friendliness tool. Their findings were that most of the time, Online search engine bots and the mobile friendliness tool led to the same output.

Within Google’ s mobile friendliness device, simply input your URL, strike “ run test, ” after which once the test is complete, simply click “ source code” on the correct side of the window. You can take that will code and search for any on-page content (title tags, canonicals, and so forth ) or links. If they show up here, Google is most likely seeing the information.

Search for visible articles in Google

It’ ersus always good to sense-check. An additional quick way to check if GoogleBot provides indexed content on your page can be by simply selecting visible text on your own page, and doing a site: look for it in Google with quotations close to said text.

Within our example there is visible text for the page that reads…

“Whether you are in advertising, business development, or IT, you are feeling a sense of urgency. Or maybe opportunity? inch

When we perform a site: search for this exact term, for this exact page, we obtain nothing. This means Google hasn’ to indexed the content.

Crawling with a tool

Most crawling tools possess the functionality to crawl JavaScript today. For example , in Screaming Frog you can head to configuration > index > rendering > then choose “ JavaScript” from the dropdown plus hit save. DeepCrawl and SiteBulb both have this feature as well.

From here you can input your own domain/URL and see the rendered page/code once your tool of choice provides completed the crawl.


When trying to answer this question, my choice is to start by inputting the area into Google’ s mobile friendliness tool, copy the source code, plus searching for important on-page elements (assume title tag, < h1>, entire body copy, etc . ) It’ t also helpful to use a tool such as diff band to compare the made HTML with the original HTML (Screaming Frog also has a function where one can do this side by side).

For our example, here is what the outcome of the mobile friendliness tool displays us.

After a few lookups, it becomes clear that important on-page elements are missing here.

We also did the 2nd test and confirmed that Google hasn’ t indexed the body content available on this page.

The inference at this point is that Googlebot is not viewing our content the way we want this to, which is a problem.

Let’ s jump ahead and find out what we can recommend the client.

Question 3: If we’ lso are confident Googlebot isn’ t viewing our content properly, what need to we recommend?

Right now we know that the domain is using JavaScript to load in crucial content and know that Googlebot is most likely not since content, the final step is to recommend a perfect solution to the client. Key word: recommend , not implement. It’ s 100% our job in order to flag the issue to our client, describe why it’ s important (as well as the possible implications), plus highlight an ideal solution. It is completely not our job to try to the actual developer’ s job of determining an ideal solution with their unique stack/resources/etc.

How do we accomplish that?

You want server-side object rendering

The main reason why Google has trouble seeing Sitecore’ s squeeze page right now, is because Sitecore’ s squeeze page is asking the user (us, Googlebot) to do the heavy work associated with loading the JavaScript on their web page. In other words, they’ re using client-side JavaScript.

Googlebot generally is landing on the page, trying to perform JavaScript as best as possible, and then having to leave before it has a chance to notice any content.

The particular fix here is to instead possess Sitecore’ s landing page load on their server. In other words, we want to take the heavy raising off of Googlebot, and put it upon Sitecore’ s servers. This will make sure that when Googlebot comes to the web page, it doesn’ t have to do any kind of heavy lifting and instead may crawl the rendered HTML.

In this scenario, Googlebot gets on the page and already views the HTML (and all the content).

There are more specific choices (like isomorphic setups)

This is where it gets to be a little bit in the weeds, but there are cross solutions. The best one at the moment is known as isomorphic.

In this design, we’re asking the client to load the very first request on their server, and then any kind of future requests are made client-side.

So Googlebot comes to the particular page, the client’ s machine has already executed the initial JavaScript necessary for the page, sends the made HTML down to the browser, plus anything after that is done on the client-side.

If you’ lso are looking to recommend this as an answer, please read this post from the AirBNB group which covers isomorphic setups in more detail .

AJAX moving = no go

I won’ t go into information on this, but just know that Google’ h previous AJAX crawling solution for JavaScript has considering that been discontinued and will eventually not really work. We shouldn’ t become recommending this method.

(However, I am interested to hear any situation studies from anyone who has implemented this particular solution recently. How has Search engines responded? Also, here’ s a great post on this from the colleague Rob. )


At the danger of severely oversimplifying, here’s what you must do in order to start working with JavaScript plus SEO in 2018:

  1. Know when/where your own client’ s domain uses client-side JavaScript to load in on-page content material or links.
    1. Ask the developers.
    2. Turn off JavaScript and do some guide testing by page template.
    3. Crawl using a JavaScript crawler.
  2. Check to see if GoogleBot is viewing content the way we intend this to.
    1. Google’ s mobile friendliness checker.
    2. Doing a site: search for noticeable content on the page.
    3. Crawl using a JavaScript crawler.
  3. Provide an ideal recommendation to client.
    1. Server-side rendering.
    2. Hybrid solutions (isomorphic).
    3. Not AJAX crawling.

More resources

I’ mirielle really interested to hear about all of your experiences with JavaScript and SEARCH ENGINE OPTIMIZATION. What are some examples of things that been employed by well for you? What about things that haven’ t worked so well? If you’ ve implemented an isomorphic setup, I’ m curious to hear how that’ s impacted how Googlebot views your site.

If you liked The particular Minimum Viable Knowledge You Need to Work together with JavaScript & SEO Today by Then you'll love Miami SEO Expert