How to track ChatGPT and other AI assistant traffic on your website

How AI assistants send visitors, how to give them their own channel in Google Analytics 4, why some show up as Direct, and what to do with the numbers.

Nahnu Analytics3 min read
On this page6 sections

More people now ask ChatGPT, Perplexity, Gemini, Claude or Copilot for recommendations instead of searching. When an answer cites a website, some of them click through. That traffic is still small for most sites, but it is easy to miss: depending on how the visitor arrives, it can show up as a referral, as a campaign, or as Direct.

This guide covers how AI visits reach a website, how to see them in Google Analytics 4 and other tools, why some of them are invisible, and what to do with the numbers once you have them.

Key takeaways

  • AI assistants send visits with a referrer such as chatgpt.com or perplexity.ai.
  • ChatGPT search adds utm_source=chatgpt.com to the links it shows.
  • Visits from apps, or links without a referrer, land in Direct.
  • In GA4, a custom channel group with one regex rule puts AI visits in their own channel.
  • Clicks are only part of the picture: also check how often AI names the site.

How AI assistants send visitors

AI referral traffic Traffic source
Visits that arrive from a link in an AI assistant’s answer, such as ChatGPT, Perplexity, Gemini, Claude or Copilot.

When someone clicks a link in a browser, the browser usually tells the website where the visitor came from. That is the referrer. For AI assistants, the common ones are:

  • chatgpt.com (and the older chat.openai.com)
  • perplexity.ai
  • gemini.google.com
  • claude.ai
  • copilot.microsoft.com

ChatGPT also tags its links. OpenAI says ChatGPT automatically adds utm_source=chatgpt.com to links in ChatGPT search results, so those visits can be recognized even when the referrer is missing. See OpenAI’s publishers and developers FAQ.

Track AI traffic in Google Analytics 4

Newer GA4 properties may show an AI assistant channel in the default channel group, but it does not cover every assistant. A custom channel group lets you decide what counts. You need Editor access to the property.

AI sources (regex) regex
^(chatgpt\.com|chat\.openai\.com|perplexity\.ai|www\.perplexity\.ai|gemini\.google\.com|claude\.ai|copilot\.microsoft\.com)$

In other analytics tools the idea is the same: filter or group sources by these hostnames, and check your landing pages for utm_source values.

Visits and crawlers are different things

AI companies also send crawlers to read websites, such as OpenAI’s OAI-SearchBot and GPTBot, Anthropic’s ClaudeBot and Perplexity’s PerplexityBot. These are not people and should not appear in your visitor numbers. You see them in your server or CDN logs. They matter for a different reason: if a crawler is blocked, the assistant may not be able to read or cite your pages.

OpenAI, for example, says sites that want to appear in ChatGPT search should not block OAI-SearchBot. Check your robots.txt and your firewall or CDN rules, which sometimes block bots without anyone noticing.

What to do with the numbers

A handful of AI visits a week does not mean much on its own. The value is in the patterns:

  • Which pages AI sends people to. These are the pages assistants trust. Keep them accurate and up to date.
  • What those visitors do next. Compare sign-ups, sales or enquiries from AI visits with search visits.
  • How the share changes over time. Track it monthly, not daily; small numbers move a lot.

How it's counted

AI share of visits Visits from AI assistants divided by All visits

Multiply by 100 for a percentage. Compare the same period each month.

Visits from AI assistants, by assistant Illustration

Source: Example website, last 30 days

Clicks are only part of the picture

Many AI answers are read without a click. An assistant can recommend a business, name it, and send nobody. To see that side, ask the assistants the questions your customers ask, on a schedule, and note whether the site is named or cited, and which competitors are named instead. Doing this by hand once a month for ten questions is already useful.

Clear, specific pages help: a page that answers one question plainly is easier for an assistant to cite than a page that hints at many. Some sites also publish an llms.txt file, a short map of the site for AI tools. It is a proposed convention rather than a standard, so treat it as a small extra, not a fix.

Monthly AI traffic review 0 / 6

Where Nahnu Analytics fits

In Nahnu Analytics, AI visits are grouped for you: the Top sources card has an AI tab, and an AI search card lists visits from ChatGPT, Perplexity, Gemini, Claude and Copilot, with no channel rules to set up. Its SEO tab also puts your questions to AI assistants every week and shows where competitors are named instead of you.

Why does ChatGPT traffic show up as Direct?

Apps and some links open pages without a referrer, so the analytics tool cannot tell where the visit came from. Visits from ChatGPT search usually carry utm_source=chatgpt.com, which helps.

Can Google Analytics 4 track ChatGPT traffic?

Yes, when the visit has a referrer or a utm_source. A custom channel group with a regex rule above Referral gives AI visits their own channel.

Should I block AI crawlers?

That is a business decision. Blocking a search crawler such as OAI-SearchBot can keep your pages out of that assistant’s answers; blocking training crawlers such as GPTBot is a separate choice.

Is AI traffic worth tracking while it is small?

Yes. It shows which pages assistants trust, and a trend is easier to read if you start early.

Written by

Nahnu Analytics

All posts by Nahnu Analytics →

Nahnu Analytics

Own your clients' analytics.

One license, unlimited client websites, every feature.