A website can work flawlessly for humans – fast navigation, clean categories, everything clickable – and yet half of it may not exist at all for ChatGPT, Claude and Perplexity. The reason is unspectacular: links that are only created in the browser via JavaScript are not in the server’s HTML response. And that is all that most AI crawlers read.
How big this gap really is was measured by SEO engineer Vinicius Stanula (LOCOMOTIVE) in a 41-day field experiment, published on 19 August 2026 on Search Engine Land. The figures are clear – and they affect considerably more websites than you might assume at first glance.
1. The 41-day test: set-up and result
The set-up was deliberately simple. A test website with around 1,000 pages was divided into 21 main categories. Eleven categories were linked in the classic way: normal <a href> elements, visible in the source code. The other ten categories only received their links afterwards via JavaScript – fully functional in the browser, but not present in the first server response.
Over 41 days, the server log recorded 30,180 requests from 27 different crawlers. The question was simple: who finds which half of the website?
The result divides the crawler world into two camps. Every page linked via HTML was discovered by at least one bot. Of the pages reachable only via JavaScript, the AI crawlers – GPTBot (OpenAI), ClaudeBot (Anthropic), PerplexityBot, plus Bingbot, Meta’s crawler and Amazonbot – found practically nothing. Only Googlebot and GoogleOther followed the JavaScript links, and even there coverage collapsed with increasing depth.
Source: 41-day experiment by Vinicius Stanula, Search Engine Land, August 2026. Googlebot range depending on the level in the page hierarchy.
2. Why AI crawlers do not execute JavaScript
A crawler always starts the same way: it sends an HTTP request and receives an HTML response. What it does with it is what distinguishes the bots. Googlebot passes the page on to a rendering infrastructure that emulates the browser, executes scripts and only then collects links. This is expensive – Google has been affording it for years, but only with a delay and a limited budget.
According to the test’s observations, the AI crawlers do not do this. They read the raw HTML, extract text and links and move on. A link that is only created by document.createElement or framework routing does not appear in this response. For the bot, the page is then a dead end: it sees the home page, but sees no route to the subpages.
The decisive point: whether a page is publicly accessible and whether a crawler can discover it are two different things. A product page can work perfectly and still not exist for ChatGPT – because the path to it is only created in the browser.
3. Googlebot is not the yardstick for all bots
Many websites are considered “technically clean” because Search Console shows no errors and Google indexes the pages. The test shows why this finding can be deceptive: Google was the only provider that followed the JavaScript links at all. Most of these requests did not come from the main crawler, but from GoogleOther – a bot that retrieves pages but does not build the search index.
Even with rendering, Google’s coverage remained patchy: the deeper a page was in the hierarchy, the less often it was found. In the range of 42 to 67 per cent, a third to more than half of the content is missing in any case. A website that appears complete in Google may therefore simply be incomplete in ChatGPT, Perplexity, Copilot or Claude – and nobody notices, because no Search Console warns you there.
This fits with what Google itself says: there is nothing additional to do for generative answers in search; a page merely has to be indexed and eligible for a snippet. But that applies only to Google. Other AI systems bring their own crawlers – and they have different capabilities.
4. What happened after the switch to HTML links
The most exciting part of the experiment came after the 41 days. Stanula switched the JavaScript categories to normal HTML links – without changing anything else. Within 48 hours, GPTBot found 250 new pages, and Bingbot added 89. Google found no new pages, because it had already reached the content before.
This is the real proof: it was not due to a lack of interest on the part of the AI crawlers, not to robots.txt and not to the quality of the content. As soon as the path was in the HTML, it was used immediately. The pages were there all along – they just could not be found.
Why “retrofitting later” is more expensive: crawlers learn a website’s structure over weeks. If you start with JavaScript navigation today, you build up no history for the affected pages in the AI systems – and after the switch they first have to be found, read and classified again. The backlog can be made up, but it costs time that the competition does not lose.
5. Where SME websites are typically affected
The problem sounds like something for large corporate platforms with single-page apps. In fact, we regularly encounter it at small and medium-sized enterprises – usually without anyone having made a conscious decision in favour of it. Typical places:
Website builder and theme navigations. Some mega menus, off-canvas menus or “load more” buttons are built entirely by script. The source code then contains only an empty container. Product and category lists in shops. Filters, sorting and pagination often run via JavaScript – pages 2 to 20 of a category then do not exist for AI crawlers. Blog overviews with infinite scroll. Only the first posts are in the HTML, the rest is loaded later. Location and team pages. Map modules and carousels whose links are only created by the widget. Headless setups and React, Vue or Angular front ends without server-side rendering. Here the server often delivers only an empty shell and a script bundle.
The pattern is always the same: the home page is visible in the HTML, the actual offer pages hang on links that only exist in the browser. But these are exactly the pages an AI system would need to cite when a user asks about your product or service.
6. How to check your website in ten minutes
Step 1 – source code instead of view. Open an important page and press Ctrl+U (Mac: Cmd+Option+U). You now see what the server delivers – not what the browser makes of it. Use Ctrl+F to search for href= and check whether your main navigation, the categories and the links to the most important subpages appear there. If they are missing even though they are visible on the page, they are generated via JavaScript.
Step 2 – switch off JavaScript. Deactivate JavaScript in the browser’s developer tools (Chrome: Ctrl+Shift+P, “Disable JavaScript”) and reload the page. Whatever is still clickable now can be reached by AI crawlers. Whatever disappears cannot.
Step 3 – check depth. Repeat the test not only on the home page, but on a category page and a detail page. In the experiment, coverage fell further with each level. An accessible home page says nothing about the accessibility of the third level.
Step 4 – look in the server log. The final proof is in the access log: which bots retrieve which URLs? If GPTBot appears only on the home page and never on product pages, you have found the problem. How to identify AI crawlers in the log is explained in Recognising AI crawlers in the server log.
7. The solution: a crawlable base, JavaScript on top
The consequence of the test is not to banish JavaScript. Modern front ends bring real benefits for users. Rather, the rule is: every important page needs at least one normal HTML link in the first server response. Everything JavaScript adds afterwards – animations, filters, lazy loading – remains permitted as long as it is not the only route to the content.
Technically, there are three proven ways of doing this. Server-side rendering (SSR): the framework renders the page on the server, the browser receives finished HTML including links and then enriches it. Next.js, Nuxt and comparable tools offer this out of the box. Static site generation (SSG): the pages are generated once as HTML during deployment – ideal for blogs, service pages and catalogues that do not change every second. Progressive enhancement: the navigation is a classic HTML list, and JavaScript turns it into the mega menu. If the script fails, the list remains.
In addition, a well-maintained XML sitemap helps as a second path, as does an HTML sitemap page with links to all relevant areas. Neither replaces crawlable navigation, but both catch gaps. And: make sure that your CDN or firewall does not additionally lock out the crawlers you want – the second major visibility problem of this summer, which we described in Cloudflare’s new default rule for AI crawlers.
8. What this means for GEO and AI visibility
The discussion about Generative Engine Optimization is mostly about text formats, citability and authority. The test is a reminder of the stage before: an AI system can only cite what its crawler has found. The best answer structure is of no use if the page fails in the discovery phase. We have described this in principle elsewhere – GEO without technical SEO remains text work without effect – and the figures from this experiment are the clearest proof of it so far.
The result also reorders priorities. Many companies invest in an llms.txt, in schema markup or in FAQ blocks, while their product pages cannot be reached by GPTBot at all. The order must be reversed: first secure accessibility in the raw HTML, then optimise the content for citations. If you want to know where your own website stands today, you can start with the AI visibility score – crawlability is one of the criteria there.
And one more aspect: crawlability thus also becomes a deliberate decision. There are good reasons to keep certain content away from AI systems. The difference between an intended block and an accidental JavaScript dead end, however, is that you control the one – and do not even notice the other.
9. Conclusion: visibility starts in the source code
The 41-day experiment provides rare clarity: zero pages found by all AI crawlers, partial coverage by Google, and 250 new pages for GPTBot within two days as soon as the links were in the HTML. The problem is real, it is common, and it can be solved – usually without a redesign, often with a change to navigation or rendering.
For small and medium-sized enterprises, this means: check the source code, not the browser view. Do not take Googlebot as proof for all other bots. And make sure that every page with which you want to appear in AI answers has a perfectly ordinary HTML link.
Our assessment: the discovery gap caused by JavaScript links is currently one of the most underestimated causes of missing AI visibility – precisely because it does not show up in Google. If you close it, you win back visibility that could have been there long ago.
Read also: Recognising AI crawlers in the server log and llms.txt is hardly read – what counts instead. Or have your website checked directly: AI visibility & GEO at Grünberg.Digital.
10. FAQ: JavaScript links and AI crawlers
Why can AI crawlers not find pages that are linked via JavaScript?
GPTBot, ClaudeBot, PerplexityBot and most other AI crawlers only load the server’s HTML response and do not execute JavaScript. A link that is only written into the page by a script in the browser does not exist for these bots. They simply have no path they could follow – even if the page is perfectly accessible to humans.
But Googlebot can handle JavaScript – isn’t that enough?
No. In the 41-day test, Googlebot and GoogleOther did reach the pages linked via JavaScript, but only 42 to 67 per cent of them, depending on depth in the site structure. All other crawlers observed did not find a single one of these pages. If you take Googlebot as the yardstick for all bots, you overlook the gap at ChatGPT, Claude, Perplexity and Bing.
How do I check whether my website is affected?
View the source code of a page (Ctrl+U in the browser) or load the page with a tool such as curl. Look in it for the important internal links as normal a-href elements. If navigation, category or product links are missing from the source code and only appear in the rendered view, they are generated via JavaScript. In addition, the server log shows which bots actually retrieve which pages.
Do I have to remove JavaScript from my website?
No. What matters is a crawlable base: every important page needs at least one normal HTML link in the first server response. Server-side rendering, static generation or simply a classic HTML navigation provide this. JavaScript may then continue to enrich the page – it just must not be the only route to the content.