JavaScript SEO Audit for React, Vue and Next.js Sites
Your site looks perfect in the browser, but Google and AI crawlers may see an empty page, wrong canonical tags or error pages that look like real pages. This prompt runs a full JavaScript SEO audit for both Googlebot and AI bots and gives your developers a clear fix list.
Example input
This is exactly what we gave the model. You replace it with your own details.
- Website: https://www.example.com (online course marketplace) - Framework and rendering: React single-page app (Create React App) with client-side rendering - Hosting: Netlify - 3-5 key page URLs (home, category, product or article): /, /courses/web-design/, /course/learn-figma-in-30-days/, /blog/how-to-become-a-ux-designer/ - For one key page, paste the raw HTML (view-source) and the rendered HTML from URL Inspection: /course/learn-figma-in-30-days/ raw HTML (view-source): <head><title>Example Academy</title><meta name="robots" content="noindex"></head><body><div id="root"></div><script src="/static/js/main.4f2a.js"></script></body> Rendered HTML (URL Inspection): title 'Learn Figma in 30 Days | Example Academy', H1, full course text, price, a canonical tag added by react-helmet, robots meta changed to 'index, follow' by JavaScript, course JSON-LD injected by Google Tag Manager. Links between courses are <div onClick> elements. Missing courses show a 'Course not found' screen with status 200. - How meta tags, canonicals and schema are added: react-helmet for titles, canonicals and robots; Google Tag Manager for schema - Known issues: Most course pages are 'Excluded by noindex tag'. ChatGPT and Perplexity never mention our courses.
Real output
Pasted straight from the model. We did not fix a word.
JavaScript SEO audit: www.example.com (React CRA on Netlify)
Main finding: One line is blocking your course pages. The raw HTML that every URL shares contains <meta name="robots" content="noindex">. Google sees it before any JavaScript runs, may skip rendering, and never sees react-helmet's index, follow. That is why most course pages are "Excluded by noindex tag".
AI crawlers have a bigger problem. They don't run JavaScript, so on every URL they get an empty <div id="root"></div> plus that same noindex. That is why ChatGPT and Perplexity never mention your courses.
Removing the noindex fixes Google. Fixing AI crawlers needs server-rendered or static HTML.
Questions (I continued with my best guess for each)
- Where does the raw
noindexcome from? Guess: it's inpublic/index.html, added to keep a staging or pre-launch site out of Google, and it shipped to production. CRA serves the sameindex.htmlfor every URL, so every page has it. - What's in your Netlify
_redirectsornetlify.toml? Guess: the standard SPA rule/* /index.html 200. That rule is why every URL returns 200, including missing courses. - Where does course data come from, how many courses do you have, and how often do prices change? Guess: a REST API or headless CMS, a few hundred courses, and price changes a few times a month during sales.
- What's in robots.txt, and is there a firewall or bot protection in front of Netlify? Guess: the CRA default (
User-agent: */Disallow:), which allows everything, and no bot blocking. - Do any course sections load only on scroll or click (reviews, curriculum, FAQ), and does anything ask for the visitor's location (for example, local-currency prices)? Guess: reviews load on scroll, and prices use a default currency, not browser geolocation.
1. Raw vs rendered comparison
Page: /course/learn-figma-in-30-days/
| Element | Raw HTML (view-source): what AI crawlers read | Rendered HTML (URL Inspection): what Google can index | Missing in raw HTML? |
|---|---|---|---|
| Title | Example Academy (same on every URL) | Learn Figma in 30 Days | Example Academy | Yes. Only a generic, duplicate title |
| Meta description | None (guess) | Not given (guess: set by react-helmet, or missing) | Yes (guess) |
| H1 | None | Present | Yes |
| Main text | None. Only <div id="root"></div> | Full course text | Yes. Zero words |
| Price | None | Present | Yes |
| Internal links | None | None that crawlers follow. Course links are <div onClick> | Yes, and still broken after rendering |
| Canonical | None | Added by react-helmet (check that there's only one) | Yes |
| Robots meta | noindex | index, follow (changed by JavaScript) | Conflict. Raw HTML says noindex |
| JSON-LD | None | Course schema added by Google Tag Manager | Yes |
| Status code for a missing course | 200 | 200 with a "Course not found" screen | Wrong in both |
What's missing in the raw HTML: everything that matters: title, description, H1, text, price, links, canonical and schema. The only page-level signal in the raw HTML is the noindex, and it's the wrong one.
What this means:
- For Google, the rendered HTML is the right one to check (Mistake 1). But Google only renders a page if the raw HTML allows it, and yours says
noindex. A JavaScript change fromnoindextoindex, followcan't undo it. - For AI crawlers, view-source is the right HTML, because they stop there. Every course URL looks like the same empty page called "Example Academy".
- Check for two robots tags. react-helmet usually adds its own tag instead of editing the one already in
index.html. Search the rendered HTML in URL Inspection forname="robots". If bothnoindexandindex, followare there, Google uses the more restrictive one. (Guess: your summary says "changed", so please check.)
2. Checklist
| # | Check | Result | What I see on your site | Ticket |
|---|---|---|---|---|
| 1 | Missing pages return a real 404 | FAIL | "Course not found" with status 200, probably from the /* /index.html 200 rule (guess). These soft 404s can get indexed. | T3, T4 |
| 2 | Canonical consistency | PASS for now (check) | No canonical in raw HTML and one added by Helmet. That's allowed when JavaScript must set it, as long as only one exists after rendering. But AI crawlers get no canonical, and Google never gets to it while the raw noindex is there. Move it into raw HTML. | T4 |
| 3 | No noindex in raw HTML | FAIL (critical) | Raw noindex on every URL. This is the root cause of "Excluded by noindex tag". | T1 |
| 4 | Real <a href> links | FAIL | Course links are <div onClick>. Google won't follow them, so it can only find course pages through a sitemap, if you have one. | T2 |
| 5 | Lazy-loaded content | PASS for main text; NOT CHECKED for reviews and curriculum (guess) | The rendered HTML has the full course text and price. Googlebot doesn't scroll or click, so anything loaded on a scroll event or a click is missing. | T4 |
| 6 | Content that needs permissions | PASS (guess) | Nothing in your details needs location or notifications. If a price ever waits for geolocation, Googlebot declines the request and the price is blank. | T4 |
| 7 | JS/CSS blocked in robots.txt | PASS | URL Inspection rendered the full page, so /static/js/ and your API are not blocked for Googlebot. AI-bot rules: not checked (guess: allowed). | T6 |
| 8 | Hash-based routing | PASS | Clean paths (/course/...) with no #/. Probably BrowserRouter (guess). | — |
| 9 | Unique title and content in raw HTML | FAIL | Every URL returns the same shell titled "Example Academy". | T4, T5 |
| 10 | Schema in the first HTML response | FAIL | Course JSON-LD exists only after GTM runs. | T4 |
3. Risk rating: Google | AI crawlers
Google: CRITICAL now, MEDIUM after T1–T3 | AI crawlers: CRITICAL until T4–T5 ship
| Issue | AI crawlers | |
|---|---|---|
noindex in raw HTML | Critical. Blocks most course pages today | Critical. And there's nothing to read anyway |
| Content exists only after JavaScript | Low–Medium. Google renders, but it's an extra step that can fail (API timeouts, script errors) | Critical. They see an empty page |
| Course schema added by GTM | Medium. Depends on GTM firing during rendering | Critical. Invisible |
<div onClick> links | High. Course pages are hard to discover and get no internal link value | High. No links to follow, even after server rendering, until fixed |
| "Course not found" with status 200 | Medium. Wastes crawling, and soft 404s can get indexed | Low |
| Same raw title on every URL | Low. Google uses the rendered title | High. Every page looks the same |
Why AI crawlers stay critical after T1: removing the noindex lets Google render and index your pages. It doesn't change what GPTBot, PerplexityBot or ClaudeBot receive: an empty div.
4. Rendering recommendation
Move from Create React App to Next.js (App Router) on Netlify. Use static generation with ISR for all public pages.
Why this fits your site:
- CRA can only render on the client, and the React team deprecated it in February 2025. Staying on it, there's no clean way to put course content into the first HTML response.
- Your public pages (courses, categories, blog) are the same for every visitor and change fairly rarely. Static HTML that refreshes on a schedule fits them well.
- Netlify runs Next.js, including ISR, without a custom server.
- You keep your React components. Logged-in parts (dashboard, video player, checkout) can stay client-side as
'use client'components.
| Page type | Your example | Approach | Refresh |
|---|---|---|---|
| Course pages | /course/learn-figma-in-30-days/ | SSG + ISR | Every hour, plus on-demand revalidatePath() from a webhook when a price changes (timing is a guess) |
| Category pages | /courses/web-design/ | SSG + ISR | Every hour |
| Blog posts | /blog/how-to-become-a-ux-designer/ | SSG | On publish or edit |
| Home | / | SSG + ISR | Every hour |
| Search or filtered results (guess: you have them) | /search?q=... | SSR, or client-side with noindex | — |
| Account, cart, player | — | Client-side, no change | — |
Alternative if a move to Next.js is too big: React Router v7 "framework mode" (the successor to Remix). It's closer to the routing you already have, supports SSR and build-time prerendering, and also deploys to Netlify.
Don't:
- Don't use bot-only prerendering, where crawlers get rendered HTML and users get the SPA. That's dynamic rendering, and Google calls it a workaround, not a long-term fix. Build-time prerendering that serves the same HTML to every visitor is fine.
- Don't keep schema in GTM after the move.
What to move server-side first:
- Today, no migration needed: remove the raw
noindex(T1). - Course pages: title, meta description, canonical, robots, H1, description, curriculum, instructor, price, Course JSON-LD, and a real 404 for unknown course slugs. These pages earn you money, and they're the ones being excluded.
- Category pages: H1, intro text, and the course list as
<a href>links. This is how crawlers will find every course. - Blog posts: the full article plus Article JSON-LD. AI tools answer and cite informational questions like "how to become a UX designer".
- Home page.
5. Developer tickets
T1: Remove noindex from the CRA shell (P0, this week, about 1 hour)
Problem: public/index.html sends noindex on every URL. JavaScript can't remove it reliably, because Google may skip rendering.
Fix: Set the robots value at build time for each Netlify deploy context, so only previews get noindex. CRA replaces %REACT_APP_*% in index.html during the build.
<!-- public/index.html: BEFORE -->
<head>
<title>Example Academy</title>
<meta name="robots" content="noindex">
</head>
<!-- public/index.html: AFTER -->
<head>
<title>Example Academy</title>
<meta name="robots" content="%REACT_APP_ROBOTS%">
</head>
# netlify.toml
[build.environment]
REACT_APP_ROBOTS = "index, follow"
[context.deploy-preview.environment]
REACT_APP_ROBOTS = "noindex"
[context.branch-deploy.environment]
REACT_APP_ROBOTS = "noindex"
In react-helmet, stop setting index, follow on course pages. Use Helmet's robots tag only to add noindex on pages that should stay out of the index (not-found, search, account). Adding noindex with JavaScript works. Removing it doesn't.
Done when:
curl -s https://www.example.com/course/learn-figma-in-30-days/ | grep -i robotsshowsindex, follow.- The same check on a deploy preview shows
noindex. - URL Inspection says "Indexing allowed? Yes".
- "Validate fix" has been started in the Page indexing report.
T2: Replace <div onClick> with real links (P0)
Problem: Crawlers don't follow click handlers that have no href.
// BEFORE
<div className="course-card" onClick={() => navigate(`/course/${course.slug}/`)}>
<h3>{course.title}</h3>
<span>{course.priceFormatted}</span>
</div>
// AFTER (react-router-dom: <Link> renders a real <a href>)
import { Link } from 'react-router-dom';
<Link to={`/course/${course.slug}/`} className="course-card">
<h3>{course.title}</h3>
<span>{course.priceFormatted}</span>
</Link>
Apply this to course cards, category navigation, related courses, breadcrumbs and pagination. Always use the trailing-slash URL, to match your canonicals.
Done when:
- A crawl with JavaScript on, starting from
/, finds every course URL through links (not only through the sitemap). - In DevTools, the course cards are
<a href="/course/...">elements.
T3: Stop soft 404s in the current SPA (P0, temporary until T4)
Problem: Missing courses show "Course not found" with status 200.
Fix: Add a URL that Netlify serves with a real 404 status. Then make the not-found view send visitors there and add noindex. Google lists both of these as valid options for SPAs.
# public/_redirects (the first matching rule wins, so order matters)
/not-found /index.html 404
/* /index.html 200
// src/components/CourseNotFound.jsx
import { useEffect } from 'react';
import { Helmet } from 'react-helmet';
export default function CourseNotFound() {
useEffect(() => {
if (window.location.pathname !== '/not-found') {
window.location.replace('/not-found'); // full page load, so the 404 status is sent
}
}, []);
return (
<>
<Helmet>
<meta name="robots" content="noindex" />
</Helmet>
<h1>Course not found</h1>
<a href="/courses/web-design/">Browse web design courses</a>
</>
);
}
Add a /not-found route in the router that renders this view. Show it only when the API really returns 404 for the slug. A timeout or a 500 error should show an error state, not "not found".
Done when:
curl -s -o /dev/null -w "%{http_code}" https://www.example.com/not-foundreturns404.- URL Inspection on
/course/this-does-not-exist/shows a redirect to a 404, or "Excluded by noindex", not "Indexed".
T4: Course pages on Next.js with SSG + ISR, with metadata, canonical and JSON-LD in the raw HTML (P1, the main fix)
Problem: Course content, canonical and schema exist only after JavaScript runs. AI crawlers see nothing.
// next.config.js
/** @type {import('next').NextConfig} */
module.exports = {
trailingSlash: true, // keeps /course/learn-figma-in-30-days/ as the one URL
};
// app/layout.tsx
import type { Metadata } from 'next';
export const metadata: Metadata = {
metadataBase: new URL('https://www.example.com'),
title: { default: 'Example Academy', template: '%s | Example Academy' },
};
export default function RootLayout({ children }: { children: React.ReactNode }) {
return (
<html lang="en">
<body>{children}</body>
</html>
);
}
// components/JsonLd.tsx
export function JsonLd({ data }: { data: object }) {
return (
<script
type="application/ld+json"
dangerouslySetInnerHTML={{ __html: JSON.stringify(data).replace(/</g, '\\u003c') }}
/>
);
}
// lib/courses.ts
import { cache } from 'react';
export const getCourse = cache(async (slug: string) => {
const res = await fetch(`${process.env.API_URL}/courses/${slug}`, { next: { revalidate: 3600 } });
if (res.status === 404) return null; // a real "not found"
if (!res.ok) throw new Error(`Course API ${res.status}`); // API errors must NOT become 404s
return res.json();
});
export async function getAllCourseSlugs(): Promise<string[]> {
const res = await fetch(`${process.env.API_URL}/courses?fields=slug`);
return (await res.json()).map((c: { slug: string }) => c.slug);
}
// app/course/[slug]/page.tsx
import type { Metadata } from 'next';
import Link from 'next/link';
import { notFound } from 'next/navigation';
import { getCourse, getAllCourseSlugs } from '@/lib/courses';
import { JsonLd } from '@/components/JsonLd';
const SITE = 'https://www.example.com';
export const revalidate = 3600; // ISR: rebuild each course page at most once an hour
type Props = { params: Promise<{ slug: string }> };
export async function generateStaticParams() {
const slugs = await getAllCourseSlugs();
return slugs.map((slug) => ({ slug }));
}
export async function generateMetadata({ params }: Props): Promise<Metadata> {
const { slug } = await params;
const course = await getCourse(slug);
if (!course) return { robots: { index: false } };
return {
title: course.title, // gives "Learn Figma in 30 Days | Example Academy"
description: course.summary,
alternates: { canonical: `${SITE}/course/${slug}/` }, // one canonical, in the raw HTML
robots: { index: true, follow: true },
};
}
export default async function CoursePage({ params }: Props) {
const { slug } = await params;
const course = await getCourse(slug);
if (!course) notFound(); // real 404 status
const url = `${SITE}/course/${slug}/`;
const schema = {
'@context': 'https://schema.org',
'@type': 'Course',
name: course.title,
description: course.summary,
url,
inLanguage: 'en',
provider: { '@type': 'Organization', name: 'Example Academy', sameAs: SITE },
offers: {
'@type': 'Offer',
category: 'Paid',
price: course.price,
priceCurrency: course.currency,
url,
},
hasCourseInstance: {
'@type': 'CourseInstance',
courseMode: 'Online',
instructor: { '@type': 'Person', name: course.instructor.name },
},
};
return (
<main>
<JsonLd data={schema} />
<h1>{course.title}</h1>
<p>{course.summary}</p>
<p>Price: {course.priceFormatted}</p>
<section>
<h2>Curriculum</h2>
<ol>{course.lessons.map((l: any) => <li key={l.id}>{l.title}</li>)}</ol>
</section>
<section>
<h2>Reviews</h2>
{/* Render the first reviews on the server. Don't load them on scroll. */}
{course.reviews.slice(0, 10).map((r: any) => <blockquote key={r.id}>{r.text}</blockquote>)}
</section>
<section>
<h2>Related courses</h2>
<ul>
{course.related.map((c: any) => (
<li key={c.slug}><Link href={`/course/${c.slug}/`}>{c.title}</Link></li>
))}
</ul>
</section>
</main>
);
}
Also:
- Delete the
/* /index.html 200rule frompublic/_redirects. Next.js handles routing and 404s now. - Remove react-helmet. It doesn't work with server rendering in the App Router. Use the Metadata API instead.
- Remove the Course schema tag from GTM, so there aren't two Course blocks.
- Keep tabs and accordions (FAQ, curriculum) in the HTML and hide them with CSS or
<details>. Don't fetch their content on click. - If you show local prices, work out the currency on the server or show a default currency. Never wait for
navigator.geolocation.
Done when:
- With JavaScript off (curl), the course URL contains: the correct title, a meta description, exactly one canonical (absolute, with a trailing slash),
index, follow, an H1, the course text, the price, Course JSON-LD, and<a href="/course/...">links. /course/this-does-not-exist/returns404./course/learn-figma-in-30-days(no slash) redirects to the slash version.- The rendered HTML in URL Inspection has exactly one canonical, one robots tag and one Course JSON-LD block.
T5: Category, blog and home pages server-rendered (P1)
// app/courses/[category]/page.tsx
import Link from 'next/link';
import { notFound } from 'next/navigation';
import { getCategory } from '@/lib/courses';
export const revalidate = 3600;
export default async function CategoryPage({ params }: { params: Promise<{ category: string }> }) {
const { category } = await params;
const data = await getCategory(category);
if (!data) notFound();
return (
<main>
<h1>{data.title}</h1> {/* e.g. "Web Design Courses" */}
<p>{data.intro}</p>
<ul>
{data.courses.map((c: any) => (
<li key={c.slug}>
<Link href={`/course/${c.slug}/`}>{c.title}</Link> – {c.priceFormatted}
</li>
))}
</ul>
</main>
);
}
// app/blog/[slug]/page.tsx (schema part)
<JsonLd data={{
'@context': 'https://schema.org',
'@type': 'BlogPosting',
headline: post.title,
datePublished: post.publishedAt,
dateModified: post.updatedAt,
author: { '@type': 'Person', name: post.author.name },
mainEntityOfPage: `https://www.example.com/blog/${slug}/`,
}} />
In /blog/how-to-become-a-ux-designer/, add plain <a href> links to /course/learn-figma-in-30-days/ and /courses/web-design/ inside the article text where they fit. This helps crawlers find the courses, and it connects your helpful content to the courses you sell.
Done when: With JavaScript off, each page has a unique title, an H1, its main text, real links to courses, and its JSON-LD.
T6: robots.txt, sitemap and AI crawler access (P1)
# public/robots.txt
User-agent: *
Disallow: /account/
Disallow: /checkout/
Sitemap: https://www.example.com/sitemap.xml
(The disallowed paths are a guess. Adjust them to your private areas.) Never block /static/ (CRA) or /_next/ (Next.js).
A note on AI bots. If you add a group for a named bot, such as User-agent: GPTBot, that bot ignores the * group, so only add named groups on purpose. Search bots and training bots are separate:
- OpenAI: OAI-SearchBot is for ChatGPT search; GPTBot is for training.
- Anthropic: Claude-SearchBot is for search; ClaudeBot is for training.
- Perplexity: PerplexityBot.
If you want to appear in AI answers, don't block the search bots. Also check that Netlify's firewall, or any CDN in front of it, doesn't return 403 to these bots.
// app/sitemap.ts
import type { MetadataRoute } from 'next';
import { getAllCourses, getAllCategories, getAllPosts } from '@/lib/courses';
const SITE = 'https://www.example.com';
export default async function sitemap(): Promise<MetadataRoute.Sitemap> {
const [courses, categories, posts] = await Promise.all([getAllCourses(), getAllCategories(), getAllPosts()]);
return [
{ url: `${SITE}/` },
...categories.map((c: any) => ({ url: `${SITE}/courses/${c.slug}/` })),
...courses.map((c: any) => ({ url: `${SITE}/course/${c.slug}/`, lastModified: c.updatedAt })),
...posts.map((p: any) => ({ url: `${SITE}/blog/${p.slug}/`, lastModified: p.updatedAt })),
];
}
If you don't have a sitemap today, generate one at build time in CRA now. Until T2 ships, a sitemap is the only way Google can find your course pages.
Done when:
/robots.txtand/sitemap.xmlreturn 200.- The sitemap is submitted in Google Search Console and Bing Webmaster Tools.
- The sitemap URLs exactly match the canonicals (with the trailing slash).
6. Test plan
A. URL Inspection (Google Search Console)
- Inspect
/course/learn-figma-in-30-days/, then click Test live URL and View tested page, then open the HTML tab. Search forname="robots"(should be 1 after the fix),rel="canonical"(should be 1) andld+json. - Before T1: expect "noindex detected". After T1: expect "Indexing allowed? Yes".
- Request indexing for your 4 key URLs and your top course URLs (the daily quota is small).
- In Page indexing, open "Excluded by 'noindex' tag" and click Validate fix.
- Inspect
/course/this-does-not-exist/. After T3/T4 it should be "Not found (404)", not indexed and not a soft 404. - Schema: the Rich Results Test won't report Course schema, because Course Info rich results were dropped in 2025. Paste the raw HTML (view-source) into validator.schema.org instead. This also proves the schema is in the first response, which is what AI crawlers need.
B. curl with different user agents (what each crawler receives without JavaScript)
URL="https://www.example.com/course/learn-figma-in-30-days/"
for UA in \
"Mozilla/5.0 (compatible; Googlebot/2.1; +http://www.google.com/bot.html)" \
"Mozilla/5.0 AppleWebKit/537.36 (KHTML, like Gecko; compatible; GPTBot/1.0; +https://openai.com/gptbot)" \
"Mozilla/5.0 AppleWebKit/537.36 (KHTML, like Gecko; compatible; OAI-SearchBot/1.0; +https://openai.com/searchbot)" \
"Mozilla/5.0 AppleWebKit/537.36 (KHTML, like Gecko; compatible; PerplexityBot/1.0; +https://perplexity.ai/perplexitybot)" \
"Mozilla/5.0 AppleWebKit/537.36 (KHTML, like Gecko; compatible; ClaudeBot/1.0; +claudebot@anthropic.com)"
do
echo "== $UA"
curl -s -A "$UA" -o page.html -w "status: %{http_code}\n" "$URL"
grep -io '<title>[^<]*</title>' page.html
grep -io '<meta name="robots"[^>]*>' page.html
grep -io '<link rel="canonical"[^>]*>' page.html
echo "h1: $(grep -c '<h1' page.html) json-ld: $(grep -c 'application/ld+json' page.html) course links: $(grep -o 'href="/course/[^"]*"' page.html | sort -u | wc -l)"
done
# Missing page, trailing slash, robots.txt, preview protection
curl -s -o /dev/null -w "%{http_code}\n" https://www.example.com/course/this-does-not-exist/
curl -s -o /dev/null -w "%{http_code} -> %{redirect_url}\n" https://www.example.com/course/learn-figma-in-30-days
curl -s https://www.example.com/robots.txt
curl -sI https://deploy-preview-1--YOUR-SITE.netlify.app/ | grep -i x-robots-tag
| Check | Today (expected) | Target |
|---|---|---|
| Status code | 200 | 200 |
| Title | Example Academy | Learn Figma in 30 Days | Example Academy |
| Robots | noindex | index, follow |
| Canonical | none | 1, absolute, with trailing slash |
| H1 / JSON-LD / course links | 0 / 0 / 0 | 1 / 1 or more / more than 0 |
| Missing course | 200 | 404 |
| No-slash URL | 200 | 301/308 to the slash version |
| Same result for every user agent | yes (empty shell) | yes (full HTML) |
Faking a user agent tests what your server and CDN send. It doesn't prove what the real bot did, so also use the log check in D.
C. Crawler with JavaScript off and on (Screaming Frog or Sitebulb)
- Crawl 1, JavaScript off: rendering set to "Text Only", user agent GPTBot. This simulates AI crawlers.
- Crawl 2, JavaScript on: rendering set to "JavaScript", user agent Googlebot Smartphone. This simulates Google.
- Start both crawls from
/, not from a URL list, so you also test link discovery. - Compare: URLs found, title, H1, word count, canonical, robots, structured data and status codes. In Screaming Frog, the JavaScript tab filters (such as "Noindex Only in Original HTML" and "Canonical Only in Rendered HTML") show the gaps directly.
- Expected today: Crawl 1 finds about 1 page ("Example Academy", noindex, about 0 words). Crawl 2 finds very few courses because the links are divs.
- Target: both crawls find every course, with the same title, H1 and canonical, and those JavaScript filters are empty.
- Quick manual check: in Chrome DevTools, open the Command menu, run "Disable JavaScript", and reload the course page. What you see is what AI crawlers get.
D. What AI tools can read
- Raw HTML: the curl output from B with the GPTBot, PerplexityBot and ClaudeBot user agents. It passes when the title, H1, price and Course JSON-LD are all there.
- Ask the tools directly in ChatGPT (with search), Perplexity and Claude: "Read https://www.example.com/course/learn-figma-in-30-days/ and tell me the price, who teaches it, and what's covered in week 1." Today, expected: they can't read it, or they guess. After T4: correct details. Answers vary and may be cached, so repeat each test 2–3 times.
- Track visibility monthly with a fixed list of 10–20 prompts, such as "best Figma course for beginners", "online web design courses" and "how to become a UX designer". Record whether Example Academy is mentioned or linked. Readable HTML makes you eligible. Being mentioned also depends on reviews, mentions on other sites, and authority.
- Logs: if you have request logs (for example, Netlify log drains, if your plan includes them), filter for OAI-SearchBot, GPTBot, PerplexityBot and ClaudeBot. Check that course URLs return 200, not 403.
- Bing Webmaster Tools: verify the site, submit the sitemap and inspect the course URL. ChatGPT search draws partly on third-party search indexes such as Bing, and Bing also sees your raw HTML.
E. Expected timeline (estimate, not a promise)
- Google: course pages should start leaving "Excluded by noindex tag" within days to a few weeks after T1 and Validate fix.
- AI tools: expect weeks to months after T4–T5 ship before mentions change, with no guarantee.
Lines like “check: pass” or “fixed” are the model talking to itself. The prompt tells it to review its own work before answering; that review is part of the output.
The prompt
First lines open so you can see how it is built. The rest opens after purchase.
#ROLE You are a JavaScript SEO expert who works closely with front-end developers. Audit my JavaScript site so both Google and AI crawlers can read it correctly. #INPUTS Fill in every line. Leave a line blank if you don't know it. - Website: [WEBSITE URL] - Framework and rendering: [e.g., React SPA with client-side rendering, Next.js with SSR/SSG, Nuxt, Angular] - Hosting: [e.g., Vercel, Netlify, own server]
How to use it
- Buy, then open it in your account.
- Copy the prompt into ChatGPT, Claude or Gemini.
- Replace the 7 inputs with your product.
- Run it. Use the output. Re-run with a different tone if you like.
Pro tips
- Paste the raw HTML from view-source, not DevTools. That's what many AI crawlers see.
- Check for noindex in the raw HTML first. JavaScript can't remove it once Google has seen it.
- Move to server rendering for your key templates first. It fixes Google and AI crawlers at once.
Before you buy
- Will it work for my product?
- Yes, if you can fill the 7 inputs. If the output is bad with your inputs, email us: we fix the prompt and refund you.
- Do I download a file?
- No. It lives in your account with a copy button, and updates when we improve it.
- Which model is best?
- Best on Claude. Works in ChatGPT, Claude and Gemini.
Works well with this
Prompts people use in the same campaign.
More in Ecommerce, CMS & JavaScript
Buying more than two? Lifetime is cheaper.
Every prompt, every category, forever. $59 once. Nothing to download, nothing to renew.
This prompt
$3$7
- ✓ Instant access in your account, with a copy button
- ✓ Example input and real output included
- ✓ 7-day money-back, no form
Or get every prompt, forever
Lifetime Access · $59 $149 — all categories, all future prompts, rewrites included.
Get lifetime accessCard or PayPal · taxes at checkout · nothing to download
Not the one you need?
Browse every prompt by category and sub-category.