All checks / AI search (GEO)
Critical metadata only in client-side JavaScript (useEffect, onMount or onMounted)
A critical-level ai search (geo) check, run on every pull request and every CLI run.
Critical
geo-ssr-hydration
In SEOCode's checks since 13 Sep 2026
What it checks
Why this matters.
Critical SEO metadata, page title, meta description, og:image, or canonical URL, is being set inside a useEffect hook (React), onMount (Svelte) or onMounted (Vue), or inside Nuxt's <ClientOnly>, meaning it only exists after JavaScript executes on the client. AI crawlers (and Googlebot's first pass) process the server-rendered HTML before executing JavaScript. Metadata that only appears post-hydration is invisible to these crawlers, resulting in missing or incorrect data in AI-generated summaries and search previews. This is a silent failure, the page renders correctly for human visitors but the metadata AI engines need for citation is never seen.
Runs on .jsx .tsx .svelte .vue · Critical checks fail the pull request status, so the change cannot merge until it is fixed.
The fix
How to resolve it.
Move critical metadata out of useEffect and into server-rendered output. In Next.js App Router, use the Metadata API (export const metadata = { title: '...', description: '...' } or export async function generateMetadata()). In Next.js Pages Router, use next/head at the top level of the component, not inside useEffect. In Remix, use the meta() export. In SvelteKit, put the tags in <svelte:head> in +page.svelte or +layout.svelte, not in onMount. In Nuxt, call useHead() or useSeoMeta() at the top of <script setup>, not in onMounted or inside <ClientOnly>. In Astro, set metadata in the Astro component frontmatter inside <head>. Never set document.title or append <meta> tags inside useEffect or onMount for content that search engines or AI crawlers need to read.
SEOCode writes this fix for you
On a pull request the fix arrives as a suggestion you can commit in one click, when the change is unambiguous on the line.
AI search (GEO)
Related checks.
What decides whether ChatGPT, Perplexity and AI Overviews can read and cite a page.
robots.txt blocks AI search crawlers Critical
robots.txt is blocking one or more AI crawlers: GPTBot (OpenAI's training crawler), PerplexityBot (Perplexity), ClaudeBot (Anthropic) or Google-Extended (Google Gemini; AI Overviews use Googlebot).
JSON-LD entity missing @id anchor (flat graph) Critical
An Organization, Person, Product, Place, or LocalBusiness entity in JSON-LD is missing an @id property.
Organization or Person schema missing sameAs links Warning
An Organization or Person entity in JSON-LD is missing a sameAs array linking to authoritative external sources.
FAQPage schema present but no matching Q&A HTML structure Warning
The page includes FAQPage JSON-LD schema markup but has no visible Q&A structure in the HTML, no question-like headings (h2/h3 ending in '?') and no accordion or FAQ component class names.
Heading section opens with narrative preamble (not BLUF) Info
A major heading section (h2 or h3) opens with narrative preamble rather than a direct answer.
Heading content not wrapped in semantic container element Info
The page has h2 or h3 headings but no content is wrapped in semantic HTML container elements, <article>, <section>, or <aside>.
From the blog
Where we wrote about this.
Catch it before it ships
Every check, on every pull request.
SEOCode runs the full ruleset on each change and comments the fixes inline.
Free for public repositories · no credit card