fbpx

AI SEO and JavaScript: Can AI Crawlers Actually See Your Content?

AI SEO and JavaScript: Can AI Crawlers Actually See Your Content?

3 min read

You can publish the best page in your industry and still be invisible to some AI systems, because of how the page is built. It is one of the least discussed problems in AI SEO, and it is rarely visible in your analytics. At Sarkar SEO, we check it early in technical reviews: when a crawler visits your page, does it receive your content, or an empty shell waiting for a script to fill it?

Two Ways to Build a Page

Modern sites generally use one of two approaches. With server-side rendering, the content is generated on the server and arrives in the HTML response. With client-side rendering, the browser runs JavaScript to build or fill the page after it loads.

Neither is inherently bad. As Go Fish Digital notes, client-side rendering pushes work to the visitor’s device and makes interactive states easier to manage. The risk is specific: a crawler that does not run JavaScript receives only the initial HTML. A person using a browser sees the finished page, but the crawler may see something far thinner.

What the Data Says, and How Old It Is

The best-known evidence comes from a study by MERJ and Vercel, which analyzed crawler behaviour across Vercel’s network. Its conclusion was blunt: none of the major AI crawlers it studied currently render JavaScript, including OpenAI’s OAI-SearchBot, ChatGPT-User and GPTBot, Anthropic’s ClaudeBot, Meta’s crawler and ByteDance’s Bytespider. vercel

There was a telling detail. These crawlers do request script files, ChatGPT’s about 11.5% of the time and Claude’s about 23.84%, but they download them without executing them. vercel

Two cautions apply. First, later write-ups say the study was published in December 2024, so it is a snapshot, and crawler behaviour can change. Second, Google is different: it documents a process of crawling, rendering and indexing, in which a page enters a rendering queue so its JavaScript can be executed. That means “Google indexes my page fine” is not evidence that other systems can read it.

Why You Probably Haven’t Noticed

This problem hides well. Go Fish Digital points out that crawlers that don’t execute your analytics JavaScript won’t appear as normal visits in GA4, so a dashboard can look healthy while a crawler received a materially different version of the page.

In other words, your reports describe what humans saw. They say nothing about what machines received.

The Raw HTML Test

Here is a quick audit you can run without a developer. It is our own working method, and it checks what a non-rendering crawler would receive.

  1. Pick one URL per page template. A product page, a blog post, a category page and a service page are four templates. One flawed template can hide thousands of URLs.
  2. View the raw source. Use “view source” in your browser or a command-line fetch. Do not use “Inspect element,” which shows the page after JavaScript has run.
  3. Look for six things in that raw source:
    • The title tag and meta description
    • The main heading and subheadings
    • The core body text, not just a loading message
    • Navigation and internal links as real anchor tags with destination addresses
    • Key facts such as prices, availability and contact details
    • Structured data, if you use it
  4. Score each template pass or fail for each item.
  5. Compare the failures with the pages that earn revenue.

Go Fish Digital advises that titles and meta descriptions should be available without client-side rendering whenever possible. Navigation deserves special attention: if links to your important pages only appear after scripts run, a crawler cannot follow them.

Fix in the Right Order

Not every failure needs a rebuild. A sensible sequence:

  1. Money templates first. Service, product and pricing pages come before the blog archive.
  2. Static generation for stable content. Pages that rarely change can be built ahead of time, which is simple and fast.
  3. Server-side rendering for dynamic content. Use it where the page must be generated per request.
  4. Pre-rendering as a bridge. If a full migration will take months, pre-rendering can reduce the gap while you plan it.
  5. Keep client rendering for extras. Vercel’s own guidance says it still works for non-essential elements like view counters, interactive enhancements, live chat widgets and social feeds.

The rule of thumb is simple: anything a buyer or an assistant needs to understand the page should be in the first HTML response.

Don’t Overcorrect

Many sites do not have this problem. A typical WordPress site already delivers its content in HTML, so a rebuild would be wasted effort. And fixing rendering is about making content visible, not about guaranteeing citations. It removes an obstacle but does not replace quality, accuracy or authority.

Retest after any change, and keep an eye on your server logs, since those show what crawlers actually fetched, unlike analytics scripts. Because the evidence is dated, verify the behaviour of the systems you care about before committing to an expensive migration.

Sarkar SEO
sarkar@sarkarseo.com

Mohit Parnami aka Sarkar is an entrepreneur, marketer and Co-Founder of SarkarSEO. He is passionate about SEO and lifelong learner to learn new things. He has been in the internet marketing industry for 10+ years.