Observed Signal · Aug 11, 2026 · Technical Guidance · Source: DEV Community · Impact: 2/5 · Sentiment: Positive
SEO, GEO & SEM Platform Market: Next.js JSON-LD May Be Invisible to Crawlers
A developer found JSON-LD structured data injected with Next.js's next/script was not present in the server HTML because next/script defaults to strategy="afterInteractive" (client-side injection after hydration). This caused crawlers that parse the initial HTML (e.g., Bing and many scrapers) to miss the structured data. The author demonstrates a simple curl check to detect the issue, shows that replacing next/script with a plain <script type="application/ld+json"> renders JSON-LD into server HTML (including from client components), and recommends verifying crawler-visible markup with curl against the raw server output rather than relying on DevTools or headless validators.
Practical technical fix for Next.js sites that affects search indexing and structured data visibility; relevant to web developers and publishers but not industry-shifting.
Key Takeaways & Evidence Grounding
- next/script defaults to strategy="afterInteractive", which injects tags client-side after hydration.
- JSON-LD placed via next/script can be absent from the server-rendered HTML and thus invisible to crawlers that parse initial HTML.
- A one-line curl check (curl -s https://example.com/ | grep -c 'application/ld+json') can detect whether application/ld+json appears in server HTML.
- Replacing next/script JSON-LD with a plain <script type="application/ld+json"> causes React to render the JSON-LD into the server HTML, including when used in client components.
- The author's site went from 0 JSON-LD blocks per page to 2–5 per page after fixing the implementation and validating JSON parseability for each block.
Connected Companies & Entities
2 Entities mappedBing
Microsoft’s search engine monetised through advertising and media inventory.
“I spent a while wondering why a site of mine had almost nothing indexed in Bing....”
Search, video, adtech and cloud giant within Alphabet.
“Google can render JavaScript, so this isn't guaranteed to be fatal there....”
Ontology Mapping & Concepts
Track Real-Time Market Signals & Shifts
Set up custom watchlists to receive automated, evidence-grounded executive digests whenever material signals or shifts occur across your tracked landscape.
