Render content without JavaScript for AI crawlers
Make sure the HTML your server returns already contains your main content: headings, product names, descriptions and prices. Use server-side rendering, static generation or pre-rendering instead of building the page only in the browser.
Why it matters
A browser downloads HTML, then runs JavaScript that may fetch data and draw the page. Google processes JavaScript sites in three phases (crawling, rendering, indexing) and can render many of them, but Google itself says that server-side or pre-rendering is still a great idea because not all bots can run JavaScript.
OpenAI, Anthropic and Perplexity do not document JavaScript rendering for their crawlers. The safe assumption is that an AI search bot reads the HTML your server sends and nothing more. If that HTML is an empty <div id="root"></div> plus script tags, there is no product to cite.
User-triggered fetchers such as ChatGPT-User and Claude-User fetch a page while a person waits for an answer. A page that needs several API calls before any text appears is the slowest and least reliable case for them.
We fetch your homepage and one product page without running JavaScript, extract the main text (navigation and boilerplate removed), and pass the check when either page has at least 200 characters of it.
How to fix it
See what a non-rendering crawler sees
Fetch a product page and search the raw HTML for its name and price. If they are missing, the content is rendered in the browser.
shellcurl -sL https://your-domain.com/products/linen-tote-bag | grep -i -c "linen tote bag" # 0 means the product name is not in the server HTMLRender on the server or at build time
Frameworks such as Next.js, Nuxt, SvelteKit and Remix support server-side rendering and static generation; enable it for home, category and product templates. Hosted platforms like Shopify and WooCommerce render theme templates on the server by default, so problems there usually come from apps or custom sections that inject content with JavaScript.
Put the essentials in the initial HTML
At minimum, the server response should include the page heading, product name, description, price and availability as text, plus the JSON-LD for the page. Reviews, recommendations and personalization can load later.
HTML<main> <h1>Linen tote bag</h1> <p class="price">$24.00</p> <p>Natural linen, 38 x 42 cm, inside pocket. Ships in 2 business days.</p> </main>Avoid hiding text behind interactions
Descriptions inside tabs or accordions are fine if the text is in the HTML and only hidden with CSS. Content fetched only when a tab is clicked is invisible to crawlers.
How to verify
Run the free check at citeto.com/check. The content without JavaScript item shows how many characters of main text we found without running scripts.
In your browser, open view-source for a product page (prefix the URL with
view-source:) and search for the product name and price. Or disable JavaScript in developer tools and reload.
Common pitfalls
Testing in a normal browser and concluding the page is fine. The browser runs JavaScript; crawlers that do not run scripts only see the raw HTML.
A server-rendered shell with only navigation and footer, while the product block is a client-side widget.
Showing a loading skeleton or cookie wall in the server HTML and the real content only after a script runs.
FAQ
Google can render JavaScript, but it recommends server-side or pre-rendering because it is faster for users and crawlers and because not all bots can run JavaScript.
Prefer one version for everyone. Serving bots different content than users is harder to maintain, and any mismatch between the two is a risk. Server-side rendering or static generation solves the problem for every visitor.
Our threshold is 200 characters of main text on the homepage or a product page, which is a floor, not a target. A product page should carry its full name, description, price and key specifications in the HTML.