
Many modern B2B websites are built with JavaScript frameworks like React, Vue or Angular. They look polished, load smoothly and give marketing teams flexibility. But there is a question many of those teams have never asked: when an AI crawler visits the site, what does it actually see?
For a lot of JavaScript-heavy sites, the honest answer is "much less than you think". Product descriptions, pricing tables, feature lists and even navigation links can be missing entirely from what an AI crawler reads. If the crawler cannot see your content, the AI tool cannot learn from it, cite it or recommend you based on it.
This article explains why this happens, how to check whether your site is affected and what to do about it.
When a browser loads a traditional website, the server sends a complete HTML page. All the text and links are in that first response.
Many JavaScript sites work differently. The server sends a mostly empty HTML shell along with JavaScript files. The browser then runs the JavaScript, which fetches data and builds the page on screen. This is called client-side rendering. For a human with a modern browser, the result looks the same. For a crawler that does not run JavaScript, the page is close to blank.
Googlebot has been able to render JavaScript for years. It fetches the page, queues it for rendering and then processes the content the JavaScript produces. Rendering can be delayed, and complex sites still run into problems, but Google generally sees client-side content eventually.
AI crawlers are a different story. Crawlers such as OpenAI's GPTBot, Anthropic's ClaudeBot and PerplexityBot have generally been observed fetching the raw HTML of a page without executing its JavaScript. Crawler behavior changes over time and each company publishes its own documentation, but the safe assumption today is that if your content only exists after JavaScript runs, many AI crawlers will not see it.
This creates a specific risk for B2B companies. Your site might rank well in Google, which renders it, while being nearly invisible to the AI tools your buyers increasingly use for research.
You may be affected if:
There are a few simple tests you can run without specialist tools.
View the page source. In your browser, right-click and choose "View page source" (not "Inspect"). This shows the raw HTML the server sends. Search for a sentence from your main content. If it is not there, it is being added by JavaScript.
Disable JavaScript. Use your browser's developer settings to turn off JavaScript and reload the page. What remains is roughly what a non-rendering crawler can read.
Fetch the page as a crawler. Using a command-line tool such as curl, request the page with an AI crawler's user agent string. Compare the returned HTML with what you see in the browser.
Check Google's view. The URL Inspection tool in Google Search Console shows the rendered HTML Googlebot sees. This tells you whether Google can read your content, which is useful for comparison but does not reflect AI crawlers.
Check your server logs. Logs show which crawlers visit your site, which pages they request and how often. If GPTBot or ClaudeBot visit your product pages but AI tools still describe you poorly, rendering is a likely cause.
The goal is simple: make sure the important content is in the HTML the server sends, before any JavaScript runs. There are several ways to get there.
With server-side rendering (SSR), the server runs the JavaScript and sends a complete HTML page. The browser then takes over for interactivity. Frameworks like Next.js, Nuxt and Angular Universal support SSR, so many teams can adopt it without rebuilding their site from scratch.
For pages that do not change often, such as product pages, solution pages and blog posts, static generation builds complete HTML files ahead of time. They load fast and are fully readable by every crawler.
If a full move to SSR is not practical, a prerendering service can generate HTML snapshots of your pages and serve them to crawlers. This is a workable stopgap, though it adds a layer to maintain and must be set up carefully so crawlers and users receive the same content.
Even on server-rendered sites, content hidden behind interactions can be missed. Make sure text inside tabs and accordions is present in the HTML when the page loads, even if it is visually collapsed. Avoid loading key information only when a user scrolls or clicks.
Navigation built with JavaScript click handlers instead of standard links can stop crawlers from discovering pages at all. Use normal anchor tags with real URLs for every important link.
You do not need to fix every page at once. Start with the pages that shape how AI tools describe you and that buyers ask about most: your homepage, main product and solution pages, pricing, integrations, comparison pages and key case studies. Once those are readable, work outward to the rest of the site.
Rendering problems often return quietly. A new component, a framework upgrade or a redesign can move content back into client-side JavaScript without anyone noticing. Add a crawler-view check to your release process, and monitor AI crawler activity in your logs over time.
Outsmart's technical SEO team checks what Googlebot, GPTBot and ClaudeBot actually see on your site, finds the content they miss and works with your developers to fix it at the source. Talk to an expert to find out whether AI can read your website.
Less so. Googlebot renders JavaScript, although rendering can be delayed and complex sites can still run into issues. Many AI crawlers have generally been observed reading only the raw HTML, which is why a site can rank in Google and still be poorly understood by AI tools.
Usually not. Frameworks such as Next.js and Nuxt support server-side rendering and static generation, so many sites can move key pages to these approaches without a full rebuild. Prerendering is another option.
It is if the text is in the HTML when the page loads, even when it is visually collapsed. It is not if the content is only loaded after a user clicks.
View the page source in your browser and search for a sentence from your main content. If it is missing from the source, it is being added by JavaScript, and some AI crawlers may not see it.