1

My webpages show products. The product data (title, price, reviews, etc.) is fetched with an XHR and added to the DOM at run-time.

Does it make sense to add schema.org markup with JavaScript after the page load, or will Google completely ignore that markup?

0

1 Answer 1

1

Google will mostly only crawl the static markup of your page.

Here's link to documentation -> https://developers.google.com/structured-data/schema-org

JSON-LD is supported for all Knowledge Graph features, sitelink search boxes, Event Rich Snippets, and Recipe Rich Snippets; Google recommends the use of JSON-LD for those features. For the remaining Rich Snippets types and breadcrumbs, Google recommends the use of microdata or RDFa.

1

Not the answer you're looking for? Browse other questions tagged or ask your own question.