JavaScript SEO
Making content built with JavaScript frameworks discoverable, since crawlers handle client-side rendering inconsistently and most AI crawlers do not handle it at all.
In depth
What it really means
Google can render JavaScript, but it does so in a second pass on a separate queue, which can take days. Everything else is worse: Bing is less reliable, and most AI retrieval crawlers do not execute JavaScript at all.
That last point is the one that has changed the stakes. A client-rendered site can rank perfectly well in Google and return an empty shell to ChatGPT and Perplexity. It is now the most common single cause of a site being invisible to AI answers.
How it works
- The crawler fetches the initial HTML.
- If content requires JavaScript, Google queues the URL for rendering, often days later.
- Rendered content is then indexed.
- AI retrieval crawlers generally skip rendering entirely and see only the initial HTML.
Pros & cons
Pros
- Frameworks enable genuinely better user experiences.
- Server-side rendering and static generation solve the problem completely.
- Fixing it usually lifts AI visibility immediately.
Cons
- Rendering delays slow indexing.
- Non-Google crawlers handle it poorly or not at all.
- Fixes require engineering involvement.
Common mistakes
- Assuming that ranking in Google means AI systems can read the page. They often cannot.
- Navigation built with click handlers instead of anchor tags, leaving crawlers no links to follow.
- Testing with a browser rather than with the rendered HTML a crawler actually receives.
Best practices
- Server-side render or statically generate any content you want indexed or cited.
- Use real anchor tags with href attributes for all navigation.
- Test with view-source and Search Console’s URL inspection, not with your browser’s rendered view.
- Check what a non-rendering fetch returns, since that is what AI crawlers see.
FAQs
What is JavaScript SEO?
Making JavaScript-rendered content discoverable to crawlers, which handle client-side rendering inconsistently and in the case of most AI crawlers not at all.
Can Google render JavaScript?
Yes, but in a delayed second pass that can take days. Other search engines are less reliable, and most AI retrieval crawlers do not render JavaScript at all.
Why does my site rank in Google but not appear in ChatGPT?
Client-side rendering is the most common cause. Google renders your page eventually. AI retrieval crawlers fetch the raw HTML and find an empty shell.
Keep reading
Related on LymLyt
Beyond LymLyt
Further reading
Want this working on your site?
We build the content behind the term, ranked in search and cited by AI.
Book a 30-min call →