How can I get a web crawler to see dynamic data injected by JavaScript in 2019?

by Timothy Fisher   Last Updated May 14, 2019 22:04 PM

Originally posted this on stackoverflow and it got put as off-topic so posting here.

I recently read this google webmasters article from 2015 on accessibility and SEO for web pages using AJAX. It states the deprecation of their old crawling scheme using the hashbang method, and then states the updated proposal:

Times have changed. Today, as long as you're not blocking Googlebot from crawling your JavaScript or CSS files, we are generally able to render and understand your web pages like modern browsers. To reflect this improvement, we recently updated our technical Webmaster Guidelines to recommend against disallowing Googlebot from crawling your site's CSS or JS files.

Any research I've done on this topic has led to old articles that point to and reference the deprecated article/method. So, consider this simple data binding snippet (not AJAX just plain JSON):

https://codepen.io/tfisher9180/pen/qGRbVd

The select box populates a table from JSON data.

Obviously the source of the page contains no table data. So, what is the recommend approach to expose each of the option's table data to a web crawler?



Related Questions


Updated November 07, 2017 22:04 PM

Updated October 13, 2016 09:01 AM

Updated March 09, 2019 12:04 PM

Updated November 01, 2018 04:04 AM

Updated September 23, 2016 09:01 AM