"Fetch as Google" is showing an empty page for inline JS while page renders fine on browser


I have a very simple static HTML page with just one div. I have some static data defined in <head> and want jquery to iterate over this structure and append this inside the div startHere.

    <div id='startHere'></div>
      $("#startHere").append(<function to generate html from the data>)

This works well in browsers and I see the content that I want to see. However when I try to use "Fetch as Google", I see an empty page with just the header.

The status of the request is shows as completed in the google tool.

Any idea why this page shows empty?

Show source
| javascript   | jquery   | seo   | google-crawlers   | google-webmaster-tools   2016-12-14 01:12 0 Answers

Answers ( 0 )

◀ Go back