Technical SEO for JavaScript-heavy sites: rendering, indexing and crawlability

Your site can be losing rankings and going invisible to ChatGPT without anyone noticing - all it takes is being built in React, Vue or Angular without the technical base handled. Technical SEO is the layer that decides whether search engines (and AI engines) can even read your site. When it fails, the best content in the world won't save you.

The problem that only shows up once traffic has already dropped

Technical SEO disasters are silent. They don't show up in a nice report - they show up in a traffic drop three weeks later, when it's already too late. And there's a new one almost nobody measures: a study by Vercel and Merj, across more than 500 million GPTBot fetches, found not a single JavaScript execution. AI crawlers - GPTBot, OAI-SearchBot, ClaudeBot, PerplexityBot, Bytespider - read the raw HTML and don't run JavaScript. Only Gemini renders, because it uses Googlebot's infrastructure.

The translation is blunt: a client-side-rendered site can rank on Google (which renders) and be completely invisible in ChatGPT, Perplexity and Claude. The content exists - but only after JavaScript runs, and those bots never get there.

Why it's the fastest-growing need

Never have so many sites been built in JavaScript frameworks, and never have so many bots depended on clean HTML. At the same time, GEO - being cited by AI - rests entirely on the technical base: if the bot can't read it, it won't cite it. Technical SEO stopped being "hygiene" and became what decides whether you exist in search and in AI. It's also why it's one of the best-paid, least commoditizable services: it demands understanding code, server and engine at the same time.

The JavaScript framework black hole

React, Vue, Angular, Next.js, Nuxt, Svelte - all can be excellent for SEO or a disaster, depending on the rendering strategy. The problems I see most:

Pure CSR: content only exists after JavaScript runs. Googlebot may render it (with delay and a limited budget), but AI bots don't - they see an empty page.

Links built in JavaScript: navigation via onclick or routers with no real <a href>. Engines don't follow what isn't a link - whole pages go undiscovered.

Content loaded on interaction: tabs, "load more", infinite scroll. If it only appears after a click, it doesn't exist for the crawler.

Error states returning 200 (soft-404) and hydration errors: error pages with HTTP 200, SPAs serving the same shell for everything, and hydration failures that swap out the rendered content.

Parameter URLs and duplicate routes: filters and states that generate endless variations of the same page, burning crawl budget and creating duplicate content.

SSR, SSG, ISR or CSR: what to choose

The rendering strategy is the decision that weighs most. In short:

ApproachHow it worksSEO & AIBest for
SSGPre-rendered at build timeExcellent (HTML ready)Stable content: blogs, guides, brochure sites
SSRRendered on the server per requestExcellentDynamic, personalized content
ISRSSG + incremental revalidationVery goodE-commerce and large catalogs
CSRRendered in the browserWeak; invisible to AIApps behind login (not indexable)

If you're already stuck on CSR, dynamic rendering or prerendering is a band-aid - and Google itself advises against it as a long-term solution. The real fix is serving indexable pages with SSR or SSG.

