Short answer: most AI crawlers do not execute JavaScript, so they see the HTML your server sends and nothing that scripts add afterwards. If your prices, specifications or answers appear only after client-side rendering, the page is an empty shell to those agents, even though it looks complete in every browser and tool you use. The fix is to put the substance in server-rendered or static HTML. The check is to fetch the page without JavaScript, as the agent, and read what comes back.
Why JavaScript rendering problems go unnoticed by AI teams
Everything you normally use to look at your site runs JavaScript: your browser, your preview tools, and your analytics, which execute in a browser too. A client-rendered page therefore looks fine from every vantage point you usually occupy, while the consumer that matters here, an agent fetching raw HTML, is the one you never simulate. Nothing in your own analytics will tell you, and the status code will not either: a 200 response with an empty body is a failure, not a pass.
The gap also tends to open after launch rather than at it. A framework upgrade, a new reviews app, a redesigned product template or a tag that rewrites content for an A/B test can each move text from the server response into the browser, and the page keeps looking identical to everyone who checks it in a browser. That is why a one-off audit is not enough: the check has to be repeatable and cheap enough to run after changes.
Open your own page with JavaScript disabled. What you see is close to what a non-rendering agent gets.
Rendering modes compared: what each puts in the first response
"Uses JavaScript" is not the problem; almost every site does. What matters is whether the substance is already in the first HTML response or is assembled afterwards in the browser. The common modes differ exactly on that point:
| Rendering mode | What the first HTML response contains | For a non-rendering agent |
|---|---|---|
| Static generation | The complete page, built ahead of time | Everything, as long as the build includes the data |
| Server rendering | The complete page, built per request | Everything, unless parts are deferred to the client |
| Server rendering plus hydration | The complete page, which scripts then make interactive | Everything in the initial markup; anything fetched after hydration is missing |
| Client rendering | A shell and a script bundle | The shell only |
Most real sites mix these. A server-rendered storefront can still load its reviews client-side, and a statically generated blog can pull its comments or related products from an API. So the question to ask is never "which framework do we use" but "which blocks on this template are in the first response".
One trap deserves a mention. Frameworks often embed the page's data as JSON inside a script tag, so a raw fetch does contain the price somewhere in the bytes. That is data for the script, not text on the page, and there is no vendor documentation saying any AI agent reads it. Treat it as absent: the test is whether the sentence appears as page text.
The shapes it takes
Single-page apps are the obvious case, but much of the damage comes from smaller patterns inside sites that are otherwise rendered on the server:
| Pattern | What a non-rendering agent gets |
|---|---|
| Single-page app with client-side routing | The application shell, often the same one for every URL |
| Content fetched after the page mounts | Headings and layout without the substance |
| Prices or specifications loaded from an API on interaction | A page that appears to have no prices |
| "Load more" lists and infinite scroll | The first batch only |
| Tabs and accordions whose content a script builds | The tab labels, not the content |
| Widgets that render FAQ or reviews client-side | Nothing, while any FAQ markup describes text that is not in the HTML |
Where JavaScript rendering gaps hide on common platforms
The big site builders render pages on the server, which is good news, but each has documented exceptions:
| Platform | In the server HTML | Not in the server HTML |
|---|---|---|
| Shopify | Normal storefront pages, because Liquid is composed on the server | Sections fetched by the Ajax Section Rendering API (faceted filtering, search pagination, cart updates) and blocks that apps inject client-side, such as reviews and Q&A |
| WordPress | Classic and block themes | Lazy-load scripts that replace image sources, load-more listings, tabs and accordions injected by builders, and any headless front end |
| Webflow | Published pages and CMS content bound in the Designer | Site search result pages, Embeds that build content at runtime, content loaded by third-party scripts |
| HubSpot | Page and blog body from HubL templates | Forms, CTAs and chat, so offer text inside a form is invisible; membership-gated content before login |
The primary sources are Shopify's Section Rendering API reference and HubSpot's template documentation, and our Shopify page covers that platform in more depth. On WordPress, also look at full-page caches that vary by cookie, which can serve an agent a different page from the one you see when logged in.
Read the right-hand column of the table as a test list. On a Shopify store, fetch a product page and look for one sentence from a review and one answer from the Q&A block. On HubSpot, look for the offer text that sits next to a form. On Webflow, check any page that relies on an Embed. On WordPress, fetch a page while logged out and compare it with what an editor sees. Each of these takes a minute, and each one either clears a template or tells you exactly which block to move into the server response.
What to do about it, in order of preference
- Server-render or statically generate the substance. Anything you want quoted should be in the HTML the server sends. This is the real fix, and everything below is mitigation.
- If you cannot, put the critical facts in the initial HTML anyway. Prices, definitions and the answer paragraph under each heading can be plain markup alongside the interactive version.
- Never hide answers behind interaction. Tabs and accordions are fine as a visual pattern when the content is already in the HTML and only collapsed visually.
- Do not use markup to compensate. FAQ structured data over content the page never renders describes text that is not there. Fix the content first, then mark up what is actually on the page. FAQ schema that works covers the markup side.
- Fix templates, not pages. Start with the templates that answer buyer questions, such as pricing, product, comparison and help pages. A fix to one template repairs every page built from it, while page-by-page workarounds drift as soon as someone edits the template.
- Check the platform exceptions. If reviews, Q&A or offer text matter for the questions your buyers ask, make sure that text does not live only in an app block, an Embed or a form.
How to verify properly
- Fetch without JavaScript, as the agent. Request the page with each named agent's user agent and read the body text. Do not read the DOM in your browser's developer tools, which shows the state after scripts ran.
curl -s -A "OAI-SearchBot" https://example.com/product/ | grep -i "in stock" - Add a browser control. Fetch the same URL with an ordinary browser user agent. If both fail, the site is down; if only the agent fails, something at the edge treats agents differently. A CDN rule or firewall returning 403 to AI agents is a block in practice, whatever robots.txt says.
- Compare the text. Put the visible text a reader sees next to the text in the raw HTML. A large gap is the finding. A rough count is enough to spot it: strip the tags from the raw response and count the words, then compare with what the rendered page shows.
curl -s -A "OAI-SearchBot" https://example.com/product/ | sed -e "s/<[^>]*>/ /g" | wc -w - Re-test after deploys. A framework upgrade that moves rendering to the client produces no error anyone sees.
Rendering is the second of four gates between a page and an AI answer, after access and before extractable writing. The technical access reference sets out the order and why it matters.
One honest caveat
"Most AI crawlers" is not "all of them", and vendor behaviour changes. We do not have vendor documentation that says which agents execute scripts, so you cannot confirm from the outside whether a given agent renders your page today. Building on the assumption that it does is a bet you do not need to take, because putting your important content in the HTML has no downside for any reader of your site, human or otherwise.