Skip to content

Server-side rendering: whether an AI can read your page at all

Server-Side Rendering: Can AI Read Your Page?

What it is

When a browser loads your page, the content can arrive two ways. Either the server sends finished HTML with the product name, price, and description already in it, or it sends a near-empty shell and lets JavaScript build the page in the browser afterward. A person sees the same result either way. An AI assistant or a simple crawler may not run the JavaScript, so for the second kind it can see the empty shell and nothing else.

How common it is

About seven in ten audited stores (72%) serve server-rendered pages. The audit checks whether the page’s H1 heading is present in the raw HTML the server sends, before any script runs. If it is, the page is server-rendered and likely readable. If the heading only appears after JavaScript executes, the page is client-rendered, and the audit flags it as a risk, because the content depends on a step many machines skip.

Why it costs you

AI assistants are becoming a place shoppers start, asking for a recommendation instead of scrolling search. To put your product on its shortlist, the assistant has to read your page, and many of these systems fetch the raw HTML and may not run your scripts. If your price, title, and description only exist after JavaScript runs, the assistant comes up empty and moves to a competitor whose page it can actually read. You are not outranked, you are unreadable, which is worse, because you never enter the comparison at all.

What good looks like

The content that matters for being found, the product name, price, availability, and a real description, should sit in the HTML the server returns, not be assembled later in the browser. Most modern frameworks can do this through server-side rendering or pre-rendering, which send a complete page first and let scripts build on it after. The test is plain: if the important text survives with JavaScript turned off, it is there for an AI to read.

Check it in 30 seconds

Open a product page, right-click, and choose View Page Source, the raw HTML before scripts run. Search it for your product name and price, and check they appear as page text, not only inside a script tag. If the source is a near-empty shell, or the details live only in scripts, an AI may never see them.

Read next: Ecommerce AI Search: Get Your Products Recommended

Run the free audit to see whether your product pages are readable before any script runs.