The one nuance: because AI crawlers mostly don't render at all, serving them prerendered HTML is a legitimate interim step for AI citability - as long as it's the same content you serve everyone, never a different one (that's cloaking).

HTTP headers and the server response

Before any content, what the engine sees is the HTTP response - and that's where expensive things get lost. Where I work: correct status codes (200, 301 and 308 for permanent, 302 only for temporary, 404 and 410 for removed), eliminating soft-404s, X-Robots-Tag, canonical and hreflang via header, Vary, Content-Type, cache policy, Link headers, compression (gzip/Brotli) and HSTS. And a case I see more and more: a rate limit (429) too aggressive, blocking AI bots in practice, even with robots.txt allowing them. Finally, redirect chains and loops, which dilute signals and waste crawl.

Crawl, logs and rendering

Google indexes in two waves: first the HTML, then - when there's budget - the rendered content. Understanding this pipeline (crawl → render → index → citation) is what tells you where your site fails. Log file analysis shows what the bots actually do: which pages they crawl, how often, and whether the AI crawlers get there or give up.

Crawl isn't free, and this is the layer almost nobody audits. Google reuses the copy it already has when a page returns 304 Not Modified, so URLs that haven't changed stop burning crawl; a slow TTFB, or 5xx and 429 responses, make Google crawl less, not more. Crawl budget only truly bites at ~10k+ pages changing daily, ~1M+ pages, or when "Discovered/Crawled - currently not indexed" piles up in Search Console. Below that, a page that won't rank is usually a selection or quality problem, not a crawl one - and no amount of crawl tuning fixes it.

Mobile-first crawling

Google indexes the mobile version of your site, not the desktop one. If content, internal links or structured data differ on mobile, it's the poorer version that counts for indexing. Mobile/desktop parity stopped being a recommendation and became a requirement.

Core Web Vitals and technical performance

Core Web Vitals (LCP, INP and CLS) are a page-experience signal, and the weight of JavaScript is often the culprit. A heavy bundle slows loading, interaction and rendering - it penalizes the user and the crawler at once. Here, technical SEO and front-end performance are the same job.

Structured data and the bridge to GEO

Structured data (Schema.org) describes content for machines and defines your entity - the base for being cited by AI. It's where technical SEO meets GEO: without a solid technical base, the CITAR method doesn't even start. A common, costly mistake: marking up what doesn't apply, which can trigger a manual penalty.

Since Google retired HowTo and most FAQ rich results, schema's real job here isn't chasing stars - it's entity grounding (Organization, Person, sameAs, author), the signal AI uses to identify and trust the source.

AI bots and crawlability

Do you allow GPTBot and PerplexityBot in robots.txt, or block them without noticing? A rate limit (429) too tight cuts them off even with permission. And llms.txt steers them to your best content. AI crawlability is a new discipline - and exactly where technical SEO meets GEO.

And rendering is only half the battle. AI engines don't retrieve your whole page - they chunk it and pull the passages their model judges relevant. A section that isn't self-contained (answer first, clear entities, no "as we saw above") is invisible even when it was crawled perfectly. Writing for passage-level retrieval is the new on-page. The flip side is verification: much of what calls itself an AI crawler in your logs is spoofed, which I cover in inflated Direct traffic and the bots GA4 hides - verify by the provider's published IP ranges or reverse DNS, not by the user-agent string.

SEO migrations

Migrations - of platform, domain or URL structure - are a site's highest-risk moment: done badly, traffic losses can reach 80-90%. It's a discipline of its own, with its own method, so I handle it as a dedicated service. See SEO Migration.

Advanced tools I use

Tools don't do the work - but without them you can't see the problem. The ones I use daily:

Screaming Frog - SEO Spider with JavaScript rendering, before/after crawl comparison for migrations, and the Log File Analyser to see what bots actually do. Google Search Console - URL Inspection to compare raw vs. rendered HTML, Crawl Stats and Coverage. Chrome Developer Tools - network, code coverage, the rendering panel and mobile emulation. Claude Code and Gemini as audit assistants: analyzing templates and code, catching JavaScript problem patterns at scale, and comparing raw vs. rendered HTML. curl and httpstatus.io to inspect HTTP headers and redirect chains. PageSpeed Insights, CrUX and WebPageTest for Core Web Vitals and waterfalls. Rich Results Test for structured data, and log analysis for AI bots.

Free tools I recommend (and use)

Two Chrome extensions anyone can install to see what the engine sees:

  • View Rendered Source - compares the original HTML (what AI bots see) with the rendered HTML (what Google sees after JavaScript). The fastest way to tell whether you have a rendering problem.
  • Web Developer - disable JavaScript and CSS, show the headers and inspect the page in seconds.

What's included

  • Full technical audit: crawl, indexing, rendering and log files
  • JavaScript/SPA diagnosis and rendering strategy (SSR, SSG or ISR)
  • HTTP headers, status codes and redirect chains
  • Core Web Vitals and technical performance
  • Structured data and rich-result eligibility
  • AI-bot crawlability (robots.txt, 429, llms.txt)
  • Planning and execution of zero-loss migrations

How I work

  1. 1Diagnosis and data collection (GSC, logs, crawl, DevTools)
  2. 2Prioritization by impact - what moves the needle first
  3. 3An action plan with clear, testable tickets for the development team
  4. 4Execution or oversight, with validation at each step
  5. 5Before/after measurement and continuous monitoring

Who it's for (and who it isn't)

