How It Works
How AI Assistants Find and Cite Websites (A Field Guide)
For most specific or current questions, AI assistants search a catalog of web pages, read the best matches and link to the pages they used. Your page has to pass five steps to get that link: fetched, stored, matched, read and chosen. Each step has its own common problem, from a blocked bot to a page that never actually answers the question.
- Source links come from pages looked up live, not from what the AI learned in training.
- Many AI bots don't run JavaScript, so your words need to be in the page itself.
- Pages that answer the question in the first sentences are the easiest to cite.
- Fix problems in order: access, indexing, readability, matching, then answer quality.
On this page
Picture someone standing in their yard in October, phone in hand, asking an assistant: "When should I aerate my lawn?" A few seconds later they get a tidy two-sentence answer with little numbered links underneath.
Behind that answer is a real, step-by-step process. Bots fetched pages. Search indexes (giant catalogs of web pages) stored them. Something picked a handful of pages and read them. If a competitor gets that little link and you don't, the reason is almost always in one of those steps.
First, Two Kinds of "Knowing"
AI assistants know about websites in two very different ways.
| Training | Live lookup | |
|---|---|---|
| What happens | Pages collected in the past help train the model | Pages are looked up when someone asks a question |
| What it affects | The model's general background knowledge | The specific answer and its sources |
| Do you get a link? | No | Usually yes, as a citation |
| Example bots | GPTBot, ClaudeBot | OAI-SearchBot, Claude-SearchBot, PerplexityBot |
Training is like reading a lot of books years ago. A live lookup is like checking a book that's open on the table right now. Source links come from live lookups, so that's where your effort pays off.
The Five Steps From Page to Citation
Step 1: Crawled
Before anyone asks anything, bots (often called crawlers) visit your site and download pages. Each assistant has its own search bot:
- OpenAI uses OAI-SearchBot for ChatGPT search. OpenAI says sites that opt out of it won't be shown in ChatGPT search answers, though they can still appear as navigational links.
- Anthropic uses Claude-SearchBot. Anthropic says blocking it stops Claude from indexing your content for search.
- Perplexity uses PerplexityBot to surface and link websites in its results.
- Google uses its regular bot, Googlebot. AI Overviews and AI Mode use the same catalog as regular Google Search.
Where pages fall out: a robots.txt rule, a firewall, or a "block AI bots" switch at your CDN (a service that sits in front of your site to speed it up and filter traffic). Any of these can turn the bot away before it reads a word. Google's guidance for AI features says to check your CDN and hosting, not just robots.txt. Our robots.txt guide lists which bots to let in.
Step 2: Indexed
After a bot fetches a page, the page gets stored in a search index so it can be found later. "Indexed" just means listed in that catalog. For Google, it's the same index behind regular results. A page has to be indexed and allowed to show a preview snippet to appear as a link in AI Overviews.
Where pages fall out: pages that nothing links to, pages missing from your sitemap, duplicate pages, or pages accidentally tagged noindex (a tag that tells search engines not to list the page).
To check a page in Google:
- Open Google Search Console and pick your site.
- Paste the page's full address into the search bar at the top and press Enter.
- Read the result. URL is on Google means it's indexed. URL is not on Google means it isn't, and the report usually says why.
Step 3: Retrieved
Now someone asks a question. The assistant turns it into one or more searches and pulls back the best-matching pages. Bing calls these searches grounding queries, and you'll see that name in its reports.
This is where wording matters. If your customers ask "when should I aerate" and your page only ever says "core cultivation services," you've made the match harder than it needs to be.
Where pages fall out: the page is on the right topic but never uses the words people actually ask with. Headings that match real questions help a lot.
Step 4: Read
The assistant reads the text of those pages. Sometimes it uses the copy stored in the index. Sometimes a bot sent on a person's behalf, like ChatGPT-User, Claude-User or Perplexity-User, fetches the page fresh.
This step catches a lot of modern sites. In a December 2024 study of bot traffic, Vercel found that none of the major AI bots it measured ran JavaScript (the code that builds some pages in the browser). That included OpenAI's bots, ClaudeBot and PerplexityBot. Gemini, which uses Googlebot's systems, could.
Where pages fall out: pages built with JavaScript that arrive as an empty shell. To a bot that skips JavaScript, there's nothing to read. Here's the two-minute test to see if that's you.
Step 5: Cited
Finally, the assistant writes its answer and links the sources it used. Nobody outside these companies knows exactly how sources are picked, and it changes. But cited pages tend to share one thing: a passage that answers the question clearly enough to repeat.
Where pages fall out: the page talks around the topic (company history, values, "quality service") without ever giving the answer.
What Makes a Page Easy to Cite
Hard to use
- Answer buried in paragraph four
- "Contact us for pricing"
- Key info only inside an image or PDF
- Headings like "Our Approach"
- No date, no sources
Easy to use
- Answer in the first two sentences
- Real price ranges and timeframes
- Important facts written as text
- Headings like "How Much Does It Cost?"
- A visible updated date and linked sources
Several of these come straight from Google's AI features guidance. Link to important pages from your other pages. Keep important content in text. Support it with good images and video. And keep your structured data (labels in your page's code that tell search engines what things are) matching what's visible on the page.
The rest is how people like to read, too. For more, see How to Write Answer-First Content.
A handy test
Pick any section of your page and imagine it pasted, alone, into someone else's answer. Does it still make sense? Is it still correct? If so, it's citation-ready.
When a Person Sends the Bot
Not every visit from an assistant is a bot on its own schedule. When someone pastes your web address into ChatGPT, Claude or Perplexity and asks about it, a bot fetches the page for that person.
These bots play by slightly different rules:
- OpenAI says robots.txt rules may not apply to ChatGPT-User, because a person initiated the visit.
- Perplexity says Perplexity-User generally ignores robots.txt for the same reason.
- Anthropic says blocking Claude-User stops Claude from retrieving your content for user requests.
Either way, the fix is the same: if your words are in the page itself and the answer is clear, these visits go well.
A Troubleshooting Order That Saves Time
If you're not being cited, check in this order. Each step depends on the one before it.
- Access. Can OAI-SearchBot, Claude-SearchBot, PerplexityBot and Googlebot reach the page? Check robots.txt and any bot settings at your host or CDN.
- Indexing. Is the page in your sitemap, linked from other pages and showing as indexed in Search Console?
- Readability. Right-click the page and choose View Page Source. Is your main text there, or does it only appear after JavaScript runs?
- Matching. Do your headings and opening lines use the words customers actually use?
- Answer quality. Does the page state a clear, specific, current answer early on?
- Competition. If everything above is fine, look at who is being cited. Their page might simply be more specific. You can fix that too.
How to Watch It Happen
- Bing Webmaster Tools has an AI Performance report. It shows how often Copilot and Bing's AI summaries cite you, which pages they cite and a sample of the grounding queries behind them.
- Google Search Console counts AI Overviews and AI Mode visits inside the Performance report, under the Web search type.
- Google Analytics 4 can put visits from AI assistants in their own group in your traffic reports. Here's how.
- Your own spot checks. Once a month, ask assistants the same handful of customer questions and note who gets cited.
Where Moonlit Tools Fits
A Moonlit Tools scan checks the first steps of this chain on your own site: crawler access in robots.txt, snippet controls, and whether pages have text and headings a bot can read. On paid plans it also asks ChatGPT and Perplexity up to 5 of your questions each week and records whether the answers cite you. See it in the demo.
Frequently Asked Questions
Does blocking GPTBot remove me from ChatGPT search?
No. GPTBot is OpenAI's bot for content that may be used to train its models. ChatGPT search uses OAI-SearchBot. You can block one and allow the other.
Does Google have a special crawler for AI Overviews?
No. Google says its AI features use the same Googlebot visits and the same index as regular Search. Google-Extended is a separate setting for how your content is used in other Google AI systems.
Why does an assistant cite a page that's worse than mine?
Sometimes the other page is easier to read or more specific. Sometimes your page got stuck on an earlier step, like a blocked bot or text that only appears with JavaScript. Work through the checklist above before rewriting anything.
How quickly do changes show up?
It depends on the bot. OpenAI says robots.txt changes for its search systems can take about 24 hours. Google says recrawling can take anywhere from a few days to a few weeks. Content changes usually take longer to show up than access fixes.
Sources
- AI features and your website, Google Search Central
- Overview of OpenAI crawlers, OpenAI
- Ask Google to recrawl your URLs, Google Search Central
- Anthropic's crawlers, Anthropic
- Perplexity crawlers, Perplexity
- The rise of the AI crawler, Vercel, December 2024
- Introducing AI Performance in Bing Webmaster Tools Public Preview, Microsoft Bing
See What Google and AI Tools Can Read
Moonlit Tools reads your site the way search engines and AI assistants do, then tells you what to fix first and shows you why. Scan your own website free. No card needed.
Scan Your Site Free Or apply for 90 days of Launch free