To optimize your website for ChatGPT and Perplexity, work in five steps, in this order. First, check what their answers say about your category and which pages they cite. Second, make sure their crawlers can fetch and read your pages. Third, rewrite the pages that should be cited so they answer buyer questions directly. Fourth, confirm Google and Bing index those pages. Fifth, measure the visits that AI assistants send you.
The order matters. A page a crawler can't fetch can't be cited, however good the writing is. So check access before you spend time on content.
This is a workflow guide. For what AEO is and how AI assistants choose sources in general, read the AEO guide. For the numbers to track once the work is done, read AI search visibility metrics: 12 KPIs.
Check answers, then access, then content, then indexing, then referrals. Each step has its own evidence. Write down what you find at each step, so you can tell later which change made the difference.
How ChatGPT and Perplexity find pages to cite
Both assistants answer many questions by searching the web and linking to the pages they used.
- ChatGPT uses OpenAI's OAI-SearchBot to find pages for ChatGPT search. OpenAI says sites that opt out of OAI-SearchBot will not be shown in ChatGPT search answers. A separate agent, ChatGPT-User, fetches pages when a person asks ChatGPT something. GPTBot is for model training and does not control search (OpenAI crawler documentation).
- Perplexity uses PerplexityBot to find and link sites in its search results. Perplexity-User fetches pages when a person asks a question (Perplexity crawler documentation).
Neither company publishes how it picks which pages to cite. You control three things: whether their crawlers can reach your pages, whether those pages answer the question clearly, and whether other sites they trust mention you.
Step 1: Check what AI answers say and cite today
Start with evidence, not guesses.
- Write your buyer questions. List 20 to 40 questions a customer asks before choosing a product like yours. Include category questions ("best invoicing app for freelancers"), comparisons ("Brand A vs Brand B"), problem questions ("how do I chase late invoices") and questions that name your brand.
- Ask each question in ChatGPT and Perplexity. Make sure ChatGPT is searching the web for the answer. Ask each question more than once, because answers vary between runs.
- Record four things per answer. Is your brand mentioned? Is it recommended? Does the answer link to your site? Which other sites does it cite?
- Pull out the gaps. List the questions where you are absent, and the pages and domains cited instead.
The output of this step is a short list: questions you want to win, and the sources currently winning them.
VisibilityKit Intelligence runs buyer questions through ChatGPT, Perplexity and Google AI Overviews. It keeps every answer and cited source, and ranks what to fix. To try it by hand first, use the free AI prompt library and Citation Checker.
Step 2: Diagnose crawl access
Now check that the pages you want cited can actually be fetched and read.
robots.txt
Decide which AI crawlers you allow, and write a group for each one you name. A crawler follows only the group that names it most specifically. Rules under User-agent: * do not carry over into a named group, so repeat any Disallow lines you need (Google's robots.txt guide).
A setup that allows AI search crawlers looks like this:
# AI search crawlers: needed to appear in ChatGPT and Perplexity search User-agent: OAI-SearchBot Allow: / User-agent: PerplexityBot Allow: / # Training crawler: a separate business decision # User-agent: GPTBot # Disallow: / Sitemap: https://www.example.com/sitemap.xml
Keep three facts in mind:
- Blocking GPTBot stops your content being used for OpenAI model training. It does not remove you from ChatGPT search. OAI-SearchBot controls that.
- OpenAI says ChatGPT search can take about 24 hours to reflect a robots.txt change.
- User-triggered fetchers work differently. OpenAI says robots.txt rules may not apply to ChatGPT-User. Perplexity says Perplexity-User generally ignores robots.txt.
The free robots.txt generator writes groups for AI crawlers if you'd rather not edit the file by hand.
CDN, firewall and bot protection
A CDN or firewall can block a crawler before it ever reads robots.txt. Check your CDN's bot and AI crawler settings, and any firewall rules that challenge unknown visitors.
A quick test is to request a page while sending a crawler's user agent:
curl -s -o /dev/null -w "%{http_code}\n" \
-A "Mozilla/5.0 (compatible; OAI-SearchBot/1.0; +https://openai.com/searchbot)" \
https://www.example.com/pricing
A 200 is a good sign. A 403, 429 or a challenge page means something is in the way. This test has a limit: rules that check IP addresses treat your test differently from the real crawler. The real evidence is in your server logs. VisibilityKit Tracker counts the AI crawler requests your server receives, so you can see whether OAI-SearchBot and PerplexityBot actually arrive.
Rendering
Check that each important page's main text is in the HTML your server returns, before any JavaScript runs. Most AI crawlers don't say whether they run JavaScript, so assume text loaded only by script may be missed. Google does render JavaScript, but it can be delayed (Google's JavaScript SEO basics).
A quick test is to look for a sentence from the page in the raw HTML:
curl -s https://www.example.com/pricing | grep -c "a sentence from the page"
A result of 0 means that text only appears after JavaScript runs.
Status codes, redirects and canonicals
Priority pages should return 200, reach their final address in one redirect at most, and declare themselves as canonical. The technical SEO audit checklist and the guide to redirect chains cover these checks in detail.
VisibilityKit Crawler runs these checks across the whole site. It compares raw and rendered HTML, and re-checks the affected pages after you ship a fix, so you have proof the fix worked.
Step 3: Fix content and structure
With access confirmed, go back to the gaps from Step 1.
- Give each target question one page. Map every question you want to win to the page that should answer it. If no page fits, write one.
- Answer first. Open the page or section with a direct answer in one to three sentences. Put the detail after it.
- Use headings that match how buyers ask. A heading such as "How much does it cost for a team of ten?" is easier to match to a question than "Pricing philosophy".
- Make each section stand on its own. An assistant may quote one section without the rest of the page. Name the product and topic again instead of writing "as mentioned above".
- State facts plainly. Say who the product is for, how pricing works, what it connects to and what it does not do. Keep these facts the same across your site, docs and listings.
- Write fair comparison pages. Compare yourself with the alternatives buyers name, including where a competitor is the better fit. One-sided pages are less useful to readers and to assistants.
- Show your sources. Link to the data behind your claims. Name the author and date the page.
- Earn mentions where assistants already look. Step 1 showed which review sites, directories, communities and publications get cited. Make sure your listings there are accurate and current, and take part honestly.
A few things matter less than people expect:
- Structured data helps search engines understand a page when it matches the visible content. Neither OpenAI nor Perplexity documents using it to pick citations. Google says AI Overviews and AI Mode need no special markup (Google's AI features guide). Google no longer shows FAQ rich results, so don't add FAQ markup for that reason.
- llms.txt is optional. OpenAI, Perplexity and Google don't document using it to choose sources for answers.
Step 4: Confirm Google and Bing indexing
Search indexes are one of the main routes into AI answers.
- Google. To be a supporting link in AI Overviews or AI Mode, a page must be indexed and eligible to show a snippet (Google's AI features guide). Submit your sitemap in Search Console. Check the Page indexing report, and use the URL Inspection tool on priority pages. You can request indexing for an important page, but Google decides whether and when to list it.
- Bing. Set up Bing Webmaster Tools. You can import your site from Search Console. Submit your sitemap there too. IndexNow lets you tell Bing and other participating search engines when a page changes. Google does not use IndexNow.
VisibilityKit Indexer connects to your Search Console and shows which pages Google lists and why the others are left out, in plain words. It sends the pages that are ready through Search Console and emails you if one drops out. It cannot make Google list a page.
Step 5: Measure the referrals that result
Last, check whether the work brings visitors.
- Report AI referrals as their own channel. Split them by assistant: ChatGPT, Perplexity, Gemini, Claude and others. VisibilityKit Tracker does this for you.
- Look at landing pages. Are AI visitors arriving on the pages you rewrote in Step 3? A page that is cited but gets no visits may be cited for a fact. It may need a clearer next step.
- Track outcomes. Sign-ups, demo requests or purchases show whether AI visibility matters for your business.
- Watch crawler requests as an early signal. Rising OAI-SearchBot and PerplexityBot requests on your changed pages usually come before any change in answers.
- Re-run your Step 1 questions. Do it once crawlers have had time to return. Compare mentions, recommendations and citations with your baseline.
Expect AI referrals to be undercounted. Some apps don't pass a referrer, so some AI visits show up as Direct. For a full list of what to track, see AI search visibility metrics: 12 KPIs.
The whole workflow on one page
Five steps, the evidence and the tool
| Step | Evidence to collect | VisibilityKit product |
|---|---|---|
| 1. Check AI answers | Mentions, recommendations, citations and cited sources for your buyer questions | Intelligence |
| 2. Diagnose crawl access | robots.txt groups, server responses to AI crawlers, raw HTML, crawler requests in logs | Crawler, plus Tracker's crawler counts |
| 3. Fix content and structure | One page per target question, a direct answer first, consistent facts | Crawler to re-check changed pages |
| 4. Confirm indexing | Google and Bing index status for priority pages | Indexer |
| 5. Measure referrals | AI visits by assistant, landing pages and outcomes | Tracker |
Each product is priced separately and has a free way to start. See pricing.
A worked example
This example is illustrative
The company and the details below are made up to show how the steps connect. They are not customer results.
A small invoicing app for freelancers wants to appear when people ask ChatGPT and Perplexity for invoicing tools.
- Answers. Across 25 buyer questions, both assistants mention the app on a few brand questions. Neither cites it for category questions. Perplexity keeps citing two review sites and a competitor's "best invoicing apps" article.
- Access. robots.txt allows everything. But the CDN's bot setting challenges unknown crawlers, and the server logs show no PerplexityBot requests. The pricing page loads its plan table with JavaScript, so the raw HTML has no prices in it.
- Content. The team turns off the challenge for verified search crawlers and puts the plan table in the server-rendered HTML. It writes a page for "invoicing app for freelancers in the UK" that answers in its first paragraph. It also adds a fair comparison page and corrects its listing on one of the cited review sites.
- Indexing. Search Console shows the new comparison page as discovered but not yet indexed. The team adds links to it from the pricing page and the blog, and requests indexing.
- Referrals. PerplexityBot requests appear in the crawler counts within days. The team waits for the pages to be crawled again, then re-runs the same 25 questions. It compares the results with the baseline, and watches AI referrals to the new pages over the following month.
Frequently asked questions
Optimizing for ChatGPT and Perplexity: common questions
Related guides
- How to rank in ChatGPT: more detail on ChatGPT specifically.
- How to get cited in Perplexity: more detail on Perplexity specifically.
- AI search visibility metrics: 12 KPIs: what to track once the work is done.
- The AEO checklist: a longer list of individual optimizations.
Start with Step 1
See what ChatGPT, Perplexity and Google AI Overviews say about your brand, which sources they cite, and what to fix first.
Explore Intelligence