E-commerce

What do AI models actually see after executing JavaScript?

What do AI models actually see after executing JavaScript?

August 27, 2026

Are you wondering why your store seems invisible to ChatGPT or Perplexity even though it is well-positioned on Google? The stakes are high: large language models (LLMs) like GPTBot or ClaudeBot cannot execute JavaScript. If your prices, sales pitches, or buy buttons are dynamically generated in the browser, they remain invisible to artificial intelligence, even if a human visitor sees them perfectly.

This realization is a game-changer for any Shopify merchant or e-commerce retailer. Without a rigorous technical check, you risk losing visibility in the generative search responses that are becoming major acquisition channels. It is imperative to audit what these bots actually see outside of server-side execution.

So how do you test and optimize the display of your pages for LLMs? On the agenda:

  • How to verify if Google’s indexing engine executes your JavaScript before trusting the results?

  • Why the lack of content in the raw HTML prevents LLMs from citing your products online?

  • What tools to use to compare the static rendering and the JavaScript version of your site?

  • How to adapt a React or Next.js architecture to guarantee readability by AI?

  • What is the difference between what Googlebot sees and what artificial intelligence bots see?

  • How to audit your Schema.org tags so that they can be used by conversational commerce bots?

Let's get started.

Summary

Why doesn't AI see your site like a human?

The AI Visibility Paradox

Confusion often reigns between what is displayed on the screen and what is indexed by artificial intelligences. When you browse a modern store, you see dynamic prices, customer reviews instantly appearing, and personalization options thanks to JavaScript.

However, when a bot like GPTBot or ClaudeBot visits your page, it only sees a raw HTML structure. These tools do not execute the complex JS code that populates the page. If your vital information is hidden in React or Angular components that load after the initial rendering, they remain invisible to the AI.

This means a page can look perfect to a human customer but appear totally empty of relevant data to a language model. Without this transparency, you risk having your products ignored in AI-generated recommendations, creating a major loss of organic traffic.

Convert over 2,000 customers on average per month with Qstomy.

The world’s 1st Shopify AI dedicated to customer conversion

Empowering 200+ e-commerce merchants

How do you test the raw HTML extraction?

The importance of a pure HTTP simulation

To understand what LLMs actually perceive, you need to simulate their behavior by performing a standard HTTP request without script execution. This is exactly what a JS rendering tester specializing in AI SEO auditing allows you to do.

By pasting the URL of a product page, the system retrieves the source code as it is sent by the server before any client-side processing. It then analyzes the structure to identify keywords, prices, and structured data tags.

This approach immediately reveals whether your key elements, like an "Add to Cart" button or a customer review, are present in the initial source code. If the result shows a complete absence of essential information, it means your page relies entirely on JavaScript rendering and is blind to generative search engines.

What is the difference between Googlebot and LLMs?

The Divergence of Processing Capabilities

It is crucial to note that Googlebot started executing JavaScript to better understand the content of certain pages, particularly SPA (Single Page Application) sites. This often allows a modern Shopify site to be correctly indexed on Google.

On the other hand, most training language models like GPT-4 or Claude do not execute JavaScript in this manner during their real-time crawls. They rely strictly on the static HTML provided by the server to build their knowledge base.

This distinction explains why a product can rank very well in Google results but be completely absent from ChatGPT or Perplexity responses. Traditional SEO optimization is no longer enough; a strategy dedicated to readability by autonomous agents is required.

How to audit your Schema.org tags?

The audit of the product data structure

Artificial intelligence models use structured data to extract precise information and link it to their responses. This is why analyzing Schema.org tags is fundamental for your AI visibility.

By using a dedicated schema inspector, you can check which fields are missing or misconfigured in the static source code. Information such as price, availability (stock), and reviews must be readable without user interaction.

If your markup is generated only after the browser executes JavaScript, it will be ignored by the AI during the initial reading. Ensure that your product data is present in the raw HTML file to guarantee that chatbots can interpret them correctly and recommend your products.

Why is your price invisible to robots?

The trap of dynamic client-side rendering

A frequent case of non-visibility concerns prices that are dynamically injected into the DOM after the initial page load. For a user connected via a fast network, everything seems to work perfectly.

But for a bot that does not wait for the complete execution of the JS script, this information simply does not exist at the time of analysis. If your price is hidden in a generic tag or calculated by a JavaScript function without being present in the initial source code, the AI will never be able to retrieve it.

This lack of technical information can lead to errors where your product is quoted with an incorrect price or ignored entirely. It is imperative that prices are integrated directly into the static HTML structure for maximum readability.

How to audit your robots.txt file?

Access Control for AI Bots

Auditing your robots.txt file is the first step to ensure that indexation engines are not blocked. However, a configuration specific to traditional engines is no longer enough.

