> Count human visits from AI assistants without counting crawlers or adding referral and UTM totals twice. Includes a worked example and a GA4 checklist.

Source: https://humblytics.com/blog/how-to-track-ai-traffic-chatgpt-claude-perplexity (updated 2026-11-23)

# How to Track AI Traffic (ChatGPT, Claude, Perplexity) in 2026

> **The short answer:** As of November 23, 2026, the most reliable way to report AI referral traffic is to count each measured human session once, using its landing referrer and a campaign tag you have verified. Keep automated fetches out of the session count. If neither signal identifies the source, leave it unknown instead of assigning it to AI.

This update adds a worked deduplication example and a checklist for testing what actually reaches your analytics.

> **TL;DR**
>
> - Check the first page of the session for an exact, verified AI referrer host and for approved UTM values.
> - Count a session once even if both signals match. Keep conflicting, unclassified and paid traffic separate.
> - Report crawler requests, citations and human sessions as different metrics.

## What counts as AI referral traffic?

An AI-referred session is a measured human visit for which you have evidence that the person arrived from an AI assistant. A citation does not imply a click, and a referral does not tell you which answer the person saw. Someone can follow a link shared in a chat without it being a cited source.

| Signal | How to report it |
| --- | --- |
| Exact assistant host in the landing referrer | Referrer-confirmed session; verify the host with a test click before adding it to your list. |
| No referrer and a recognized AI campaign tag | Tag-only session; include only approved tags from links or placements you have verified. A tag can survive a copied link, so report it separately from a confirmed referrer. |
| Both signals agree | One session, not two. Keep both signals for auditing. |
| Signals disagree | Keep the session in the unknown bucket with a conflict flag until you can resolve it. |
| No usable evidence | Keep the source unknown, or keep its existing non-AI channel if that channel is known. Do not relabel Direct as AI. |
| Known crawler or assistant fetch | Report as a request in server or CDN logs, outside the human session count. |

OpenAI documents that ChatGPT search citations can open sources from ChatGPT, including on the web app at `chatgpt.com`. That is a host to check, not a guarantee that every click passes a referrer. For Claude and Perplexity, start by testing clicks from `claude.ai` and `www.perplexity.ai`, then use the exact hosts that arrive. Browsers can omit referrer information. A visit from `google.com` alone cannot identify which Google surface sent it; Google includes AI Overviews and AI Mode in its overall Web search reporting.

## Worked example: count the same session only once

**Synthetic example, not measured traffic.** In one weekly session export, 12 sessions have a verified AI landing referrer and 9 have an approved AI tag. Five have both signals and agree. After excluding test traffic, known automated requests and any tagged paid placements from this non-paid report, the tally is:

| Session bucket | Count |
| --- | ---: |
| Referrer only | 7 |
| Approved tag only | 4 |
| Both signals agree | 5 |
| **Total observed AI-referred sessions** | **16** |

The calculation is **12 + 9 − 5 = 16**, not 21. Count distinct sessions using the session key in your report or export, not page views, link clicks or distinct people. Report the 12 referrer-confirmed and 4 tag-only sessions as the breakdown of the 16. If another 6 sessions have no identifiable source and 1 has conflicting signals, report those 7 as **unknown**, not as AI or as proof of no AI influence. If logs show 20 crawler requests, report those separately; do not add them to, or subtract them from, the session count.

If your reports only provide separate referrer and campaign totals and no way to find the overlap, report the totals separately. Do not add them.

## Set up and validate your AI referral report

In GA4, use a custom channel group for a reporting view of verified AI sources. In **Admin → Data display → Channel groups**, create a group and add a channel with a **Source** rule for the values you actually see. Use an exact match or an anchored pattern such as `^(chatgpt[.]com|claude[.]ai|www[.]perplexity[.]ai)$` only after checking those values in your property. Put the AI rule above generic Referral since GA4 uses the first matching channel. Keep known paid campaigns in their own channel ahead of a generic AI rule or exclude them from it. Check the **session-scoped** custom channel group in an acquisition report. A channel group classifies traffic; it does not let you reconstruct raw referrer and UTM overlap if your export lacks those fields.

