Mobile app version of vmapp.org
Login or Join
Chiappetta492

: Structured Data Tool doesn't see JavaScript rendered content Some structured data (namely price) of my page is rendered by JavaScript. According to fetching results in Webmaster tools Googlebot

@Chiappetta492

Posted in: #Googlebot #Javascript #StructuredData

Some structured data (namely price) of my page is rendered by JavaScript. According to fetching results in Webmaster tools Googlebot sees and renders it perfectly.

However the structured data tool only sees the HTTP response w/o any scripting applied.

Is it really so? Does Googlebot is more intelligent then structured data analysis and some workarounds like JSON-LD must be added?

10.01% popularity Vote Up Vote Down


Login to follow query

More posts by @Chiappetta492

1 Comments

Sorted by latest first Latest Oldest Best

 

@Heady270

Indeed, Googlebot is a kind of browser, which proceeds javascript - testing tool doesn't.

With JSON-LD, if loaded by javascript, you will achieve the same effect you get now: search console sees your structured data, testing tool doesn't.

To make testing tool gets your data, the data must be present in the source code at the moment of testing, independently like what, json-ld or microdata.

But if you are sure, that your structured data is error-free, so let it be implemented like it currently is. Just be sure, that your javascript, which makes structured data rendering:

a) doesn't triggered by any action, like click, scroll, onerror etc.

b) doesn't have long time gap after onload (sometime Googlebot will quit waiting and gets off).

10% popularity Vote Up Vote Down


Back to top | Use Dark Theme