AI traffic

How to track traffic from ChatGPT and other AI assistants

Assistants send visits with a referrer or a utm_source tag. Build a channel rule. Keep bots out of visit counts.

On this page 10 sections

AI assistants send visits with a referrer that names the assistant's site, or a utm_source tag. If a visit has neither, it lands in Direct and cannot be recovered.

Why referrers from AI assistants are thin

A referrer is the Referer header a browser sends when someone clicks a link. Three things weaken it for AI assistants.

First, the browser default. Without a page policy, browsers use strict-origin-when-cross-origin. For a click from one HTTPS site to another, MDN's Referrer-Policy reference says the browser sends the origin only. You see https://chatgpt.com/, never the conversation, the prompt or the path.

Second, link attributes. MDN's page on rel="noreferrer" says the keyword tells the browser to omit the Referer header and leak no referrer information. A link marked this way sends nothing at all.

Third, native apps. An app that opens your page in a system browser or an in-app webview usually passes no referrer. We have not found a browser specification that settles this, so treat it as common behaviour. See why ChatGPT traffic shows as direct.

Swipe sideways to see the whole diagram.

A visit with no tag and no referrer lands in Direct and cannot be recovered.
The diagram as a list
  1. Someone clicks a link to your page inside an AI assistant.
  2. If the URL carries a utm_source tag, the visit is credited to the assistant.
  3. Otherwise, if the browser sends a referrer, it names only the assistant's site, and the visit is credited to it.
  4. If the link or app sends neither, the visit is filed under Direct.

The utm_source route

A URL parameter travels with the link, so it survives where the header does not. ChatGPT adds utm_source=chatgpt.com to the links in its answers, and analytics vendors document it. On 20 October 2026, logged out on the web, we checked 8 citation links in ChatGPT answers. All 8 carried utm_source=chatgpt.com, and every one was marked rel="noopener noreferrer": the tag arrived and the referrer did not. That is a small sample from one surface on one day, so read it as a snapshot.

The tag has a limit. A utm_source with no utm_medium is an incomplete campaign tag, and some tools handle it badly. We come back to that in the GA4 section.

Tagging changes without notice

The assistant adds the tag, so it can stop. Search Engine Journal reported on 15 October 2026 that GA4 ChatGPT sessions fell by 22% to 57% on sites Graphite tracked, starting on 9 October. Adobe's Cedric Huesler, comparing 9 to 13 October with the week before on about 500 pages, saw about 31,000 fewer ChatGPT visits a day and about 26,000 more Direct visits, and attributed it to GPT-6 opening links without the tag or a referrer. Search Engine Roundtable reported the same on 14 October, and both later reported that Huesler had been told it was a bug and that tagged links returned from 15 October.

Visits from that window stay in Direct in every tool, so annotate the dates. A drop in ChatGPT visits can be a tracking failure rather than lost demand, so check Direct first. The figures come from vendors' own data and posts, not from OpenAI, which had not mentioned the fix in its release notes.

A rule table any analytics tool can use

Most tools let you define a custom channel from referrer hosts and campaign parameters. These are the hosts Lundot matches, which you can copy.

Assistant Referrer hosts utm_source values
ChatGPT chatgpt.com, chat.openai.com chatgpt.com
Claude claude.ai none confirmed
Gemini gemini.google.com none confirmed
Copilot copilot.microsoft.com, copilot.com none confirmed
Perplexity perplexity.ai none confirmed
Grok grok.com none confirmed
Meta AI meta.ai none confirmed
DeepSeek deepseek.com (chat.deepseek.com) none confirmed
Le Chat chat.mistral.ai none confirmed
Duck.ai duck.ai none confirmed

Three tips for writing the rule:

  1. Match whole host names, not substrings. A pattern such as ai also matches mail.google.com.
  2. Check the utm_source first and the referrer second. The tag is the stronger signal, because it survives app hand-offs.
  3. Keep the host list in one place and review it each quarter. Assistants change domains, and Copilot is already on two.

Google's AI features send the same referrer as ordinary Google results, so tools count them as organic search. Google's AI features documentation says sites appearing in AI Overviews and AI Mode are included in overall search traffic in Search Console. They are reported in the Performance report under the "Web" search type.

GA4's default channel definitions say the same thing from the other side. The AI Assistant channel "excludes Google's AI Overviews and AI Mode", while Organic Search includes them. No rule you write can split them out. See Search Console data limits.

What GA4 does

GA4 now has an AI Assistant default channel. Its description names ChatGPT, Gemini, DeepSeek, Copilot and Grok as example sources. Its definition has two conditions: the medium exactly matches ai-assistant, or a referrer on Google's list of AI assistants causes GA4 to set the medium to ai-assistant and the campaign to (ai-assistant).

The docs do not say what happens to a visit tagged only with utm_source=chatgpt.com and no medium, so test it: open a landing URL with ?utm_source=chatgpt.com in a clean browser, then check the Realtime report and the Traffic acquisition report a day later.

If it lands in the wrong place, build a custom channel group from your own rule table and put it above the default grouping.

Do not mix bots with people

An AI crawler or a user-triggered fetcher requesting a page is not a visit. OpenAI's bot documentation describes ChatGPT-User as a user agent that "may visit a web page" when someone asks ChatGPT a question. A person asked, a bot fetched, and nobody opened your page.

Most JavaScript analytics never see these requests, because the bots do not run your tracking script (why AI crawlers don't show up in Google Analytics). Server and edge logs see both, so keep two counts:

  • Visits from AI: people who clicked a link in an assistant and loaded your page.
  • AI requests: crawlers and fetchers reading your pages, ideally verified against the company's published IP ranges or signatures.

Merged, a busy week of bot fetching looks like a traffic spike that never happened. To tell real bots from spoofed user agents, see verifying AI crawlers.

A checklist

  1. Keep utm_ parameters on landing URLs. Check that redirects (http to https, trailing slashes, www to non-www, language redirects) pass the query string through.
  2. Add the AI channel rule from the table, with tag first and referrer second, and test it with a manual utm_source=chatgpt.com URL.
  3. Check how your tool treats a source without a medium, and fix it with a custom channel if needed.
  4. Annotate known incidents, such as the October 2026 tag loss, so a dip is not read as lost demand.
  5. Compare visits from AI with AI bot requests for the same page. A page fetched often by ChatGPT-User that gets no visits is worth a look.
  6. Expect undercounting. Visits with no referrer and no tag will stay in Direct.

How Lundot handles this

Lundot's AI assistants channel matches referrer hosts and utm_source aliases, so a ChatGPT visit tagged only with utm_source=chatgpt.com still counts. AI requests stay separate from visits. See Channels and the Web report. Visits with neither signal stay in Direct.

Sources

Put it into practice

  • DocsChannels

    How Lundot decides a visit's channel, in order, with the AI assistant referrer hosts, utm_source values and tag mediums it matches.

  • DocsWeb analytics

    Visitors, visits, sources (including visits from AI), pages, locations, devices.

  • DocsInstall the tracking script

    Add one script tag to your site's head, with notes for HTML, Next.js, WordPress, Shopify, Webflow and tag managers, then check it works.

Count visits from AI assistants

Lundot puts visits from ChatGPT, Perplexity and other assistants in their own channel, by referrer and by utm_source.