Fix: High Ghost Ratio

Ensure AI crawlers see your content, not an empty JavaScript shell.

What this means

A high ghost ratio means a large portion of your content is rendered by JavaScript in the browser and doesn't appear in the raw HTML response. AI crawlers like GPTBot, ClaudeBot, and CCBot don't execute JavaScript — they see the empty shell.

Why it matters for AI visibility

Ghost ratio feeds directly into the Rendering Score via a non-linear curve: RenderingScore = 100 × (1 − GhostRatio^1.5). A ghost ratio of 0.80 gives you a Rendering Score of only 28/100, dragging down the overall AI Readiness Score (Rendering has a 25% weight).

How SEODiff detects it

SEODiff estimates ghost ratio using framework detection and text density in the raw HTML — without a headless browser. It classifies your rendering as SSR (<0.10), Hybrid (0.10–0.40), or CSR (≥0.40).

Common causes

How to fix it (framework-specific)

Next.js

React SPA (Create React App)

Angular

Vue / Nuxt

WordPress

WordPress is server-rendered by default (ghost ratio ≈ 0). If you see high ghost ratio, check for heavy JavaScript-based themes or page builders that render content client-side.

How to validate the fix

  1. View your page source (Ctrl+U) — the main content should be visible in the raw HTML.
  2. Use curl https://yourdomain.com — the response should contain your content text.
  3. Re-run your SEODiff scan — the Rendering Score should improve.