AI Search Technical Readiness Audit
Is your website easy for ChatGPT, Gemini, Perplexity and other AI tools to read, understand and act on? This prompt runs a 3-layer technical audit, scores your site, and tells you which fixes matter now and which trends you can safely ignore for the moment.
Example input
This is exactly what we gave the model. You replace it with your own details.
- Website: https://www.example.com (online store for specialty coffee and brewing gear) - Site type: Ecommerce - Tech stack: Shopify with a headless Next.js front end - 3-5 key page URLs: /, /collections/espresso-beans/, /products/ethiopia-yirgacheffe-250g/, /pages/brew-guides/, /pages/shipping/ - Current robots.txt (paste): User-agent: * Disallow: /cart Disallow: /checkout Disallow: /account User-agent: GPTBot Disallow: / User-agent: PerplexityBot Disallow: / Sitemap: https://www.example.com/sitemap.xml - Optional: rendered HTML or a crawl export of a key page: Product page raw HTML (before JavaScript): <title>Ethiopia Yirgacheffe 250g</title>, empty <div id="__next"></div>, no JSON-LD. After rendering: full product text, price £12.50, 'Add to cart' button is a <div> with an onClick handler, product JSON-LD injected by Google Tag Manager.
Real output
Pasted straight from the model. We did not fix a word.
AI search readiness audit: www.example.com
Quick questions first (I've used my best guess for each, so correct me if one is wrong)
- Did you block GPTBot and PerplexityBot on purpose? Guess: partly. You want to stay out of AI model training, but you do want to appear, with links, in AI answers. The robots.txt fix below is built on this guess.
- Which Next.js router, host and CDN do you use? Guess: Pages Router (the
<div id="__next">points to it), hosted on Vercel, product data fetched in the browser from the Shopify Storefront API, and no extra AI-bot blocking at the CDN. - How do checkout and accounts work? Guess: Shopify-hosted checkout, Shopify customer accounts, guest checkout allowed, and no public API.
- Do you roast your own coffee, and who writes the brew guides? Guess: you sell your own roasted coffee under your own brand (so the Shopify "vendor" field is your brand), and staff write the guides with no named author.
- Where do you sell? Guess: UK only, prices in GBP (based on the £12.50 price).
1. Score table
Scores: 0 = missing, 1 = partial, 2 = good, Needs test = I can't tell from what you gave me. T1, T2 and so on point to the copy-paste commands under the table.
| Layer | Item | How to test | Score | Fix |
|---|---|---|---|---|
| 1. Retrievability | robots.txt rules per AI user agent | T1 (read the file and check each bot), T2 (see what your server returns to each bot's user agent), and your CDN's bot or firewall settings | 1 | You have rules for two bots, but they look mixed up (guess 1). PerplexityBot is Perplexity's search crawler, not a training crawler, so blocking it keeps you out of Perplexity's answers and citations. Blocking GPTBot only stops OpenAI training. ChatGPT search (OAI-SearchBot) is still allowed by the * group. Anthropic, Apple and Common Crawl bots, and Google-Extended, aren't mentioned. Rewrite the rules bot by bot (Fix 3). |
| 1 | Accessibility tree, with names on buttons and links | Chrome DevTools > Elements > Accessibility pane (turn on the full-page tree); axe DevTools; press Tab through the product page; T3 (Playwright looks for a button named "Add to cart") | 0 | "Add to cart" is a <div> with an onClick. It has no button role, gets no keyboard focus and doesn't respond to Enter or Space. Screen readers and AI browser agents can't reliably find or press it. Use a real <button> (Fix 2). This score is based on that one element. The rest of the tree Needs test. |
| 1 | Semantic HTML, logical heading order | T4: count headings in the raw HTML; list headings on the rendered page with the console snippet or the HeadingsMap extension | Needs test | Today the raw HTML has no headings at all, because it's an empty shell. After server rendering, use one <h1> (the product name), <h2> for sections, and <header>, <nav>, <main> and <footer> landmarks. The <div> button suggests there may be div-heavy markup elsewhere too. |
| 1 | Lean DOM | T5: Lighthouse DOM size check, element count in the console, raw HTML size; after server rendering, the size of __NEXT_DATA__ | Needs test | Lighthouse warns at about 800 elements and fails at about 1,400. When you add server rendering, pass only the fields the page needs into props. Next.js warns when page data goes over 128 kB. |
| 1 | Main content in the server-rendered HTML | T6: fetch the page with curl using a bot user agent and look for the price, description and JSON-LD; Chrome DevTools > Settings > Debugger > Disable JavaScript, then reload | 0 | Your raw HTML is just a <title> and an empty <div id="__next">. Public tests in 2024–2025 showed that AI crawlers like GPTBot, ClaudeBot and PerplexityBot, and Common Crawl's CCBot, don't run JavaScript. To them the page is blank: no product text, no £12.50, no schema. Googlebot does run JavaScript, which is why the page can look fine in Search Console. Render key pages on the server (Fix 1). |
| 1 | Forms with clear labels | axe or Lighthouse ("form elements have labels"); T3 with getByLabel; check the size or grind picker, quantity, search, newsletter and contact forms | Needs test | Use native <input type="radio"> or <select> fields with <label>, group them with <fieldset> and <legend>, and add autocomplete="email" to email fields. Custom div-based pickers break agents the same way the div button does (Fix 2). |
| 1 | XML sitemap declared and easy to find | T7: check that /sitemap.xml returns 200 and XML, lists www.example.com URLs (not myshopify.com), and includes your key pages | 2 | Declared correctly in robots.txt, at the standard location. On headless Shopify the file has to come from Next.js (or a proxy), not the old theme, so confirm it works. If it returns 404, this score drops to 0. |
| 1 | Common Crawl captures and past blocks | T8: search index.commoncrawl.org for your domain in the latest crawls, check status codes and open one capture; use the Wayback CDX API for old robots.txt versions; check CDN logs for CCBot | Needs test | I haven't run this lookup, so I won't guess the result. What I do know: your current robots.txt allows CCBot (it falls under *). But CCBot doesn't run JavaScript, so any recent captures most likely hold only your title and an empty div. That is my deduction, not a test result. T8 will show it for sure. Fix 1 solves it for future crawls. |
| 2. Meaning and ownership | JSON-LD for products, prices, authors and brand | T9: count application/ld+json in the raw HTML (0, from your export); Google Rich Results Test (it runs JavaScript, so it shows the GTM markup); paste the raw HTML into validator.schema.org (Code snippet tab) to see what bots without JavaScript get | 1 | Product JSON-LD exists, but only after JavaScript runs, through GTM. Crawlers that don't run JavaScript never see it. Google itself says JavaScript-generated product markup makes Shopping crawls less frequent and less reliable. Brand and author markup: Needs test. Output it on the server from Storefront API data, then remove the GTM tag (Fix 4). |
| 2 | Content signals policy in robots.txt | Look for a Content-Signal: line in robots.txt (T1) | 0 | There is none. Add one line that matches your user-agent rules (part of Fix 3). Experimental: Cloudflare proposed this format in 2025. It isn't a standard, and I don't know of any major AI company that has said it follows it. Your User-agent rules are what actually control crawlers. |
| 2 | Entity map: brand, products, authors and how they connect | In the homepage raw HTML, look for Organization or OnlineStore JSON-LD with an @id, logo and sameAs. Check that products point to it as brand or seller, and that brew guides have a named author and an author or About page. Search Google for your brand name (is there a knowledge panel?). Ask ChatGPT, Gemini and Claude: "Who runs example.com and what do they sell?" | Needs test | Right now the raw product page tells a bot nothing about who sells the coffee: the title has no brand name and there's no schema. Build the chain: OnlineStore → Brand → Products, and Person (roaster) → Brew guides (Fix 5). |
| 3. Agent actions | OAuth authorization server metadata (RFC 8414) and protected resource metadata (RFC 9728) | T10: request /.well-known/oauth-authorization-server and /.well-known/oauth-protected-resource (expect 404) | Needs test (likely not needed) | You only need this if you offer an API or MCP server that agents log in to. With Shopify-hosted guest checkout and no public API (guess 3), there is nothing to protect yet. Don't build it now. |
| 3 | Emerging: MCP, WebMCP, Google UCP, OpenAI ACP | T10: try Shopify's Storefront MCP endpoint on your myshopify.com domain; look in Shopify admin for AI or agentic sales channel settings | Not scored | All of these are early. On Shopify they are mostly provided by the platform, so let Shopify carry them (Watch only). |
| 3 | Frontier: llms.txt | T10: request /llms.txt | Not scored | Optional and low priority. There's no agreed standard and little evidence that AI systems use it. |
Copy-paste test kit
SITE="https://www.example.com"
PDP="$SITE/products/ethiopia-yirgacheffe-250g"
# T1: robots.txt. Who is allowed to fetch the product page?
curl -s "$SITE/robots.txt"
python3 - <<'EOF'
from urllib.robotparser import RobotFileParser
rp = RobotFileParser("https://www.example.com/robots.txt"); rp.read()
url = "https://www.example.com/products/ethiopia-yirgacheffe-250g"
for ua in ["Googlebot", "GPTBot", "OAI-SearchBot", "ChatGPT-User", "PerplexityBot",
"Perplexity-User", "ClaudeBot", "Claude-SearchBot", "Claude-User",
"Google-Extended", "Applebot-Extended", "CCBot"]:
print(f"{ua:18} {'allowed' if rp.can_fetch(ua, url) else 'BLOCKED'}")
EOF
# T2: what do the server and CDN return to each bot user agent?
for ua in "Googlebot/2.1" "GPTBot/1.1" "OAI-SearchBot/1.0" "PerplexityBot/1.0" "ClaudeBot/1.0" "CCBot/2.0"; do
printf "%-18s " "$ua"
curl -s -o /dev/null -w "%{http_code} %{size_download} bytes\n" -A "Mozilla/5.0 (compatible; $ua)" "$PDP"
done
# This only catches rules based on the user agent. CDNs that verify real bots by IP
# can treat real bots differently, so check your CDN firewall log for real bot traffic too.
// T3: what an agent "sees" (Node + Playwright 1.49 or newer: npm i -D playwright)
const { chromium } = require('playwright');
(async () => {
const browser = await chromium.launch();
const page = await browser.newPage();
await page.goto('https://www.example.com/products/ethiopia-yirgacheffe-250g');
console.log(await page.locator('body').ariaSnapshot()); // the accessibility tree as text
console.log('Buttons named "Add to cart":',
await page.getByRole('button', { name: /add to cart/i }).count()); // expect 0 today
console.log('Labelled quantity fields:', await page.getByLabel(/quantity/i).count());
await browser.close();
})();
// T4: headings on the rendered page (paste into the browser console)
[...document.querySelectorAll('h1,h2,h3,h4,h5,h6')].map(h => `${h.tagName} ${h.textContent.trim()}`).join('\n')
// T5: number of elements on the rendered page
document.querySelectorAll('*').length
# T4: headings in the raw HTML (expect 0 today)
curl -s "$PDP" | grep -oiE '<h[1-6][ >]' | wc -l
# T5: raw HTML size and, after server rendering, the size of the Next.js data blob
curl -s "$PDP" | wc -c
curl -s "$PDP" | grep -o '<script id="__NEXT_DATA__"[^<]*' | wc -c
# T6: is the main content in the raw HTML? Run this for all 5 key URLs.
curl -s -A "Mozilla/5.0 (compatible; GPTBot/1.1)" "$PDP" > raw.html
grep -c "12.50" raw.html # price (expect 0 today)
grep -c "application/ld+json" raw.html # JSON-LD (expect 0 today)
grep -o '<div id="__next">.\{0,60\}' raw.html # empty shell?
# T7: does the sitemap work on the headless domain, and is the URL form consistent?
curl -sI "$SITE/sitemap.xml" | head -5 # want 200 and an XML content type
curl -s "$SITE/sitemap.xml" | grep -o '<loc>[^<]*' | head -20
curl -s "$SITE/sitemap.xml" | grep -c "myshopify.com" # want 0
curl -sI "$SITE/collections/espresso-beans/" | grep -iE '^(HTTP|location)'
curl -sI "$SITE/collections/espresso-beans" | grep -iE '^(HTTP|location)'
# One form should return 200 and the other a 301 to it, matching your canonical tag and your sitemap.
# T8: Common Crawl
curl -s https://index.commoncrawl.org/collinfo.json \
| python3 -c "import json,sys; [print(c['id']) for c in json.load(sys.stdin)[:6]]" # newest crawl IDs
CRAWL=CC-MAIN-XXXX-XX # paste one ID from the list above
curl -s "https://index.commoncrawl.org/$CRAWL-index?url=www.example.com/*&output=json&limit=50" \
| python3 -c "import json,sys; [print(r.get('timestamp'), r.get('status'), r.get('url'), r.get('filename'), r.get('offset'), r.get('length')) if 'timestamp' in r else print(r) for r in map(json.loads, sys.stdin)]"
# Open one capture to see exactly what CCBot stored (use filename, offset and length from above):
FILE=crawl-data/...; OFFSET=0; LENGTH=0
curl -s -r $OFFSET-$((OFFSET+LENGTH-1)) "https://data.commoncrawl.org/$FILE" | gunzip | head -80
# 403 or 429 status codes in the index usually mean a CDN or firewall blocked CCBot.
# Old robots.txt versions, one line for each change:
curl -s "https://web.archive.org/cdx/search/cdx?url=www.example.com/robots.txt&fl=timestamp,statuscode,digest&collapse=digest"
# T9: schema. raw.html is the file from T6, so 0 here means bots without JavaScript see no schema.
grep -c "application/ld+json" raw.html
# Then: run Google's Rich Results Test on the URL (Google's view, with JavaScript)
# and paste raw.html into validator.schema.org > Code snippet (the view without JavaScript).
# Also check that the price in the GTM markup matches the price shown on the page.
# T10: Layer 3 endpoints
for p in /.well-known/oauth-authorization-server /.well-known/oauth-protected-resource /llms.txt; do
printf "%-42s " "$p"; curl -s -o /dev/null -w "%{http_code}\n" "$SITE$p"
done
# Shopify Storefront MCP (emerging). This is the endpoint as I know it from Shopify's docs, so check the current docs.
curl -s -X POST "https://YOUR-SHOP.myshopify.com/api/mcp" \
-H "Content-Type: application/json" \
-d '{"jsonrpc":"2.0","method":"tools/list","id":1}'
2. Layer totals and overall readiness
| Layer | Items scored | Points | Items that need a test | Best case if every untested item scores 2 |
|---|---|---|---|---|
| 1. Retrievability | 4 of 8 | 3 / 8 | 4 | 11 / 16 |
| 2. Meaning and ownership | 2 of 3 | 1 / 4 | 1 | 3 / 6 |
| 3. Agent actions | 0 of 1 (OAuth is likely not needed) | not scored | 1 | not scored |
| Overall | 6 | 4 / 12 (33%) | 6 | 14 / 22 (64%) |
Readiness scale (my own scale): Low 0–39%, Basic 40–69%, Good 70–89%, Strong 90% and up.
Overall readiness: Low. To AI crawlers that don't run JavaScript, your product pages are close to blank. Even if every untested item passes, you can't get past Basic (64%) until Fix 1 and Fix 2 are done, because those two zeros are on the most important items.
A note on Layer 3: today most AI agents use your site the way a person does, through a browser. For them, the div button and the form labels (Layer 1) matter much more than any Layer 3 protocol.
3. Fix plan
Do now (high impact, low effort)
- Render the key pages on the server (Fix 1). To be honest, this is medium effort, not low. But it's the blocker: nothing in Layers 1 and 2 reaches AI crawlers until it's done. Go in this order: product pages, collections, brew guides, the shipping page, then the homepage. Rough effort (a guess): a few days to two weeks of developer time, depending on how the data fetching is written now.
- Use a real "Add to cart" button, and labelled variant and quantity fields (Fix 2). About an hour. This also fixes an accessibility failure (the WCAG rules on keyboard access and on name, role and value).
- Rewrite robots.txt bot by bot (Fix 3). Allow AI search and answer bots, decide what to do about training bots, and add the optional, experimental Content-Signal line. About 15 minutes once you've made the business decision. Afterwards, run T2 to check that your CDN bot settings don't contradict the file.
- Put the product JSON-LD in the server HTML (Fix 4). Build it from the same Storefront API data as the page, then switch off the GTM product tag so there's only one source of truth.
- Add Organization and WebSite JSON-LD with a fixed
@idto the homepage, and link products to it (Fix 5). About 30 minutes. - Run the untested checks (T3–T8, T10). About 1–2 hours. Send me the output and I'll rescore.
Do next
- Brew guides: add a named author with a short bio page,
ArticleJSON-LD with anauthor(Fix 5), and visible published and updated dates. Don't bother withHowTomarkup for Google, because Google dropped HowTo rich results in 2023. - Shipping and returns: put your real rates, delivery times and returns window from
/pages/shipping/intoshippingDetailsandhasMerchantReturnPolicyon your offers, or into Google Merchant Center. Keep that page as plain text rendered on the server. "How much is delivery?" is a common question that AI answers try to quote. - Breadcrumbs: add
BreadcrumbListJSON-LD to collection and product pages (Home > Espresso beans > Ethiopia Yirgacheffe). - Fix what T3–T5 turn up: heading order, landmarks, DOM size and form labels.
- URL consistency: you listed your URLs with a trailing slash (
/collections/espresso-beans/), but Shopify-style URLs normally don't have one. Pick one form, 301-redirect the other to it, and make your canonical tags and sitemap match (T7). - Old theme copy: check that the old Shopify theme on your myshopify.com domain isn't open to crawlers as a duplicate of the store. My guess is that it may still be live. If it is, redirect it or turn it off, and confirm with your developer that this doesn't affect the Storefront API or checkout.
- Bing: submit the sitemap to Bing Webmaster Tools as well as Search Console. Microsoft Copilot answers draw on Bing's index.
- Monthly: check your CDN or server logs for AI bot visits: which bots, which pages, which status codes.
Watch only
- Agentic commerce on Shopify: Storefront MCP, Shopify's AI sales channels, Google's Universal Commerce Protocol (UCP), and OpenAI's Agentic Commerce Protocol (ACP, which powers ChatGPT Instant Checkout). All experimental or early, and as far as I know they launched in the US first, so check whether they're available to UK merchants. Shopify is building these into the platform, so you'll most likely switch them on in admin rather than build them yourself. Two points for a headless store:
- As far as I know, these channels read your Shopify catalog data, not your Next.js pages. Keep titles, descriptions, images and barcodes complete in Shopify admin.
- Your Next.js app owns
/api/*on www.example.com, so Shopify's MCP endpoint will probably only work on your myshopify.com domain (guess).
- WebMCP: an experimental browser proposal that lets pages offer actions to agents. There is only an early preview in Chrome so far, so there's nothing to do yet.
- OAuth metadata: only needed if you build an API or MCP server that agents log in to.
- llms.txt: if you want one, it's a 15-minute static file in
/public. Don't expect a measurable effect. - Content-Signal and the IETF's work on AI preferences: watch whether AI companies start to follow a standard signal.
4. Code and settings for the top 5 fixes
Fix 1: Render product pages on the server (Next.js Pages Router + Shopify Storefront API)
This assumes the Pages Router (guess 2). Use the same pattern for collections/[handle], pages/[handle] (brew guides and shipping) and the homepage, and remove the old data fetching in the browser.
// lib/shopify.js: Storefront API helper that runs only on the server
export async function shopifyFetch(query, variables = {}) {
const res = await fetch(
`https://${process.env.SHOPIFY_STORE_DOMAIN}/api/${process.env.SHOPIFY_API_VERSION}/graphql.json`, // use a current stable version
{
method: 'POST',
headers: {
'Content-Type': 'application/json',
// private token from the Headless channel; never sent to the browser
'Shopify-Storefront-Private-Token': process.env.SHOPIFY_STOREFRONT_PRIVATE_TOKEN,
},
body: JSON.stringify({ query, variables }),
}
);
const json = await res.json();
if (json.errors) throw new Error(JSON.stringify(json.errors));
return json.data;
}
// pages/products/[handle].js
import Head from 'next/head';
import { shopifyFetch } from '../../lib/shopify';
import AddToCart from '../../components/AddToCart';
import ProductJsonLd from '../../components/ProductJsonLd';
const PRODUCT_QUERY = `
query Product($handle: String!) {
product(handle: $handle) {
title handle vendor description descriptionHtml
featuredImage { url altText }
seo { title description }
variants(first: 20) {
nodes { id title sku availableForSale price { amount currencyCode } }
}
}
}
`;
export async function getStaticPaths() {
return { paths: [], fallback: 'blocking' }; // build each product on its first request, then cache it
}
export async function getStaticProps({ params }) {
const { product } = await shopifyFetch(PRODUCT_QUERY, { handle: params.handle });
if (!product) return { notFound: true, revalidate: 60 };
return { props: { product }, revalidate: 300 }; // rebuild in the background at most every 5 minutes
}
export default function ProductPage({ product }) {
const url = `https://www.example.com/products/${product.handle}`; // the same form as your canonical and sitemap
const { amount, currencyCode } = product.variants.nodes[0].price;
const price = new Intl.NumberFormat('en-GB', { style: 'currency', currency: currencyCode }).format(Number(amount));
return (
<>
<Head>
{/* put your brand in the title: today it's just "Ethiopia Yirgacheffe 250g" */}
<title>{`${product.seo.title || product.title} | Example Coffee`}</title>
<meta name="description" content={product.seo.description || product.description.slice(0, 155)} />
<link rel="canonical" href={url} />
</Head>
<main>
<h1>{product.title}</h1>
<p>{price}</p>
{product.featuredImage && (
<img src={product.featuredImage.url} alt={product.featuredImage.altText || product.title} />
)}
<div dangerouslySetInnerHTML={{ __html: product.descriptionHtml }} />
<AddToCart variants={product.variants.nodes} />
</main>
<ProductJsonLd product={product} url={url} />
</>
);
}
- After you deploy, run T6 again. The price and the JSON-LD should now be in
raw.html. - If you're on the App Router instead: make the page an async server component that calls
shopifyFetchdirectly, addexport const revalidate = 300, and set the title withgenerateMetadata. - For fresher prices and stock: add a Shopify
products/updatewebhook that callsres.revalidate('/products/<handle>')in an API route.
Fix 2: A real button and labelled fields
// components/AddToCart.jsx
import { useState } from 'react';
import { addToCart } from '../lib/cart'; // your existing cart function
export default function AddToCart({ variants }) {
const firstAvailable = variants.find((v) => v.availableForSale) ?? variants[0];
const [variantId, setVariantId] = useState(firstAvailable.id);
const [status, setStatus] = useState('');
const selected = variants.find((v) => v.id === variantId);
async function handleSubmit(e) {
e.preventDefault();
const quantity = Number(new FormData(e.currentTarget).get('quantity')) || 1;
setStatus('Adding…');
try {
await addToCart(variantId, quantity);
setStatus(`Added ${quantity} × ${selected.title} to your cart`);
} catch {
setStatus('Sorry, that could not be added. Please try again.');
}
}
return (
<form onSubmit={handleSubmit}>
{variants.length > 1 && (
<fieldset>
<legend>Grind</legend> {/* use your real option name; "Grind" is a guess */}
{variants.map((v) => (
<label key={v.id}>
<input
type="radio"
name="variant"
value={v.id}
checked={v.id === variantId}
disabled={!v.availableForSale}
onChange={() => setVariantId(v.id)}
/>
{v.title}{!v.availableForSale && ' (sold out)'}
</label>
))}
</fieldset>
)}
<label htmlFor="quantity">Quantity</label>
<input id="quantity" name="quantity" type="number" min="1" defaultValue="1" />
<button type="submit" disabled={!selected.availableForSale}>
{selected.availableForSale ? 'Add to cart' : 'Sold out'}
</button>
<p role="status">{status}</p>
</form>
);
}
Why this works:
- A native
<button>can take keyboard focus and works with Enter and Space. It appears in the accessibility tree as a "button" named "Add to cart", which is exactly what T3 looks for. - Labelled radio buttons give agents fields they can fill in.
role="status"reads the result out to screen readers.
Don't patch the div with role="button" tabindex="0". A native button is less code and correct out of the box. Give the <button> the same CSS class the div had, and it will look the same.
Fix 3: robots.txt (serve it from /public/robots.txt, or wherever your current file is generated)
# robots.txt for www.example.com
# Everyone else, including Googlebot and Bingbot
User-agent: *
Disallow: /cart
Disallow: /checkout
Disallow: /account
# EXPERIMENTAL: Cloudflare's Content Signals proposal, not a standard
Content-Signal: search=yes, ai-input=yes, ai-train=no
# AI search and fetches a user asks for: ALLOWED (they quote you and link to you)
User-agent: OAI-SearchBot
User-agent: ChatGPT-User
User-agent: PerplexityBot
User-agent: Perplexity-User
User-agent: Claude-SearchBot
User-agent: Claude-User
Disallow: /cart
Disallow: /checkout
Disallow: /account
# AI model training: BLOCKED (a business choice, see the notes)
User-agent: GPTBot
User-agent: ClaudeBot
User-agent: Applebot-Extended
User-agent: Meta-ExternalAgent
User-agent: Bytespider
User-agent: CCBot
Disallow: /
Sitemap: https://www.example.com/sitemap.xml
Notes:
- Each group repeats the cart, checkout and account rules. A bot follows only the most specific group that names it.
- Google-Extended is left out on purpose. It's a control token, not a crawler. Google says it covers both Gemini training and grounding, which means using your content in live Gemini answers. Blocking it would cost you Gemini answers, and it never affected Google Search or AI Overviews anyway (those use normal Googlebot).
- Training is your call. My honest view for a shop is that allowing training costs you little, because product pages are marketing, and it helps models "know" your brand. If you agree, delete the training block, or keep CCBot blocked only if you also want to stay out of Common Crawl's datasets. If you allow training, change
ai-train=notoyesso the signal matches. - User-triggered bots may not follow robots.txt. Some vendors say robots.txt may not apply to fetches a person asks for (ChatGPT-User, Perplexity-User, Claude-User). Those lines mainly record your intent.
Fix 4: Product JSON-LD in the server HTML (replaces the GTM tag)
// components/ProductJsonLd.jsx: rendered on the server together with the page
const ORG_ID = 'https://www.example.com/#organization';
export default function ProductJsonLd({ product, url }) {
const data = {
'@context': 'https://schema.org',
'@type': 'Product',
'@id': `${url}#product`,
name: product.title,
description: product.description,
image: product.featuredImage?.url,
url,
brand: { '@type': 'Brand', name: product.vendor }, // your roastery brand (guess 4); use the roaster's name if you resell
offers: product.variants.nodes.map((v) => ({
'@type': 'Offer',
name: v.title,
sku: v.sku,
price: Number(v.price.amount).toFixed(2), // "12.50"
priceCurrency: v.price.currencyCode, // "GBP"
availability: v.availableForSale ? 'https://schema.org/InStock' : 'https://schema.org/OutOfStock',
url,
seller: { '@id': ORG_ID }, // links to the store entity in Fix 5
})),
};
return (
<script
type="application/ld+json"
// escape "<" so product text can't break out of the script tag
dangerouslySetInnerHTML={{ __html: JSON.stringify(data).replace(/</g, '\\u003c') }}
/>
);
}
Then:
- Turn off the GTM product schema tag, so the page doesn't carry two Product blocks that might not match.
- Check the result with the Rich Results Test (Google's view) and with T9 (the view without JavaScript).
- Add
aggregateRatingonly if real reviews are visible on the page. Add shipping and returns as described under Do next.
Fix 5: Entity map (brand, products, authors)
How the pieces connect:
Example Coffee (OnlineStore, @id …/#organization)
├── publishes → www.example.com (WebSite, @id …/#website)
├── sells → Ethiopia Yirgacheffe 250g (Product: brand = your brand, seller = #organization)
└── employs → Head roaster (Person) ── writes → Brew guides (Article: author = that Person)
// components/SiteJsonLd.jsx: render on the homepage (pages/index.js)
const ORG_ID = 'https://www.example.com/#organization';
const site = {
'@context': 'https://schema.org',
'@graph': [
{
'@type': 'OnlineStore', // a more specific kind of Organization
'@id': ORG_ID,
name: 'Example Coffee', // your exact trading name, spelled the same everywhere
url: 'https://www.example.com/',
logo: 'https://www.example.com/logo.png',
description: 'Specialty coffee beans and brewing gear, roasted and shipped in the UK.', // based on guesses 4 and 5
sameAs: ['https://www.instagram.com/YOUR-HANDLE'], // your real profiles only
contactPoint: { '@type': 'ContactPoint', contactType: 'customer service', email: 'hello@example.com' },
},
{
'@type': 'WebSite',
'@id': 'https://www.example.com/#website',
url: 'https://www.example.com/',
name: 'Example Coffee',
publisher: { '@id': ORG_ID },
},
],
};
export default function SiteJsonLd() {
return <script type="application/ld+json" dangerouslySetInnerHTML={{ __html: JSON.stringify(site) }} />;
}
// For each brew guide, in pages/pages/[handle].js (this is the Next.js route for /pages/:handle).
// `page` comes from the Storefront API page(handle:) query. The author must be a real, named person.
const article = {
'@context': 'https://schema.org',
'@type': 'Article',
headline: page.title,
url: pageUrl,
datePublished: page.createdAt,
dateModified: page.updatedAt,
author: {
'@type': 'Person',
'@id': 'https://www.example.com/pages/about#head-roaster',
name: 'REAL NAME',
jobTitle: 'Head roaster',
url: 'https://www.example.com/pages/about',
worksFor: { '@id': 'https://www.example.com/#organization' },
},
publisher: { '@id': 'https://www.example.com/#organization' },
};
5. Summary for a non-technical manager
Our shop works well for people, but most AI tools see an almost empty page. Our product pages are put together in the shopper's browser, and the bots behind tools like ChatGPT, Claude, Perplexity and Common Crawl skip that step, so all they see is a product name, with no price, description or brand. We also block Perplexity's search bot, probably by accident, which keeps us out of its answers. And our "Add to cart" button isn't a real button, which hurts both shoppers who use screen readers and AI shopping assistants. The fixes are proven, standard web practice, not hype. We need to have the server build the pages, which is the biggest job (my rough guess is a few days to two weeks of developer time). We also need to fix the button, update the one settings file that tells bots what they may do, and add standard product and company data to each page. Newer things like AI checkout protocols are still early, and Shopify will probably provide them for us, so we should watch them rather than spend money on them now. Today we score 4 out of 12 on the items we could check (Low). Once the fixes and the remaining tests are done, we'll score again.
The prompt
First lines open so you can see how it is built. The rest opens after purchase.
#ROLE You are a technical SEO expert who audits websites for AI search readiness. Audit my site in 3 layers, score each item and give me a prioritized fix plan. #INPUTS Fill in every line. Leave a line blank if you don't know it. - Website: [WEBSITE URL] - Site type: [e.g., ecommerce, SaaS, publisher, local business] - Tech stack: [e.g., WordPress, Shopify, Next.js, custom]
How to use it
- Buy, then open it in your account.
- Copy the prompt into ChatGPT, Claude or Gemini.
- Replace the 6 inputs with your product.
- Run it. Use the output. Re-run with a different tone if you like.
Pro tips
- Paste the raw HTML (view-source), not what you see in DevTools. Many AI crawlers only read the raw version.
- Do the 'fix now' group first. The 'watch only' items are early ideas that may change.
- Run the audit again after each big release. Front-end changes can break AI readability without anyone noticing.
Before you buy
- Will it work for my product?
- Yes, if you can fill the 6 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 AI Search & Bots
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.