Docs
Open Okidoki

AI assistants and crawlers

Visitors from ChatGPT, Perplexity, Claude and Gemini, and which AI crawlers read your pages.

More and more people ask an AI assistant instead of searching. Okidoki shows which assistants send you visitors, and, if your server reports them, which AI crawlers read your pages. You find it in your dashboard under Reports, as Does AI send people here?

#Assistants

When an answer in an AI assistant links to your site and someone clicks, the visit comes from the assistant's site. Okidoki recognises these:

AssistantRecognised from
ChatGPTchatgpt.com, chat.openai.com
Perplexityperplexity.ai
Claudeclaude.ai
Geminigemini.google.com
Copilotcopilot.microsoft.com
Meta AImeta.ai
Grokgrok.com
DeepSeekchat.deepseek.com
Mistralchat.mistral.ai
Other AIyou.com, phind.com

These visits are in the channel AI assistants, so you can filter every report by it. See Sources and channels.

Okidoki cannot see what someone asked the assistant. Some assistant apps send no referrer at all, and those visits show up as direct.

#AI crawlers

AI companies also send crawlers that read your pages, to train models, to build a search index, or to answer someone right now. Crawlers do not run JavaScript, so the Okidoki script never sees them. Your site's own server can report them with one request each.

Report an AI crawler
POST https://okidoki.sh/api/event
{"k":"ok_your_site_key","t":"b","p":"/pricing","a":"<the request's user agent>"}

Send the body as plain text or JSON. Okidoki keeps only the crawler's name and the path. A request from anything that is not a known AI crawler is dropped.

In Next.js middleware it looks like this:

middleware.ts
import { NextResponse, type NextFetchEvent, type NextRequest } from 'next/server';

const AI_CRAWLERS = /GPTBot|OAI-SearchBot|ChatGPT-User|ClaudeBot|Claude-User|Claude-SearchBot|PerplexityBot|Perplexity-User|Google-Extended|Bytespider|CCBot|meta-external/i;

export function middleware(req: NextRequest, event: NextFetchEvent) {
  const ua = req.headers.get('user-agent') ?? '';
  if (AI_CRAWLERS.test(ua)) {
    event.waitUntil(
      fetch('https://okidoki.sh/api/event', {
        method: 'POST',
        body: JSON.stringify({ k: 'ok_your_site_key', t: 'b', p: req.nextUrl.pathname, a: ua }),
      }),
    );
  }
  return NextResponse.next();
}

The crawlers Okidoki knows:

CrawlerCompanyReads pages for
GPTBotOpenAITraining
OAI-SearchBotOpenAISearch
ChatGPT-UserOpenAIAnswer now
ClaudeBotAnthropicTraining
Claude-SearchBotAnthropicSearch
Claude-UserAnthropicAnswer now
PerplexityBotPerplexitySearch
Perplexity-UserPerplexityAnswer now
Google-ExtendedGoogleTraining
Gemini-Deep-ResearchGoogleAnswer now
Applebot-ExtendedAppleTraining
Meta-ExternalAgentMetaTraining
Meta-ExternalFetcherMetaAnswer now
BytespiderByteDanceTraining
CCBotCommon CrawlTraining
MistralAI-UserMistralAnswer now
DuckAssistBotDuckDuckGoAnswer now
AmazonbotAmazonSearch

Training crawlers collect pages to train models. Search crawlers build an index for AI search. Answer now crawlers fetch a page because someone asked about it right now.

Crawler requests are never counted as visitors or page views. They only show up in this list.

#For agents

The sources report has ai_assistants (visitors per assistant) and ai_crawlers (fetches per crawler, with owner and purpose).