Open axelferb opened 4 years ago
According to https://developers.google.com/search/docs/guides/intro-structured-data#structured-data-format it should be fine:
Also, Google can read JSON-LD data when it is dynamically injected into the page's contents, such as by JavaScript code or embedded widgets in your content management system.
Note that you can get the Structured Data Testing Tool to work just fine if your setup implements server-side rendering for react.
If we don't use server side render... will it still work?
Hi @pavanshinde47 see my above comment, this is specifically referring to the case where SSR is not enabled.
Would there be a reason why, when putting my webpage in the STD (https://search.google.com/structured-data/testing-tool/u/0/) that it would not detect schema on the site when using this method in react? What it actually prints on the page looks fine (see below).
Would this still be fine for SEO even though it does not find it in the structured data tool?