Digital Engine note · Saved from Facebook

Can search engines really see the content generated by JavaScript?

Saves a practical note on using the Search Console URL inspection tool to confirm whether JavaScript content is rendered, and links back to the basic article on search engine crawling and indexing.

Source note

This note preserves the original context of the Facebook post. Some tools, interfaces, and external links may have changed.

View the original posthttps://www.facebook.com/searchenginecommunity/posts/1211889536215653
JavaScript SEO Facebook post with image

The issue with JavaScript SEO is not “whether the website can use JavaScript”, but whether the important content can be successfully obtained, rendered and understood by search engines.

The original post suggested using Google Search Console’s URL inspection tool to view the page screenshots and HTML in the test results to confirm whether the content generated by JavaScript actually appears.

If your content isn’t showing up, you may need to check robots.txt, resource requests, loading speed, error handling, and rendering timing.

Changing all interactions back to plain HTML is not necessarily the right answer.

A more practical direction is to make the core content and main navigation into a structure that can be stably obtained, and then use JavaScript to add interaction and progressive experience.

The original article and tool screen belong to the context of 2022, and the current Search Console and official documents should still be used when making technical diagnosis today.

Keep exploring

Related reading

Article

How Search Engines Work: Crawling

Crawling is the first step in search. A crawler starts with a URL, visits it, discovers more URLs, and repeats the cycle. The concept sounds simple, but it contains many important SEO details.

Article

SEO e-Newsletter Issue 12 – 2020.07.01~2020.07.15

In SEO, what is the difference between "document", "page", and "url"? John Mueller tells you what mentality you should use to view rankings and more JavaScript SEO. Subscribe to Digital Engine to receive more SEO news!

Article

SEO e-Newsletter Issue 53 – 2022.03.16~2022.03.31

This episode contains quite a lot of content and is quite long. You can find time to read and digest it slowly. If you have to choose, I suggest you pay close attention to the news that GA4 is preparing to completely replace the old version of GA, and we will continue to share more tips and tools in the next few weeks. In addition, the seventh point of content brief seems to have been rarely mentioned before. If you need to manage content output at work, it is highly recommended to refer to this method.