| name | javascript-seo |
| description | Use when running JS-heavy framework. Google can render JS but limitations apply.
|
JavaScript SEO
Google renders JS (2-stage indexing). JS-rendered content takes 1-30 days to index vs HTML's hours. Critical content should be in HTML, not JS-only.
Google's two-stage indexing
Stage 1: HTML crawl (immediate)
Stage 2: JS render (1-30 days later)
Meaning: content rendered only by JS is indexed slower. Critical content (price, title, key keywords) should be in HTML.
JS-SEO best practices
- Server-side render (SSR) or pre-render critical content
- Use Hybrid (SSG + client hydration)
- Avoid SPA routing for content pages
- Test with View Source — is content there?
- Test in Search Console > URL Inspection > 'View tested page'
Anti-patterns
- SPA where every page has same HTML (URL changes via JS only)
- Content rendered only after user interaction
- Lazy loaded content below-fold (LLM and crawl issues)
- Heavy JS that blocks rendering >3s
- Cookie wall before content
Where this fits in the X3 empire
JS-SEO considerations for CardPrepAI tools and interactive surfaces.