GEO Ready SEO AI search readiness
Technical · 15 min · site-level check

JSON-LD only after JavaScript

JSON-LD only after JavaScript. Some SEO plugins and themes inject structured data with JavaScript after the page loads. A browser sees it, the Rich Results Test (which renders) sees it, and most AI crawlers — which do not run JavaScript — never do.

Key takeaways

  • Check: JSON-LD only after JavaScript is a site-level check in the technical group.
  • Fix: Switch the plugin/theme to server-side output (Yoast and Rank Math do this by default; a caching or optimisation plugin that defers inline scripts is the usual culprit — exclude ld+json from deferral).
  • Not this: Deferring all inline scripts in an optimisation plugin without excluding JSON-LD.
  • Effort: 15 min, site-level check; the audit drafts the fix from your own page.

Why does “JSON-LD only after JavaScript” matter?

The extension compares the raw HTML with the rendered page to catch exactly this.

At a glance
CheckJSON-LD only after JavaScript
Layersite-level check
GroupTechnical
Typical effort15 min
Checked bythe website, the Chrome extension and the WordPress plugin (same analyser, 69 checks)

How do you fix “JSON-LD only after JavaScript”?

  1. View the page source (not the inspector) and search for application/ld+json. If it is absent there but present in the inspector, it is injected.
  2. Switch the plugin/theme to server-side output (Yoast and Rank Math do this by default; a caching or optimisation plugin that defers inline scripts is the usual culprit — exclude ld+json from deferral).
  3. Re-run the extension; the warning disappears when the raw HTML carries the block.

What should you not do?

  • Deferring all inline scripts in an optimisation plugin without excluding JSON-LD.

Example

Raw HTML: 0 JSON-LD blocks. Rendered DOM: BlogPosting + Organization → crawlers see none of it.

Frequently asked questions

How long does it take to fix "JSON-LD only after JavaScript"?

About 15 min. It usually needs a developer or the hosting panel.

Is "JSON-LD only after JavaScript" checked per page or for the whole site?

It is a property of the whole site, so fixing it once covers every page. The website, the Chrome extension and the WordPress plugin run the same check.

What is the most common mistake with "JSON-LD only after JavaScript"?

Deferring all inline scripts in an optimisation plugin without excluding JSON-LD.

Sources

About the author

Toofan Singh, Director, Aphrodyte IT Solution Pvt Ltd. Toofan Singh runs AI-search (GEO) work at Aphrodyte IT Solution in India and maintains the rubric behind this site, the Chrome extension and the WordPress plugin. He has built and audited content sites in English, Czech, Indonesian and Hindi since 2015. More about this site.

Related checks

Does your page pass this check? The audit runs all 69 and drafts the fix for you.