AI Search Trends

Do AI Crawlers Follow JavaScript Links? A 41-Day Server Log Test

Genmark AI Team11 min readPublished August 24, 2026Updated November 22, 2026
AI SearchGEOAEOAI CrawlersTechnical SEOSite ReadinessJavaScript SEOrobots.txt

Mostly not. In a 41-day server-log test published by Search Engine Land on August 19, 2026, SEO practitioner Vinicius Stanula found that GPTBot, ClaudeBot, PerplexityBot, Meta-ExternalAgent and Amazonbot discovered none of 293 pages reachable only through JavaScript-injected links. Google's crawlers found some of them. Once the links became plain HTML, GPTBot crawled 250 of those pages within about two days.

The test and its data are Stanula's. The interpretation, the context from other studies and the checklist below are our analysis. The test is a sample of one site, but it is logged evidence in a topic that usually runs on assertion, and the fix it points to is cheap. For the full set of access checks, see our technical AEO audit.

Primary source: Vinicius Stanula, "JavaScript links can make your pages invisible to AI search," Search Engine Land (August 19, 2026)


How was the 41-day test set up?

Stanula ran the test on a Portuguese-language business directory in Brazil of roughly 2,400 pages, on a fresh domain with no external links to the pages under test.

He split 21 top-level sections into two groups:

  • 11 sections with hard-coded HTML links, with 748 pages in the deeper hierarchy.
  • 10 sections with JavaScript-injected links, with 293 comparable pages.

He then removed every other way in. Sitemap URLs returned 404, and breadcrumbs and hierarchy panels were stripped, so the only route into the JavaScript sections was to execute the script and follow the injected links. Bot requests were logged by user agent for 27 days, then for 14 more days after every link was converted to plain HTML.

That design matters. The test does not ask whether crawlers can find JavaScript-linked pages when five other routes exist. It isolates one question: will a crawler execute JavaScript to discover a link?


Which crawlers found the JavaScript-linked pages?

Over the 27-day test phase:

Crawler JavaScript-linked pages found (of 293)
GPTBot (OpenAI) 0
ClaudeBot (Anthropic) 0
PerplexityBot 0
Meta-ExternalAgent 0
Amazonbot 0
GoogleOther 48%
Googlebot about 2% (7 pages)

Five AI crawlers found nothing. Google was the exception: its crawlers executed the JavaScript, but GoogleOther, which Google says is not the crawler behind what appears in Search, did most of that work. Googlebot itself reached only about 2% of the JavaScript pages, and only about 5% of the HTML group's deeper pages, which says as much about how little attention a fresh domain gets as about rendering.

Bingbot, the search crawler behind Bing and Microsoft Copilot, is a different case and we no longer count it among the AI crawlers. Secondary write-ups of the test report that it followed almost no script-generated links during the test phase. If Copilot matters to you, the Copilot optimization guide covers how Bing indexing feeds it.

Amazonbot also went quiet partway through the test, according to the same write-ups, so its zero is weaker evidence than GPTBot's.


What happened when the links became plain HTML?

After the links were converted to plain HTML on day 27, GPTBot came back within about two days and crawled 250 pages in those sections that it had missed entirely. Secondary reports of the test describe the window as 48 hours, or "within two days."

The pages had not been judged thin or duplicative. They were never evaluated, because they were never found.

Google did not show the same jump. Googlebot picked up one new page in the repaired sections by day 41, and GoogleOther added none, which fits with Google having already reached those sections through rendering.

Our read: this separates two failures that most programs treat as one. A page that is crawled and not cited is a content problem; you are competing and losing, and the fix is editorial. A page that is never crawled is an access problem, and the fix is a template change. Most AI visibility programs only check for the first. If your pages have dropped out of answers, the lost AI visibility recovery guide walks through ruling out access first.


What does the test not prove?

The denominator is 293 pages, not the 2,400 on the site. The zero result applies to the JavaScript-only subset.

The JavaScript condition ran 27 days, not 41. The last 14 days tested recovery.

The setup is deliberately artificial. Most production sites publish a working sitemap, which is the discovery path this test removed. If your sitemap is healthy and listed in robots.txt, your JavaScript-linked pages are probably reachable another way.

It is one fresh, unlinked directory in one language. Stanula flags this himself: established sites with stronger signals may get more rendering investment from Google.

It measures discovery, not citation. Being crawled is necessary for being cited, not sufficient.

Google-powered surfaces are a separate case. Because Google's stack did render the script, the result does not transfer directly to AI Overviews, AI Mode or Gemini.

What survives is narrower than "AI cannot see JavaScript," and still useful: for non-Google AI crawlers, discovery that depends on JavaScript is unreliable, and plain <a href> links are cheap insurance. This matches Vercel's December 2024 network analysis, which found that none of the major AI crawlers it measured executed JavaScript.


How much AI crawling actually turns into answers?

The JavaScript result sits inside a larger point: most AI crawling is ingestion, not lookup.

