Check A3.2 · Server-rendered content

Put your content in the raw HTML, not only in JavaScript

Why most AI crawlers and agents never see content that only JavaScript renders, what an empty app shell or a password page does, and how to fix it.

By · Updated · Markdown

Check 2 of 19 in Content accessibility · 24 of 87 overall
Priority
Blocking Weight 3. Gates a readiness level or carries the most weight in its section. Fix these first.
Readiness level
Required from Level 1 (Reachable) upward.
The question
Can an agent that does not run JavaScript read the content?
On this page

In short

Most AI crawlers and agents read the HTML your server sends and do not run JavaScript. If a page only fills in its content in the browser, those clients see an empty page. This check passes when every sampled product page carries a title, a price and a description in the raw HTML, as text or as structured data. On a site that sells nothing, it checks that the home page is not an empty shell.

What this check looks at

The scanner fetches the sampled product pages without running any scripts, exactly as a simple crawler would. For each page that answered successfully, it looks for three things:

ElementCounts when the raw HTML has
Titlea page title, or a product name in Product JSON-LD
Pricea price in a JSON-LD Offer, a currency next to an amount in the page text, or an element with a price class
Descriptiona meta description, a description in Product JSON-LD, or more than 80 words of text

JSON-LD is the script block of structured data, in the schema.org vocabulary, that most store platforms embed in product pages. It is read without running JavaScript, so it counts here.

The check also looks at where a product URL lands. A product URL that redirects to a sign-in, account or password page, or that answers with a password form and no product content, is not a product page.

On a site that sells nothing, there are no product pages to sample, so the check reads the home page instead. It fails when the home page is an empty shell: it loads a script, and its HTML has fewer than 3 links and fewer than 50 words outside scripts.

Why it matters for AI agents

A modern site can be a JavaScript application that sends a nearly empty HTML document, often called an app shell, and builds the page in the browser. Who sees that page depends on who runs the script:

ClientRuns JavaScript?
Googlebot (Google Search, AI Overviews, Gemini)Yes, as a separate, deferred rendering step
The crawlers and fetchers behind ChatGPT, Claude and PerplexityNo, according to the Vercel and MERJ study of AI crawler traffic. They download script files but do not run them
Browser agents, such as an assistant that operates a real browserYes, but they are slow, and they usually reach a page only after search has found it

Google recommends server-side rendering, where the server builds the full HTML before sending it, or prerendering, where the HTML is built ahead of time. For most AI answer engines, an app shell has no product and no content at all.

The scanner judges the result, not the technology. A JavaScript framework that renders on the server, such as Next.js, Nuxt or SvelteKit with server rendering, passes. Only content that exists nowhere but in the browser costs the level.

A page behind a login is worse. Google Merchant Center's landing page requirements state that a product's landing page must not require registration or sign-in. Shopify's storefront password page, used while a store is being built, also makes a store ineligible for its agentic storefronts. An agent sent to such a page cannot see the product, let alone buy it.

This check carries weight 3, the blocking tier. It is a gate for Level 1 (Reachable). A site needs a pass here to reach any level above 0, and a fail or warn caps its scores: Visible to AI at most 40, Shoppable by AI at most 30. The report then names Level 0 "Not readable". Most other product checks, from Product JSON-LD to price and availability markup, read the same raw HTML.

How the scanner decides

  • Pass: every sampled product page that answered carries a title, a price and a description.
  • Warn: some, but not all, of those pages carry all three.
  • Fail: none of them carries all three. This is what an empty app shell looks like.
  • Fail: any sampled product URL lands on a sign-in or password page. A product page that merely links to the account area, or shows a login box in its header next to the product, is still a product page.
  • Home page of a site that sells nothing: fail when it is an empty shell, pass otherwise.
  • Skip: a store where no product page was sampled, or where none of the sampled pages could be fetched. When product discovery stopped early on a rate limit or server error, the skip says "not evaluated". A store at Level 0 for this reason is shown as "No product page found", not "Not readable".

A sampled page that could not be fetched, for example because it answered an error, is named in the report and never scored as empty. The verdict is based on the pages that answered.

The check proves that the content is present. It does not prove the content is correct or complete. Checks such as markup matches the visible page look at that.

