In 2023 and 2024, security plugins encouraged merchants to paste a blanket AI block into robots.txt. That single snippet still sits on thousands of storefronts today. Setting up robots.txt for AI crawlers requires separating model-training scrapers from shopping-search indexers. Block the wrong user agent and your products vanish from ChatGPT search and Perplexity answers overnight.
How Robots.txt for AI Crawlers Splits Training From Search
AI platforms no longer use one crawler for every job. OpenAI documents four distinct user agents in its official crawler specification (OpenAI Crawlers). OAI-SearchBot indexes pages to surface websites inside ChatGPT search results. GPTBot crawls content that may be used to train OpenAI foundation models. The two controls run independently.
OpenAI states the consequence plainly. Sites that opt out of OAI-SearchBot will not be shown in ChatGPT search answers, though navigational links can still appear. Allowing OAI-SearchBot while disallowing GPTBot keeps your catalog eligible for ChatGPT search without consenting to foundation-model training. Updates to robots.txt take roughly 24 hours for OpenAI's search systems to reflect.
Perplexity draws a similar line in its crawler documentation (Perplexity Crawlers). PerplexityBot gathers and links websites in search results on Perplexity. Perplexity states that PerplexityBot is never used to crawl content for AI foundation models, and robots.txt changes take up to 24 hours to register. Read how search indexing shapes product picks in our guide on how ChatGPT picks products to recommend.
Compare the Bots Visiting Your Online Store
Writing clean robots.txt for AI crawlers starts with knowing what each user agent actually does. Live user-triggered fetchers behave differently from background crawlers. When a shopper asks ChatGPT or a Custom GPT to inspect a page, OpenAI sends ChatGPT-User. Because a person initiated that request, OpenAI notes that robots.txt rules may not apply, and ChatGPT-User never decides Search eligibility.
Perplexity runs Perplexity-User for the same reason. When a shopper asks Perplexity a question, Perplexity-User visits pages to answer and cite links, generally ignoring robots.txt rules because a human requested the fetch. OpenAI also operates OAI-AdsBot to check landing-page safety on submitted ChatGPT ads.
| User Agent | Operator | Primary Role | Obeys robots.txt? | Recommended Store Setting |
|---|---|---|---|---|
OAI-SearchBot | OpenAI | Surfaces and links store pages in ChatGPT search answers. | Yes (~24h sync) | Allow: / (disallow cart and checkout). |
GPTBot | OpenAI | Crawls public content for foundation-model training. | Yes | Disallow: / if opting out of training; Allow: / otherwise. |
ChatGPT-User | OpenAI | Visits pages on live user actions in ChatGPT. | User-initiated | Allow through CDN/WAF on public product URLs. |
PerplexityBot | Perplexity | Indexes and links websites in Perplexity search results. | Yes (up to 24h) | Allow: / (not used for model training). |
Perplexity-User | Perplexity | Fetches pages during live Perplexity user queries. | User-initiated | Allow published IP ranges in Cloudflare WAF. |
OAI-AdsBot | OpenAI | Validates landing pages submitted as ChatGPT ads. | Ads check | Keep landing pages reachable if running ChatGPT ads. |
Sites that are opted out of OAI-SearchBot will not be shown in ChatGPT search answers, though can still appear as navigational links.
Copy-Paste Store Rules and Check Your CDN Firewall
Use an explicit policy in robots.txt for AI crawlers instead of a wildcard block. Suppose your store wants full discovery in ChatGPT search and Perplexity while opting out of OpenAI foundation-model training. Your rules look like this:
User-agent: OAI-SearchBot
Allow: /
Disallow: /cart
Disallow: /checkout
Disallow: /account
User-agent: PerplexityBot
Allow: /
Disallow: /cart
Disallow: /checkout
Disallow: /account
User-agent: GPTBot
Disallow: /Do not stop after saving robots.txt. Edge security tools frequently override your text file. Cloudflare's AI Crawl Control documentation explains how edge rules monitor and block crawlers independently of origin files (Cloudflare AI Crawl Control). If Cloudflare Bot Fight Mode challenges Perplexity or OpenAI IP ranges, crawlers hit an HTTP 403 wall. That hidden firewall block is a common reason Perplexity skips an online store.
Verify source IPs against the JSON lists each operator publishes. OpenAI publishes openai.com/searchbot.json for search crawlers. Perplexity publishes perplexity.ai/perplexitybot.json for its search index. Check both IP lists in your firewall. Spoofed scrapers often copy user-agent strings without matching official IP ranges.

Measure Crawler Visits Separately From Real Shoppers
Once you open access, automated fetches rise fast. Never mix those bot hits with buyer sessions. Bot hits never pay at checkout. In Arbling's published single-day observation from October 3, 2026 (UTC) on its own site and blog (3,209 Bot Requests in One Day), the retained tenant counters recorded 557 named agent-crawl event documents across 36 declared catalogue IDs alongside 2,652 unknown counter increments and 1,613 browser-like counter increments (which included internal test runs). Within those 557 named crawl documents, the native split showed 276 search, 158 training, and 123 fetcher events (276 search, 204 training, and 77 fetcher after reclassifying 46 Meta-ExternalAgent events), while auxiliary ChatGPT-referral increments stood at 7.
Those numbers teach a clear measurement rule. Event documents and human visits differ completely. Unknown counter increments do not prove AI origin either. Read our practical guide on how to tell AI crawler visits from buyers so your analytics stay honest.
Allowing crawlers in only opens the front door. Once OAI-SearchBot and PerplexityBot fetch a product URL, they need clean structured data and visible product specs to answer buyer questions. Check your store's AI Readiness Score with Arbling's free scan to verify robots.txt rules, server-side bot recognition across 186 catalogued AI visitor types, and product-page completeness in one pass.
Frequently Asked Questions About Store Crawler Rules
Frequently asked questions
No, provided you allow OAI-SearchBot. OpenAI documents that GPTBot and OAI-SearchBot operate independently. Disallowing GPTBot opts out of foundation-model training while allowing OAI-SearchBot keeps your pages eligible for ChatGPT search results.
In your Shopify admin, open Online Store, choose Themes, click Edit code, and add the robots.txt.liquid template. Add custom user-agent groups for OAI-SearchBot, GPTBot, and PerplexityBot while preserving Shopify's default checkout and cart disallows.
Both OpenAI and Perplexity document that user-initiated fetchers act when a human asks a live question. Because a user triggered the visit rather than an automated web crawl, robots.txt rules generally do not apply to those fetches.
No. Allowing search crawlers in robots.txt and your WAF only makes your pages reachable. Assistants still compare your visible product facts, structured Offer schema, stock availability, and third-party citations before naming a store.