BLOG · ECOMMERCE · TECHNICAL SEO
How JavaScript Rendering Affects SEO and AI Search Visibility
Polymath Digital Team
·
21 OCT 2026
·
10 MIN READ
Having worked in SEO for years, I have seen this play out multiple times.
An ecommerce business gets complaints about slow-loading pages and missing features compared with competitors. They do internal research that confirms it; they share a redesign brief with a web development agency with a clear mandate: make the website look modern, speed up the product listing pages (PLPs) and product detail pages (PDPs), and add interactive features.
The web development agency delivers precisely that. The relaunched website feels modern, loads quickly, and comes with all the bells and whistles. The company is happy with the launch, as they finally get the website they wanted.
A few days later, things start going sideways. The sales team notices sales are down; the marketing team sees traffic is declining; someone opens Google Search Console and sees product and category pages have been crawled but not indexed, or are soft 404s.
We get a panic call from higher-ups: “Sales are down, the festive season is approaching, and we don’t know what is wrong. Can you look into it urgently and fix it?”
When we investigate, one of the issues we frequently encounter is that, in the race to make the website fast and interactive, companies make a cardinal mistake when choosing between client-side rendering and server-side rendering, commonly known as CSR and SSR. Basically, it is the difference between what the page delivers to a user and what is visible to AI and search engines.
The website can look perfect to a customer, but what is the use if they can never find it through search engines, or if it never gets cited by LLMs?
Let’s look at how rendering affects what search engines and AI systems can actually read, what we found when we checked a set of storefronts, and how to run the same check on your own.
What we found when we compared ecommerce storefronts
Ecommerce storefronts often combine several independently loaded components: product grids, filters, reviews, recommendations, pricing widgets, stock information, and personalised content. While this flexibility can improve the shopping experience, it also introduces dependencies that are easy to overlook during a redesign or app integration.
To investigate what these differences look like in practice, we looked at twelve well-known websites and compared the initial HTML with the content visible in the rendered page. We analyzed product information, headings, links, related products, and other elements that help search engines understand the page and discover other URLs. Most of the websites we checked delivered their core content in the initial HTML. The five cases discussed below showed differences worth investigating.
On Running: when the initial HTML is just an application shell
When we inspected On Running’s men’s road-running collection, the initial HTML was just 3,987 bytes. It contained no title, H1, or product links, and the Nuxt container was empty. The product listing appeared only after JavaScript ran. The browser was building the main shopping experience rather than receiving a populated product page in the initial response.
Vuori: headings added after rendering
Vuori’s joggers collection had a more telling gap. The initial HTML included the page title, canonical and H1, but just one product link, leading to a gift card. The joggers themselves were not represented in the product links we found in the initial response. After JavaScript ran, the heading structure also changed substantially: H2s increased from six to 16, and H3s from none to eight. The more consequential finding is not the change in heading counts: it is that the initial HTML did not link to the products the collection was meant to showcase.
Nour Hammour: when the product page changes after rendering
On a Nour Hammour product page, the captured views showed a difference around the “Curated Selection” product area. One view displayed related-product cards; another showed skeleton placeholders in their place.
Skeleton placeholders are often used while a page fetches data or waits for a component to finish loading. They do not automatically mean the content is missing from the HTML, nor do they prove that Google sees the same incomplete state. The difference could be related to loading timing, the state of the component, or how the page was captured.
Related products help shoppers discover alternatives and complementary products, and they can create internal links between product pages. If those links are not present in the initial HTML or added during rendering it can lead to them never being discovered on the website.
Who Gives A Crap: what the product page already serves
Who Gives A Crap is a useful counterexample. The rendered page had more headings than the initial HTML: H2s increased from nine to 17, and H3s from 12 to 21. The initial HTML already contained the product’s prices, FAQ questions and ProductGroup structured data, including a 4.9 rating from 64,616 reviews and an AggregateOffer ranging from AUD 42.50 to AUD 69.50. The page changed after JavaScript ran, but the key product information was already available in the server response. A larger rendered DOM does not automatically mean important content was missing from the HTML.
Headings added by JavaScript are not automatically an SEO problem, and some headings may belong to interface elements rather than the main content. What matters is what those elements represent and whether the content is available in the version search engines process.
Rendering impact on content libraries
Rendering issues are not limited to PDPs and PLPs. Ecommerce and proffessional websites such as those for healthcare, law firms, accounting firms hold a large amount of varied content in the form of blogs, articles, webinars, podcasts, e-books, whitepapers and brochures. To efficiently manage them they often deploy filters, search boxes, article cards, pagination, and dynamically loaded results.
In one content-library investigation, the comparison highlighted headings and resource-card elements that appeared in the rendered page but were missing from the initial response. This is important as article titles and their links are part of how a site exposes its content and connects related resources.
For such pages, you need to inspect the actual markup and determine how the content is loaded. Are the links inserted automatically when the page loads? Are results fetched only after a filter is used? Does pagination expose crawlable URLs? Or is the comparison picking up interface elements that have little SEO significance?
A resource library may not be a product catalogue, but the underlying discovery problem is similar. If important links are not exposed in a way crawlers can follow, deeper pages may become harder to discover.
Why rendering matters for SEO and GEO
If you’ve worked on a website rebuild, you’ve probably heard developers talk about CSR, SSR, or other rendering approaches. These determine when and where a page’s HTML is generated, and when its content becomes available.
Crawling is when Googlebot requests a URL and retrieves its response. The initial HTML can already contain the page’s content, metadata, and links.
Rendering is when Google processes the page and executes JavaScript to generate the content it needs to understand. Indexing is the subsequent process of analysing the available content and deciding what, if anything, to store in the index. Being crawled or rendered does not guarantee that a URL or its content will be indexed.
Google explains these stages in its JavaScript SEO basics documentation.
| Approach | How it works | What to consider |
|---|---|---|
| Client-side rendering (CSR) | The browser uses JavaScript to build or populate much of the page. | Important content may depend on JavaScript loading and executing correctly. |
| Server-side rendering (SSR) | The server generates HTML when a page is requested. | Core content can be available in the initial HTML; caching and server performance still matter. |
| Static site generation (SSG) | HTML is generated ahead of time, usually during a build. | Pages can be served quickly, but product information and other changing content must be kept up to date. |
| Incremental static regeneration (ISR) | Generated pages are refreshed or regenerated under defined conditions. | Check that updates to prices, stock and product details reach the page when expected. |
These approaches can also work together. An ecommerce site might use SSR for product pages, SSG for editorial content, and JavaScript for filters, menus, and cart interactions. There isn’t one rendering approach that every ecommerce store can use.
What does a search engine see?
Open a product page in your browser, and you might see the product name, price, description, images, and related products. But not all of that necessarily has to be present in the HTML the server delivers initially. Some of it may be added later by JavaScript.
The following checks help separate what the server delivered, what the browser built, and what Google could process.
| Check | What it tells you | What it doesn’t tell you |
|---|---|---|
| Initial HTML | What the server sent before browser-side JavaScript changed the page | Everything Google may see after rendering |
| Rendered DOM | What the browser has built after scripts run | Exactly what a search crawler received |
| Google’s live URL test | What Google can retrieve and render during that test | Whether the page will be indexed or rank well |
| Search Console performance and indexing data | What Google reports about the page’s indexing and organic search performance | Whether a rendering difference caused a traffic decline |
When hydration causes problems
Hydration is meant to attach JavaScript behaviour to HTML that has already been rendered by the server. Problems arise when the first render in the browser produces different content from the HTML the server sent. React expects the two to match; if they do not, it can report a hydration error and regenerate the affected content on the client. In some cases, that means the original server-rendered HTML is discarded rather than reused.
Consider a product page that renders a price and availability on the server, but whose client-side code reads a different value from browser storage or fetches updated product data before hydration completes. If the initial browser render no longer matches the server HTML, React may have to rebuild that part of the page. The customer might see content change after the page first appears, while the application incurs additional rendering work. React also warns that mismatches can leave some attributes uncorrected or cause event handlers to attach incorrectly.
Why ecommerce sites need to pay attention
Why ecommerce sites need to pay attention
Rendering issues can keep product pages out of search results, costing ecommerce stores organic traffic and potential sales. A product page may work perfectly when a user is visiting directly, yet its content or links may not be available to search systems trying to find and understand it.
A 2021 Search Engine Journal case study found that a Shopify store using Fast Simon had JavaScript rendering, faceted navigation, and pagination issues alongside declining organic visibility. After introducing prerendering and fixing crawl issues, the team reported improved first-page rankings.
The impact can spread across an entire catalogue when the fault sits in a shared template. One technical SEO case study reported that a retailer recovered 1.8 million product pages in Google’s index after fixing a rendering issue, alongside a recovery in organic traffic. A single technical fault can therefore affect thousands of product URLs, limiting how customers find and reach those products through organic search.
JavaScript framework is only part of the decision
Modern frameworks do not force a site to use one rendering method everywhere. In Next.js, for example, product and category pages can be pre-rendered and cached, while interactive elements run on the client. Pages that depend on request-specific data can be rendered on demand. Nuxt also supports different rendering modes, including hybrid approaches. Next.js production guidance and the Nuxt rendering documentation describe these options.
For ecommerce, the decision is partly about how often the underlying data changes. A product description or category introduction may be suitable for pre-rendering, while stock availability, personalisation and cart interactions may need more dynamic handling. The challenge is keeping those parts consistent when product data changes, pages are cached, or components load separately.
That is why a framework migration should not begin with the assumption that moving to Next.js or Nuxt will fix SEO. First establish which page types need fresh data, which can be pre-rendered, what needs to remain interactive, and how changes reach the rendered output. Then test representative templates before rolling the approach across the catalogue.
Can AI crawlers execute JavaScript?
Google’s ability to render JavaScript does not mean that every AI crawler or retrieval system behaves in the same way. Different crawlers have different capabilities, access rules, and retrieval pipelines. Some LLMs may retrieve a page’s HTML without executing its JavaScript, while others may use browser-based rendering or receive content through a separate retrieval system.
In Vercel and MERJ’s December 2024 analysis, major AI crawlers did not execute JavaScript. Some of them did download JavaScript files, but downloading a script is not the same as running it to build a page. They worked with the information available in the initial HTML. Their behaviour also differed from Google’s and Apple’s rendering systems. As LLMs become more advanced, they may render JavaScript directly, but it is important to understand their current capabilities.
For an ecommerce site, it is important to identify which bots matter to the business and inspect their documented behaviour. Then check the relevant access controls:
Does robots.txt allow the crawler to fetch the page and the resources it needs?
Does the server return the intended content to the crawler’s user agent?
Are important product descriptions, category text, and internal links available in the HTML the crawler retrieves?
Whether access restrictions, bot protections, or API dependencies preventing content from being returned?
How to check whether your website has a rendering problem
A rendering investigation is worth prioritising when:
Organic visibility declines after a migration, redesign, or significant frontend change.
Product or category URLs drop out of the index, or indexing patterns change unexpectedly.
Important content or internal links appear only after JavaScript runs.
Google’s rendered HTML differs materially from the page reviewed before launch.
A new search, filtering, reviews, or merchandising integration changes how content is delivered.
These signals do not prove that a rendering problem caused an organic decline. The goal is to connect a specific technical difference to affected URLs and compare it with the timing of the change in Search Console.
Step 1: Inspect the initial HTML response
Open the page in Chrome, go to DevTools, and select the Network panel. Reload the page, select the main document request, and inspect its Response tab.
Search for the page’s main heading, an exact sentence from the product description, the product URL, canonical tag, robots directives, and structured data where relevant.
For product and category pages, also look for internal links to products or subcategories. A link should normally be an anchor element with a meaningful href attribute, not just a button with a JavaScript event handler.
The initial response is the baseline. It tells you what the server sent before client-side scripts changed the document.
Step 2: Compare it with the live DOM
After the page has loaded, inspect the same elements in Chrome’s Elements panel. Search for the same product name, description, heading, or link.
If the text is absent from the initial response but present in the live DOM, JavaScript has added it or changed how it is represented. That may be perfectly fine for Google if the content renders reliably.
If it only appears after you click a tab, open a filter, press “Load more,” or trigger another interaction, investigate further. The content may be loaded on demand rather than as part of the normal page-rendering process.
Use the Network panel’s Fetch/XHR filter to see whether an additional request occurs when the interaction happens. This can help establish whether the content was already available in the page data or depends on a later request.
Remember that a collapsed accordion is not necessarily a problem. Its text may already be present in the HTML or DOM even though it is not visible on screen.
Step 3: Check what Google renders
If you have access to the relevant Search Console property, use URL Inspection and run Test live URL. When the test completes, open the tested page and review the HTML, screenshot, and additional information.
Search the rendered HTML for the same content and destination URLs you checked in the initial response. Look at the screenshot for obvious gaps, but do not rely on the screenshot alone: use the HTML to verify whether the text and links are present.
Review the additional information for JavaScript errors, blocked resources, or failed requests that could explain a missing component. Where appropriate, compare it with the indexed result as well. Google’s JavaScript troubleshooting guide explains the relevant checks.
For a public page you do not control, Google’s Rich Results Test can provide a view of rendered HTML. It is primarily a structured-data testing tool, however, and should not be treated as a general verdict on indexability.
From diagnosis to fix: what the evidence tells you
Once you’ve compared the initial HTML, live DOM, and Google’s rendered output, use the findings to decide what needs attention. Start with the affected component or template; change the rendering approach only if the evidence justifies it.
| Finding | What to check or fix |
|---|---|
| Important content is missing from Google’s rendered HTML | Check failed scripts, blocked resources, API requests, and rendering errors. If the content depends on a user interaction, change the delivery so it is available without requiring a click. |
| Content renders, but product or category links are not crawlable | Use standard links with meaningful href destinations. Check pagination and “Load more” behaviour so deeper products can be discovered without relying on a crawler to click a button. |
| The content is present, but metadata or structured data is wrong | Fix the template or configuration that generates the title, canonical, robots directives, or Product structured data. Validate the final output rather than relying on what appears visually. |
| The initial HTML is sparse, but Google renders the important content correctly | Don’t change the architecture just because the HTML differs. Check indexing, URL-level performance, and whether the implementation is reliable. The difference alone is not proof of an SEO problem. |
| The same defect appears across a page type | Test several URLs that use the template, then fix the shared component or configuration before rolling out the change across the catalogue. |
When is a rendering change justified?
If important product or category content cannot be delivered reliably through the current client-side implementation, server-side rendering or static generation may be a better fit for that page type. A hybrid architecture can deliver core content in the initial HTML while leaving filters, cart interactions, and other dynamic features client-side. You do not necessarily need to rebuild the whole storefront.
When should you consider replatforming?
Only when the current platform’s constraints prevent you from meeting the requirements. Replatforming brings additional risks, including URL changes, redirects, altered internal links, metadata loss, and new rendering defects. A new platform does not automatically solve the original problem.
If the cause remains unclear, a technical SEO audit can help isolate it. If a platform change is under consideration, assess the SEO migration risks before committing to it.
The takeaway: test the page, not just the design
The storefronts we examined reinforce a distinction: what a customer sees in a browser, what the initial HTML delivers, and what a crawler can discover are related, but they are not the same thing.
If you’ve recently redesigned or migrated your ecommerce site, or added a new app or frontend integration, check the rendered output before assuming everything is working as intended. Polymath Digital can help investigate rendering, crawling and indexing issues and recommend the right fix.
Contact us to discuss a rendering or technical SEO issue on your site.
Want us to check yours?
If your storefront has been redesigned, migrated or replatformed and you aren’t certain what search engines and AI crawlers actually receive, we’ll take a page and compare the three views: the initial HTML response, the rendered DOM, and what Google reports back. And we’ll tell you what is in the served response, what only arrives after rendering, and whether the difference is worth acting on.
Get a free Snapshot