How to fix it

WordPress and WooCommerce

  • WooCommerce renders product pages on the server with PHP, so a standard theme passes. Failures usually come from a JavaScript-heavy page builder, a headless front end or a plugin that loads prices with Ajax.
  • If prices load through Ajax for caching or currency switching, render a default price in the HTML and let the script update it.
  • Remove any site-wide "coming soon", maintenance or members-only mode before you go live. These send product URLs to a login or placeholder page.

Shopify

  • Online Store themes render products with Liquid on the server, so they pass by default.
  • If your store still shows the storefront password page, remove it under Online Store, Preferences once you are ready to sell. Until then, every product URL lands on the password page and this check fails.
  • Hydrogen and other headless storefronts must render product routes on the server. Hydrogen does this by default. Check that custom routes do not fetch product data only in the browser.
  • Apps that inject prices or descriptions with JavaScript can leave the raw HTML incomplete. Keep the core product fields in the theme's Liquid.

Any other stack

  • Use server-side rendering or static prerendering for product routes. Frameworks such as Next.js, Nuxt and SvelteKit support both.
  • Render at least the product name, the price with currency, the availability and the description into the initial HTML.
  • Embed Product JSON-LD in the server response, not with a tag manager that injects it later.
  • If product pages require a login, for example for trade customers, publish a public version with list prices for the products you want agents to find.

Verify it yourself

Fetch a product page without JavaScript and look for a JSON-LD price and the JSON-LD block itself:

curl -sL https://example.com/products/example | grep -o '"price": *"\{0,1\}[0-9.,]*' | head -n 3
curl -sL https://example.com/products/example | grep -o 'application/ld+json' | wc -l

Better still, search for the exact product name and price you see in your browser: curl -sL URL | grep -c 'Stoneware Mug'. A count of 0 means a crawler does not see it. Google's URL Inspection tool in Search Console shows both the raw and the rendered HTML.

Common mistakes

  • Client-side rendering only. The page looks perfect in a browser and is empty to curl.
  • Price loaded after the page. A placeholder or spinner where the price should be leaves the price out of the HTML.
  • A forgotten password page. While the Shopify password page is on, every crawler and agent that follows a product link meets a password form.
  • Bot-specific responses. Serving crawlers a separate, stripped version is hard to keep in step with what shoppers see. Server-render the same page for everyone.

FAQ

Can AI crawlers read JavaScript-rendered content?

Google renders JavaScript as a separate step and recommends server-side rendering. The crawlers and fetchers behind ChatGPT, Claude and Perplexity did not run JavaScript in the Vercel and MERJ study, so content added only by scripts is invisible to them.

Is a single-page app penalised for its architecture?

No. The check looks at what the server sends, not at the framework. A single-page app that renders its pages on the server or prerenders them passes. One that sends an empty shell fails, because most AI answer engines then see nothing.

Does a Shopify password page block AI agents?

Yes. While it is on, every product URL answers with the password page instead of the product. This check fails, and Shopify states that a password-protected store is not eligible for its agentic storefronts.

Does structured data count if the visible text is rendered by JavaScript?

For this check, yes: a product name, price and description in server-rendered JSON-LD count. Shoppers and other checks still expect the same information as visible text, so render both.

What is an app shell?

It is a minimal HTML document that loads a JavaScript application, which then builds the page in the browser. Without running the script, a client sees little more than an empty container.

The fix in one step

Render product title, price and description into the HTML on the server. An app shell that fills in content with JavaScript is empty to most agents.

Prompt for a coding agent

A scan found sampled product pages whose raw HTML lacks the product title, price or description, or product URLs that land on a sign-in or password page. Make product pages server-render the title, the price with currency, the availability and the description into the initial HTML response. If the storefront is a JavaScript application, add server-side rendering or static prerendering for product routes. Embed Product JSON-LD in the server response, not through a tag manager. Remove any coming-soon, maintenance, members-only or storefront password mode that sends product URLs to a login page. Verify with `curl -sL <product URL>` that the product name and price appear in the output without running JavaScript.

Guides on this topic

Sources and specifications

See how your store does

One scan runs every check in this knowledge base against your site and ends with a prioritised fix list.

Scan a store