On this page
What this issue is
When a page loads, the server sends raw HTML. In a client-side rendered site (many React, Vue or Angular setups, and some page builders and widgets), that HTML is nearly empty. The browser then runs JavaScript, which fetches data and builds the visible text.
Browsers and Googlebot run that JavaScript. Many AI crawlers do not, or do not reliably. They read only the first HTML response. Anything added later, such as product descriptions, prices, reviews, FAQs or tabs, is missing from what they see. Crawler behaviour changes over time, so do not rely on any assistant rendering your scripts.
AI assistants answer from what they can read. If your pricing, services or answers are not in the HTML, the assistant has nothing to quote. It may cite a competitor, a directory or a review site instead, or describe your business from a thin snippet.
- Crawler requests pageFetches the URL
- Server sends empty shell<div id="root"></div>
- JavaScript builds contentNever runs for this crawler
- AI answer quotes youNo text to cite
The crawler stops at the first HTML response, so everything built by scripts is lost.
How to check if your site has it
Open view-source
In Chrome, go to view-source:https://yoursite.com/page. This shows the raw HTML, not the rendered page. Search (Ctrl/Cmd+F) for a sentence, a price or a heading that you can see on the page.
Fetch with curl
Run the command below and search the output for the same text. If it is missing, non-JS crawlers cannot see it.
Turn JavaScript off
In Chrome DevTools, open the Command Menu (Ctrl/Cmd+Shift+P), run 'Disable JavaScript' and reload. Whatever disappears is JS-only.
Test your key pages
Repeat for the home page, top service or product pages, pricing, contact details and FAQs.
curl -s -A "Mozilla/5.0" https://yoursite.com/pricing | grep -i "your price or headline"
# No output means the text is not in the initial HTMLHow to fix it
The goal is simple: the words you want quoted must be in the first HTML response. The best method depends on your platform.
Use native content blocks
Standard posts, pages and most themes render on the server. Problems usually come from plugins that load content by AJAX, such as some tabs, accordions, review or pricing widgets.
Replace JS-loaded widgets
Where a widget fails the view-source test, check its settings for a server-side or 'no AJAX' option, or place the same text in a normal paragraph or block.
Keep product facts in Liquid
Themes render title, price and description in Liquid on the server. Check that apps injecting reviews, FAQs or price tables also output text in the HTML, and if not, add the key text to the product description or theme template.
Use CMS and static elements
Webflow publishes HTML. Text in native elements and CMS collection lists is visible. Content injected by custom embeds or third-party scripts is not, so move important text into native elements.
Test with view-source
Wix renders most pages on the server, but dynamic and app-based content can differ. Test each key page, and put important text in standard text elements rather than app widgets.
Prefer built-in blocks
Text, product and blog blocks are in the HTML. Code blocks or injected scripts that write text are not, so avoid using them for key content.
Switch to server rendering
With frameworks like Next.js, Nuxt, Remix, SvelteKit or Angular Universal, use server-side rendering (SSR) or static site generation (SSG) for public pages instead of client-only rendering.
Or pre-render
For an existing single-page app, use a build-time prerender tool or a rendering service so crawlers get complete HTML. Serve the same content users see, not a different version.
Fetch data on the server
Load prices, descriptions and FAQ data during server rendering, not in a useEffect or after page load.
Client-side only
- HTML contains an empty root div and script tags
- Price, description and FAQ appear only after scripts run
- AI crawlers see no answer to quote
Server-rendered
- HTML contains headings, text, price and FAQ
- Scripts only add interactivity
- Any crawler can read and quote the page
How to confirm it's fixed
- view-source shows your headline, main paragraph, price and FAQ text
- The curl command returns the phrase you searched for
- The page still reads fully with JavaScript disabled
- Structured data (JSON-LD) is present in the raw HTML too
- Key pages checked, not just the home page
How to prevent it happening again
Add a raw-HTML check to your release routine. Before launching a redesign, new framework or widget, run the curl test on your top pages. In your team's process, treat 'is the text in view-source?' as part of done.
| Method | Text in first HTML? | Notes |
|---|---|---|
| Client-side rendering | No | Risky for AI crawlers |
| Server-side rendering | Yes | Rendered on each request |
| Static generation | Yes | Built ahead of time, fast |
| Pre-rendering | Yes | Good for existing SPAs |
How FunnelGuard handles this
FunnelGuard does not check this yet. Comparing raw HTML with rendered content is a possible future check. Today, FunnelGuard runs your real customer journeys with a robot visitor and checks form steps, tracking hits and lead delivery, so it can show when a journey step breaks. It does not tell you whether AI crawlers can read your page text.
To watch for this issue now, run the curl check on your key pages after each release, or add it as a script in your build pipeline that fails if an expected phrase is missing. The free read-only FunnelGuard website audit is another way to review your site, but do not treat it as a raw-HTML test.
Questions people ask
Do AI crawlers execute JavaScript?
Many do not, or do not do it reliably. Googlebot renders JavaScript, but several AI crawlers read only the initial HTML. Behaviour changes, so the safe approach is to put key content in the first HTML response.
Why is my site not showing up in ChatGPT or Perplexity answers?
One possible cause is that your content is built by JavaScript, so crawlers see an empty page. Other causes include blocked crawlers in robots.txt or bot protection. Check view-source first, then your robots.txt and firewall settings.
How do I check what AI crawlers see on my page?
Open view-source:yourpage in Chrome, or run curl on the URL, and search for your key text. If it is not there, non-JS crawlers cannot see it. You can also disable JavaScript in DevTools and reload.
Is a React or single-page app bad for AI search visibility?
Only if it renders on the client alone. A React app using server-side rendering or static generation, for example with Next.js, sends full HTML and works fine for crawlers.
What is the difference between view source and Inspect Element?
View source shows the raw HTML the server sent. Inspect Element shows the page after JavaScript changed it. Crawlers that skip JavaScript only see what view source shows.
Does pre-rendering count as cloaking?
Not when the pre-rendered HTML matches what users see. It becomes a problem if you show crawlers different content than visitors. Keep both versions the same.
Does FunnelGuard detect JavaScript-only content?
No. FunnelGuard does not check this yet, though it is a possible future check. It currently monitors customer journeys, tracking hits and lead delivery.
Related issues
- SEO-385AI crawlers get CAPTCHA or JS challengeFix guide
- SEO-384AI crawlers blocked by WAF or CDN bot settings (Cloudflare AI block)Fix guide
- SEO-377GPTBot blocked in robots.txtFix guide
- SEO-389Key facts (prices, plans, hours) only in images or PDFsFix guide
- SEO-392No concise answer-style passages or FAQs that AI can quoteFix guide
- SEO-391Missing Organization/Product schema for entity understandingFix guide