Cloudflare's July 2026 report on the agentic internet says more than 50% of traffic on the internet is now non-human, that 52% of crawler requests were for AI training as of June 2026 (up from 22% in spring 2025), and that mixed-use crawlers blending search, agent use and training make up over 36% of activity. IAB Australia's crawler guidance, reported by PPC Land, cites Cloudflare figures putting automated requests at 57.5% of web page traffic by June 2026.

Our read: a rising AI crawl line is not an engagement metric. It mostly measures how much of your library is being absorbed for training, not how often your pages are consulted to answer a buyer. Track citations and referrals instead; our guide to measuring AI search performance covers what to count.

The mixed-use share is the other number to watch. While one user agent does training, search and agent work, you cannot decline training and allow live retrieval with a single robots.txt rule.


Does robots.txt actually stop AI crawlers?

Not reliably. OpenAI's crawler documentation separates three bots: OAI-SearchBot (whether your pages can appear in ChatGPT search), GPTBot (training) and ChatGPT-User (fetches made when a user asks). For ChatGPT-User, OpenAI says that because these actions are user-initiated, robots.txt rules may not apply. Matt G. Southern covered the change for Search Engine Journal on August 14, 2026.

The same article reports TollBit's State of the Bots data for the first half of 2026:

  • About 15% of identified AI page-fetchers on European sites reached URLs the site had disallowed.
  • ChatGPT-User, ByteDance's Bytespider and You.com's Youbot each reached disallowed pages on nearly half of the European sites that listed them.
  • Claude-User was disallowed by 9% of European sites versus 26% in North America; Perplexity-User by 13% versus 26%.

TollBit sells bot monetization to publishers, so read its figures with that in mind. On ChatGPT-User, though, its data and OpenAI's own documentation agree.

Our read: stop treating robots.txt as enforcement. Enforcement lives at the edge: WAF rules, bot management and agent verification that checks the request rather than trusting a user-agent string. Split policy by purpose first, because blocking a training crawler, a fetcher acting for a live user and a search indexer are three different decisions. The ChatGPT optimization guide explains which OpenAI bot to allow for search visibility.


Why is blocking AI crawlers by IP address risky?

Because IP addresses are shared far more than most teams assume. A measurement paper by Rumaisa Habib and Zakir Durumeric of Stanford, independent researcher Sudheesh Singanamalla and Marwan Fayed of Cloudflare, "On IP Addresses as Identifiers of Internet Users and Services" (PPC Land coverage, August 11, 2026), used a passive sample of Cloudflare HTTP logs covering 195.8 million source addresses in 198 countries. The authors found:

  • 5% of client addresses generate 55% of web requests.
  • 44% of client addresses carry two or more user agents.
  • One address produced requests from more than 7,000 user agents.
  • Only 0.2% of .com, .net and .org domains map to a unique address, and only 9% of the top million domains have a dedicated one.

Blocking an address that sends aggressive crawler traffic also blocks whatever else shares it, and you cannot see that in advance. One author works at Cloudflare and the dataset is Cloudflare's, which does not weaken measurements only a network operator could take, but is worth knowing when reading the paper's recommendations. For a marketing team the point is simple: a blanket IP-level block on AI crawlers has real, unpredictable collateral damage, including traffic you want.


How do Google's crawlers share crawl budget?

Google's crawl budget documentation, updated in early August 2026 (Search Engine Journal, August 3, 2026), now recommends serving HTTP 304 Not Modified for unchanged pages, and clarifies that all Google crawlers share a single site-level crawl capacity: heavy demand from one crawler reduces what is left for the others.

Our read: many CMS and CDN stacks emit a fresh Last-Modified or a changing ETag on every render, so they answer every conditional request with a full 200. Google frames the guidance for sites above roughly a million pages, or ten thousand rapidly changing ones. The second threshold catches mid-size catalogs with live pricing, job boards and large publishers.


How can you measure what AI crawlers take versus send back?

Microsoft Clarity added an AI Scrape-to-Referral Ratio card to its Bot Analytics report in August 2026. It compares how often AI crawlers fetched your pages with how many visits those AI platforms sent back, broken out by operator. Microsoft's example shows about 6,000 scrapes per referral on 41 referrals.

Treat that as an illustration, not a market rate. AI referrals are often undercounted because many arrive with no referrer and land in direct traffic, and training crawls are not supposed to produce a referral each. The ratio is most useful as a trend on your own site and as a comparison across operators: if one bot's fetches climb while its referrals stay flat, that is worth investigating.


How are publishers deciding whether to block?

With arithmetic. On People Inc.'s Q2 2026 earnings call, reported by Digiday on August 4, 2026, CEO Neil Vogel said the company is not turning off Google's crawlers: "If we were to turn off AI, we would turn off search." The numbers behind that:

  • Google search traffic fell 40% year over year.
  • Google supplies about 21% of the company's traffic, down from 25% the quarter before.
  • Core sessions fell 22% year over year.
  • Non-session revenue grew 16% to $125 million, rising from 39% to 43% of digital revenue.

