Guides, · 5 min read

How to track traffic from ChatGPT, Perplexity and other AI assistants

When an assistant like ChatGPT or Perplexity cites your page and someone clicks through, that visitor arrives in a normal browser. Your analytics can count them. By default, though, they're scattered across Referral and Direct, mixed with everything else.

This guide shows how to group them into one AI channel in GA4, which hosts to include, and what the number does and doesn't tell you.

What counts as a visit sent by AI

A visit is sent by AI when a person clicked a link in an AI product's answer. You can recognize it two ways:

  • The referrer is the assistant's domain, such as chatgpt.com or perplexity.ai.
  • The link carries a tag. ChatGPT adds utm_source=chatgpt.com to many links it shows, which survives even when the referrer doesn't.

Don't confuse these visits with AI bots. When ChatGPT reads your page to write the answer, that's ChatGPT-User, a bot that analytics tags never see. The click comes after, from a person. Why GA can't see the bots.

The AI referrer hosts to include

These are the AI products SenseGap recognizes by referrer today:

AI products and their referrer hosts
ProductReferrer hosts
ChatGPTchatgpt.comchat.openai.com
Perplexityperplexity.aiwww.perplexity.ai
Claudeclaude.ai
Geminigemini.google.combard.google.com
Microsoft Copilotcopilot.microsoft.comcopilot.cloud.microsoft
Meta AImeta.aiwww.meta.ai
DeepSeekchat.deepseek.com
Grokgrok.com
Le Chatchat.mistral.ai
You.comyou.com
Poepoe.com

Products move domains now and then (ChatGPT moved from chat.openai.com to chatgpt.com), so check the list every few months.

Setting up an AI channel in GA4

GA4 lets you add your own channel to a custom channel group. Once it exists, AI visits get their own row in acquisition reports.

  1. In GA4, open Admin, then Data display, then Channel groups.
  2. Copy the default channel group, so you keep all the standard channels, and give it a name like “Channels with AI”.
  3. Add a new channel called AI assistants. Set the condition to Source → matches regex, and paste the expression below.
  4. Move the AI assistants channel above Referral. GA4 assigns each session to the first channel that matches, so if Referral comes first, it takes these visits.
  5. Save. In Reports → Acquisition → Traffic acquisition, switch the dimension to your new channel group.
Source regex for the AI assistants channel
(chatgpt\.com|chat\.openai\.com|perplexity\.ai|claude\.ai|gemini\.google\.com|bard\.google\.com|copilot\.microsoft\.com|copilot\.cloud\.microsoft|meta\.ai|chat\.deepseek\.com|grok\.com|chat\.mistral\.ai|you\.com|poe\.com)

Because ChatGPT's tag sets the source to chatgpt.com, the same regex catches tagged links too.

Why this number is always a floor

Several things make AI referrals look smaller than they are:

  • Apps drop the referrer. Clicks from some desktop and mobile apps arrive without one, so they land in Direct.
  • People copy, they don't click. Someone who reads your company name in an answer and types it into the browser later counts as Direct or organic search.
  • Consent banners. If a visitor declines analytics cookies, many GA4 setups don't record them fully.
  • Most answers have no click. An assistant can recommend you by name without anyone visiting.

So treat the AI channel as a lower bound and watch its trend more than its size. A rising number is a good sign. A flat one doesn't mean AI isn't sending people.

What to look at once it's set up

Landing pages

The page someone lands on hints at what they asked. Visitors from AI often land deep, on a comparison, a guide or a pricing page, not your home page.

Assistant by assistant

ChatGPT, Perplexity and Copilot send different audiences to different pages. Split the channel by source to see which assistant sends whom.

Engagement and conversions

People who arrive from an answer have usually done some research already. Compare their conversion rate with organic search before you decide how much AI traffic is worth to you.

Before the click

Referrals only show the end of the path. The part before it, how often assistants open your pages to answer people, lives in your server logs. Together they show the full funnel: AI reads your page, then people arrive. See user-triggered AI visits.

In other analytics tools

The same approach works outside GA4.

  • Plausible, Fathom, Matomo: filter or segment by source or referrer using the hosts above. Most show utm_source as the source when it's present.
  • Server logs: the referrer is the field after the status and size in the combined log format. A quick count:
Visits referred by AI assistants, by landing page
grep -E "chatgpt\.com|perplexity\.ai|claude\.ai|gemini\.google\.com|copilot\.microsoft\.com" access.log \
  | grep -vi "bot" | awk '{print $7}' | sort | uniq -c | sort -rn | head -20

Server-side counts include visitors who declined cookies and visitors with ad blockers, so they usually come out higher than tag-based numbers. Neither is wrong; they measure from different places.

Don't tag your own links with AI sources

If you put utm_source=chatgpt.com on links in your own emails or ads, those visits will be counted as AI referrals. Keep that source for the assistant's own tags.

How SenseGap counts them

SenseGap counts visits sent by AI at your edge or server, by referrer host and by utm_source=chatgpt.com. It stores the assistant, the day and the landing page, nothing about the person, and drops every other human visit before it leaves your side. You see people sent by each assistant next to how often that assistant read the same pages.

It doesn't need consent banners, because it sets no cookies and runs no script in the browser. How it works.

FAQ, the short answers.

Questions, answered plainly

How do I see ChatGPT traffic in Google Analytics?

Look for session source chatgpt.com in the Traffic acquisition report. For a cleaner view, create a custom channel group with an AI assistants channel that matches AI referrer hosts, placed above Referral.

What is utm_source=chatgpt.com?

A tag ChatGPT adds to many links in its answers. It sets the source to chatgpt.com in your analytics even when the browser doesn't send a referrer.

Why is my AI referral traffic so low?

Most AI answers don't lead to a click, some apps strip the referrer, and people often search for a name they saw instead of clicking. Treat the number as a floor.

Is ChatGPT referral traffic the same as ChatGPT-User?

No. ChatGPT-User is the bot ChatGPT uses to read your page while answering. Referral traffic is a person who clicked a link in that answer.

See what AI does on your site. Every visit counted and checked. Estimates always labeled.

Get started