### Validation checklist

1. **Test each surface you report.** Click a real answer link on web and on any app you track. In a fresh test session, check the landing URL after redirects, the recorded referrer host and the session source. Log the date and which surface you used.
2. **Test tags you control.** Use the [UTM builder](https://humblytics.com/tools/utm-builder) to label approved links with a consistent source, medium and campaign. Check that redirects retain the tags, and keep paid tags distinct from non-paid referrals.
3. **Test overlap and missing data.** A session with both signals should appear once. A known tag without a referrer should be tag-only. A visit without either signal should stay unknown unless another source is known. Confirm that a conflicting tag and hostname get flagged.
4. **Reconcile totals.** Use the same property, filters, time zone and reporting window. Exclude your test sessions and compare the distinct session count with the sum of the mutually exclusive referral buckets.
5. **Keep bots separate.** Check server or CDN logs for documented automated agents such as `OAI-SearchBot`, `PerplexityBot`, and `Claude-SearchBot`. A fetch made by an assistant on someone's behalf is still not that person's site visit.

## What to report after the visit

Start with sessions and landing pages. Then count sessions taking a verified next step, such as clicking **Start free**, as handoffs. Report completed signups or payment revenue for those visits only if you have verified the join to the signup or payment record. A same-week increase in total signups does not establish that AI sent them. The [AEO measurement guide](https://humblytics.com/blog/aeo-analytics-measure-ai-search-optimization) shows how to track visibility, sessions and outcomes without treating them as one funnel.

In Humblytics you can review traffic sources and on-site funnel steps. With a supported payment account connected, you can review matched revenue separately from unmatched traffic. An agent can read the available data through MCP; it cannot recover a referrer the browser did not send. See the [agent-native analytics guide](https://humblytics.com/agent-native-analytics) for the read and approval workflow.

[Start free with Humblytics](https://app.humblytics.com) to check what your site actually receives.

## Frequently asked questions

**How do I know if ChatGPT is sending me traffic?**

Look for the chatgpt.com host in the landing referrer or a ChatGPT tag you have verified on a test click. Count a session with both signals only once.

**Why does AI traffic sometimes show up as Direct?**

When a visit arrives without a referrer or usable campaign tag, your analytics may report it as Direct or unassigned. You cannot tell which of those visits came from an AI assistant.

**What is the difference between AI referral traffic and AI crawler traffic?**

A referral is a person visiting your site from an assistant. A crawler or an assistant fetching a page on a user's behalf is an automated request, not a human visit.

## Sources and freshness

Checked November 23, 2026:

- [OpenAI: Searching the web with ChatGPT](https://help.openai.com/en/articles/9237897-searching-the-web-with-chatgpt), for web and app search and opening citation links.
- [Google Analytics: Custom channel groups](https://support.google.com/analytics/answer/13051316) and [campaign URLs](https://support.google.com/analytics/answer/10917952), for rule order and UTM fields.
- [Google Search Central: AI features and your website](https://developers.google.com/search/docs/appearance/ai-features), for how AI Overviews and AI Mode are included in Web search reporting.
- [MDN: Referrer-Policy](https://developer.mozilla.org/en-US/docs/Web/HTTP/Reference/Headers/Referrer-Policy), for when browsers send only the origin or omit it.
- [OpenAI bots](https://platform.openai.com/docs/bots), [Perplexity crawlers](https://docs.perplexity.ai/docs/resources/perplexity-crawlers) and [Anthropic crawlers](https://support.claude.com/en/articles/8896518-does-anthropic-crawl-data-from-the-web-and-how-can-site-owners-block-the-crawler), for bot and fetcher roles.
- [Humblytics product facts](https://humblytics.com/ai-info), for available analytics data and connected payments.

Platforms and reporting definitions change. Recheck on your own property before using a source rule in a recurring report.

---
Humblytics is website analytics, ad attribution and A/B testing that an AI agent sets up and uses.
To set it up for the person you work for, read https://app.humblytics.com/agent.md.
Official facts: https://humblytics.com/ai-info.md