It's for sites on JavaScript frameworks, e-commerce and large catalogs, publishers, and any project about to migrate. It isn't for anyone wanting an automated 200-point report with no priorities, or a guaranteed-ranking promise. I work with your development team, not against it - with tickets developers can actually execute and test.

Where this comes from

The hardest part of a front-end built entirely in JavaScript is rarely the code - it's proving to non-technical stakeholders that it's the problem. On one site I spent years on, the JS-only front-end was killing Core Web Vitals and breaking rendering: the rendered DOM crossed canonicals and even swapped meta titles and descriptions between pages. I fixed the internal layer first - broken internal links, the DOM, canonicals finally pointing where they should. The window to rebuild the front-end with SSR only opened years later, and only once I could show that some GPT crawlers don't render JavaScript at all. By then the cost was real: budget pushed into Google Search Ads to cover organic rankings that had slipped.

On another site, the logs told a story the dashboards didn't: AI and search bots were being partially blocked, and for a window in the early hours the servers returned 500s - and a slow or erroring server quietly throttles how much Google crawls. On large sites I run crawl-budget analysis to cut dead weight; in one case, removing 45% of pages that hadn't had a single visit in 365 days.

Earlier, as Global SEO Specialist at Mercedes-Benz, I worked directly with Developers, Software Architects, CloudOps and UX to improve the technical SEO of international sites at scale - the kind of context where one rendering bug or a bad redirect costs real money. To that I add a decade in WPP-group agencies and teaching.

Sources

See also GEO, Analytics and international SEO.

FAQ

Frequently asked questions

What does a technical SEO audit include?

A technical SEO audit covers crawl, indexing and rendering (including JavaScript and SPAs), HTTP headers and status codes, Core Web Vitals, structured data and AI-bot crawlability. You get a diagnosis prioritized by impact, with clear, testable tickets for the development team - not an automated 200-point report with no priorities. Get in touch →

Do you specialise in JavaScript rendering and indexing?

Yes - it's the core of this service. I compare raw vs. rendered HTML, diagnose the CSR/SSR/SSG/ISR trade-offs, fix JavaScript-built links, soft-404s and hydration errors, and make sure both Googlebot and the AI crawlers (which don't run JavaScript) can read and index the pages that matter. Get in touch →

Can you help with crawlability issues on a JavaScript-heavy site?

That's exactly what I do. Crawlability on JS-heavy sites breaks in predictable ways - client-side rendering, JS-only navigation, content loaded on interaction, parameter URLs, and rate limits (429) that quietly block AI bots. I diagnose it with logs, crawls and raw-vs-rendered comparison, then hand the dev team clear, testable fixes. Technical SEO →

My site is in React or Vue. Do I have an SEO problem?

It depends on the rendering strategy. With SSR or SSG, probably not; with pure client-side rendering, almost certainly - especially for AI engines, which don't execute JavaScript. The first thing I do is compare the raw HTML with the rendered HTML. Get in touch →

Can I show up in ChatGPT if my site is all JavaScript?

Unlikely, if it's client-side rendered. AI crawlers read the raw HTML and don't run JavaScript. The fix is to serve already-rendered content (SSR/SSG) on the pages you want cited. See GEO →

I'm migrating platforms. How do I not lose traffic?

With a 1:1 redirect map, staging validation, correct 301s and daily post-launch monitoring. Most losses come from avoidable errors - missing redirects, 302 instead of 301, URLs changed with no plan. Get in touch →

Do you work with our development team?

Yes, and that's how it works best. I hand over clear, testable tickets with the technical reasoning behind them, not vague advice. I've worked side by side with developers, architects and CloudOps. Get in touch →

Is your site actually being read by the engines?

Tell me your stack and your goal, and I'll propose the shortest path to a technical base that ranks and gets cited by AI.

Let's talk