Home Learn Stage 3

JavaScript and rendering

Many sites build their pages in the browser with JavaScript. Google's crawler runs that code, but most AI crawlers only read the first HTML they receive, so content that appears later can be invisible to them.

Read the 4 best sources

Stage 3: Get found

Topic 3 of 7

In short

  • If your main text is not in the raw HTML, most AI bots never see it.
  • Server-side rendering or pre-rendering fixes this for every bot at once.
  • Links that only exist after JavaScript runs can hide whole sections of a site.

Who runs your JavaScript

Runs JavaScript
  • Googlebot
  • Gemini (through Googlebot)
  • AppleBot
Reads raw HTML only
  • GPTBot, OAI-SearchBot, ChatGPT-User
  • ClaudeBot
  • PerplexityBot
  • Meta-ExternalAgent
  • Bytespider
Source: Vercel and MERJ, The rise of the AI crawler

Go deeper

The best sources we found on this topic. Each opens on the publisher’s site.