Our read: 21% of traffic is small enough to be shrinking and large enough to hurt badly if cut. That is why "just block them" is a slogan rather than a plan for most businesses.


What should you check on your own site?

Ordered by cost to fix, cheapest first. A fuller version lives in the technical AEO audit, and the AI crawler readiness check is a shorter pass.

  1. Make every important link a real <a href> in the server HTML. If a page's only route in is a click handler or a script-injected link, non-Google AI crawlers may never reach it. This is usually a template change.
  2. Confirm your sitemap works. It is the path the test removed, and for most sites it is what stands between them and this result. Check that it returns 200, is current and is listed in robots.txt.
  3. Pull a per-bot crawl report and look for absences. You are not looking for errors; you are looking for sections no AI crawler has requested. No standard report flags a page that was never asked for.
  4. Check conditional-request handling. If unchanged pages always return a full 200, you are spending shared crawl capacity re-serving them.
  5. Baseline your scrape-to-referral ratio before you change any crawler policy.
  6. Move enforcement to the edge and split policy by purpose. Training crawler, live fetcher and search indexer are three decisions. One switch for all three is how sites block the bots that send readers.

What should you watch next?

A replication on an established domain with authority signals and a working sitemap. That would show how much of this applies to a real business site.

Whether non-Google AI crawlers add rendering. Not rendering is a cost decision, and costs fall.

Cloudflare's new crawler controls. On September 15, 2026, Cloudflare replaced "Block AI Bots" with separate Search, Training and Agent controls and added a "Disallow AI Training" setting that lets mixed-use crawlers such as Googlebot, Bingbot and Applebot keep crawling for search. New ad-monetized domains get stricter defaults. If you rely on Cloudflare defaults, check which settings your zone now has rather than assuming the old behavior.

Whether purpose-declared bot tokens keep spreading. Cloudflare's 36% mixed-use share is the number that decides whether "decline training, allow retrieval" is a policy you can actually write.


Should you fix access before rewriting content?

Yes. There are two ways to be absent from an AI answer. You can be found, evaluated and beaten, which is a content and authority problem and a slow one. Or you can never be found, which is a plumbing problem and often a fast one. Stanula's logs show the second is real, invisible in standard reports, and fixed within days once the links are plain HTML. Check the plumbing first; then work on what makes pages worth citing.

Frequently asked questions

Do AI crawlers follow JavaScript links?

Mostly not. In Vinicius Stanula's 41-day server-log test, published by Search Engine Land on August 19, 2026, GPTBot, ClaudeBot, PerplexityBot, Meta-ExternalAgent and Amazonbot discovered none of 293 pages whose only inbound links were injected by JavaScript. Google's crawlers did execute the JavaScript: GoogleOther reached 48% of those pages and Googlebot about 2%. It was one fresh site with sitemaps deliberately disabled, so sites with working sitemaps should not expect a result this absolute.

What happens if you convert JavaScript links to plain HTML?

In the same test, after the links were converted to plain HTML on day 27, GPTBot came back within about two days and crawled 250 of the pages it had missed. The pages had never been rejected on quality grounds; they had never been found. That kind of failure is fixed in a template, not in the content.

Does robots.txt block ChatGPT?

Partly. OpenAI's crawler documentation says OAI-SearchBot controls whether pages can appear in ChatGPT search, while ChatGPT-User fetches pages when a user asks, and because those actions are user-initiated, robots.txt rules may not apply. TollBit's State of the Bots data for the first half of 2026, reported by Search Engine Journal on August 14, 2026, found about 15% of identified AI page-fetchers on European sites reached URLs the site had disallowed. Enforcement has to happen at the network edge, not in robots.txt.

How much AI crawling feeds training rather than answers?

Most of it. Cloudflare reported in July 2026 that 52% of crawler requests on its network were for AI training as of June 2026, up from 22% in spring 2025, and that mixed-use crawlers blending search, agent use and training made up over 36% of activity. A rising AI crawl line on your server is mostly ingestion, not people consulting your pages.

How can I measure how much AI crawlers take versus send back?

Microsoft Clarity added an AI Scrape-to-Referral Ratio card to its Bot Analytics report in August 2026. It compares AI crawler fetches with the visits those AI platforms send back. The example in Microsoft's announcement, about 6,000 scrapes per referral on 41 referrals, is an illustration rather than a benchmark, and AI referrals are often undercounted because many arrive with no referrer.

Updated November 22, 2026: Corrected the recrawl time after the links were fixed to about two days (it was misreported here as under three hours), stopped counting Bingbot as an AI crawler, replaced two unattributed Cloudflare shares with Cloudflare's own July 2026 figures, and updated the Cloudflare item that took effect on Sep 15, 2026.

See How AI Describes Your Brand

Discover where you stand in ChatGPT, Gemini, and Perplexity — and how Genmark AI can help you get cited.

Check Your AI Presence