All checks / Structured data
Structured data not in initial HTML (JavaScript-generated)
Google recommends putting structured data markup (especially for ecommerce/product pages) in the initial HTML response for best results.
Warning
structured-data-javascript-initial-html
In SEOCode's checks since 9 May 2026
What it checks
Why this matters.
Google recommends putting structured data markup (especially for ecommerce/product pages) in the initial HTML response for best results. While JavaScript-generated structured data is supported, it requires Googlebot to fully render the page before the markup is available, which can delay indexing and rich result eligibility. Additionally, ensure your server can handle increased traffic if generating structured data with JavaScript.
Runs on .jsx .tsx .vue .svelte · Warnings are reported on the pull request but do not block the merge.
The fix
How to resolve it.
Move your JSON-LD structured data into the initial server-rendered HTML response rather than injecting it via JavaScript. For Next.js/Nuxt/SvelteKit, render the JSON-LD block server-side.
SEOCode writes this fix for you
On a pull request the fix arrives as a suggestion you can commit in one click, when the change is unambiguous on the line.
Sources
Where this comes from.
Structured data
Related checks.
JSON-LD and the entity markup that earns rich results and grounds AI answers.
No structured data (JSON-LD) found Info
Structured data helps search engines understand your content and can unlock rich results (star ratings, breadcrumbs, etc.).
Invalid JSON in JSON-LD block Critical
A JSON-LD structured data block contains invalid JSON.
FAQ structured data is deprecated Warning
Google has deprecated the FAQ rich result feature.
Breadcrumb rich results only appear on desktop Info
Google has clarified that breadcrumb rich results only appear on desktop search results, not on mobile.
Review schema missing comment or author requirements Info
Google recommends implementing a review setup that only accepts ratings and reviews accompanied by both a review comment and the author's name.
Practice problem structured data is deprecated Warning
The practice problem structured data type is no longer shown in Google Search results.
From the blog
Where we wrote about this.
Catch it before it ships
Every check, on every pull request.
SEOCode runs the full ruleset on each change and comments the fixes inline.
Free for public repositories · no credit card