Mobile app version of vmapp.org
Login or Join
Ravi8258870

: Can I add schema.org markup with JavaScript after page load? My webpages show products. The product data (title, price, reviews, etc.) is fetched with an XHR and added to the DOM at run-time.

@Ravi8258870

Posted in: #Google #SchemaOrg #Seo

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?

10.01% popularity Vote Up Vote Down


Login to follow query

More posts by @Ravi8258870

1 Comments

Sorted by latest first Latest Oldest Best

 

@Bryan171

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

Here's link to documentation -> 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.

10% popularity Vote Up Vote Down


Back to top | Use Dark Theme