Skip to main content
Launching soon: the Pinealizer desktop app.
Pinealizer
← All guides

What a React app gives crawlers that skip JavaScript

A crawler that runs no JavaScript gets only the HTML your server sends. How to see what a React, Next.js or Vite app gives it, and what Pinealizer compares.

4 questions answered
Join the waitlist

The short answer

A React app that builds its content in the browser sends a crawler little more than a script tag and an empty root element. A crawler that runs no JavaScript gets that, not your H1.

Whether a given AI crawler runs scripts is up to whoever operates it, and it can change, so the safe check is the HTML your server sends before any script runs.

What Pinealizer checks

Pinealizer compares the HTML each page serves with the page rendered in Chromium, so you see what a crawler that runs no JavaScript does not get. It also checks your robots.txt rules for each AI crawler.

Each finding comes with the fix, such as server-rendering or prerendering the routes and shipping titles and meta tags in the first HTML. 400 checks in all, with a 14-day free trial.

Frequently asked

Does GPTBot run JavaScript?

Do not count on it. Google's JavaScript guide notes that not all bots can run JavaScript, so ship the H1, the opening text and the structured data in the HTML your server sends. Pinealizer shows what is missing from that HTML.

How do I know if ChatGPT can see my React site?

Pinealizer compares the raw HTML your server sends with the page rendered in Chromium. An H1, text or structured data that appears only after rendering is a finding, because a crawler that runs no JavaScript does not get it.

Should I use Next.js for AI SEO?

Server rendering or static generation, in Next.js, Astro, Remix or Nuxt, puts the content in the HTML the server sends; a client-only bundle does not. Pinealizer flags pages whose content is missing from the raw HTML.

Is blocking GPTBot in robots.txt a good idea?

It is a choice about training. OpenAI documents GPTBot as its training crawler and OAI-SearchBot as the one for ChatGPT search.

Pinealizer reports the robots.txt rule for each AI crawler, flags a block on the crawlers that fetch pages for live answers, and flags pages that opt out of AI training while robots.txt still lets GPTBot in.

Keep reading

See what crawlers that skip JavaScript get.

The Pinealizer desktop app launches soon. Join the waitlist and we'll e-mail you the day you can sign up. At launch: 14 days free, then $14.99/month, or $119.88/year ($9.99/month billed yearly). Cancel anytime. Payment method required (card or PayPal).

Join the waitlistSee pricing

Recently updated

Research, definitions and comparisons from the library.