Today, there are tools to check if your robots.txt file specifically blocks new AI agents like GPTBot or PerplexityBot. These bots often require explicit permissions to access your training and real-time response data.

If you want your products to appear in the responses generated by these tools, you must ensure that your directive file grants them full access to the relevant pages. A misconfiguration here can lead to a complete exclusion of your content from the artificial intelligence ecosystem.

What is the role of the llms.txt file?

Optimize visibility with dedicated specifications

The llms.txt file is a new emerging standard that allows website owners to precisely define how their data should be consumed by language models. It is the equivalent of a style guide for AIs.

By generating this file, you tell agents which content has priority, which pages should not be indexed, and how to structure information for better understanding by LLMs. This allows for granular control over how your products are presented in automated responses.

Using this file has become essential for merchants wishing to control their digital reputation in generative environments. It ensures that your marketing messages and product specifications are interpreted correctly without ambiguity.

How to analyze the quality of product descriptions?

Preparing Content for AI Answers

It is no longer enough to have descriptive text that appeals to humans. To be cited by an AI, your product copy must be logically structured and contain relevant semantic terms.

Description analysis tools can verify if your text contains enough contextual information for the AI to summarize it and present it as a useful answer. This includes clarity, the accuracy of technical specifications, and highlighting customer benefits.

Poor writing can lead to inaccurate or incomplete answers generated by AI, which can hurt conversion. Content optimization must therefore extend to its formatability for natural language algorithms.

What are the implications for Shopify and headless?

Adapting the technical architecture to the new reality

The shift towards a headless architecture with React or Next.js frontends offers great flexibility but presents a major challenge: client-side rendering can hide content from non-browser bots.

Developers must ensure that product pages are rendered on the server side (SSR) to guarantee that the initial HTML contains all the necessary data. This involves reviewing the configuration of platforms like Shopify Storefront API to include critical elements in the static response flow.

Technical teams must now integrate JS rendering verification tests before each deployment to ensure that new features do not introduce visibility issues for artificial intelligence.

Why are some pages invisible to chatbots?

Diagnosing missing pages in responses

If your store does not appear in ChatGPT or Perplexity suggestions, it is often a sign that the engine is unable to extract structured data from the source page.

This can be due to a complete absence of Schema.org markup in the raw HTML, or a content structure that is too complex and requires user interaction to reveal key information. In these cases, the AI sees nothing but an empty shell.

Using a rendering simulator helps to identify precisely which sections are critical and why they fail to be detected. This guides the necessary fixes to align your site with AI readability standards.

How does Qstomy help secure your product data?

The e-commerce assistant for management and conversion

Qstomy is designed as an indispensable Shopify AI agent to guide merchants in optimizing their store. Beyond technical verification, Qstomy assists sellers on crucial matters such as parcel return management and real-time order tracking.

The agent helps secure the return policy to reassure the buyer before purchase. It allows for optimizing the customer journey by offering smart upsells and cross-sells, thereby increasing the average cart value without heavy manual intervention.

In case of an issue, Qstomy takes over for after-sales service, ensuring an immediate response. This comprehensive approach guarantees that your site is not only visible to AIs, but also converts effectively thanks to directly integrated, optimized management features.

What is the checklist before validating your AI indexing?

The Final Validation Protocol

Before considering your site optimized for AIs, complete this essential checklist. First, verify that prices and CTAs are present in the initial source code without JS execution.

Next, ensure that the robots.txt file explicitly allows the main bots (GPTBot, ClaudeBot). Then, confirm the complete presence of Schema.org data for each key product page.

Finally, generate your llms.txt file to define your query preferences. Rigorous validation of these points ensures your content will be perfectly utilized by generative answer engines and will provide you with increased visibility.

To go further: Use case of an e-commerce chatbot on Shopify: helping before and after purchase - Qstomy, Product seen in a short video: helping the customer find the exact item and verify what is shown - Qstomy, Training an e-commerce chatbot with Shopify: using the right data without creating bad responses - Qstomy, AI chatbot for gift with purchase: verifying eligibility and conditions - Qstomy, How to use an AI chatbot for product recalls: informing without panicking customers? - Qstomy, Customer reviews in the buying journey: reassuring at the right time without overwhelming the decision - Qstomy, E-commerce SEO strategy for category pages - Qstomy.

Enzo

August 27, 2026

Convert over 2,000 customers on average per month with Qstomy.

The world’s 1st Shopify AI dedicated to customer conversion

Empowering 200+ e-commerce merchants

Subscribe to the newsletter and get a personalized e-book!

No-code solution, no technical knowledge required. AI trained on your e-shop and non-intrusive.

*Unsubscribe at any time. We do not send spam.

Subscribe to the newsletter and get a personalized e-book!

No-code solution, no technical knowledge required. AI trained on your e-shop and non-intrusive.

*Unsubscribe at any time. We do not send spam.