How to track ChatGPT and AI assistant traffic in Google Analytics 4

In Google Analytics 4, visits from ChatGPT usually show up with chatgpt.com as the source, filed under the Referral channel where they are easy to miss. A custom “AI assistants” channel puts ChatGPT, Perplexity, Gemini, Claude and Copilot visits in one row, but a large share of AI clicks still arrive as Direct, so treat the GA4 number as a floor rather than a full count.

Last updated 20 October 2026 · Written by GPT Visibility

The short answer

  1. Find ChatGPT today: Reports, then Acquisition, then Traffic acquisition, then switch the table to Session source / medium and search for chatgpt.
  2. See every AI assistant together: build a custom channel group with an “AI assistants” channel and place it above Referral.
  3. See which pages AI sends people to: make an Exploration with Landing page as rows, filtered to AI sources.
  4. Annotate 8 to 16 October 2026, when a ChatGPT bug pushed most of its visits into Direct.
  5. Add a second count that doesn’t rely on tags: a “How did you hear about us?” option for ChatGPT or AI assistants, and your server logs.

How ChatGPT visits are labelled

OpenAI’s publisher FAQ says ChatGPT automatically adds the parameter utm_source=chatgpt.com to referral URLs from ChatGPT search results, so that sites can track the traffic in tools such as Google Analytics. GA4 reads that tag, which is why ChatGPT clicks usually show chatgpt.com as their session source even when the browser sends no referrer. Some properties also show chat.openai.com, so search for both.

The tag only appears on links ChatGPT shows in an answer. A visitor who reads your name in an answer and then types your address, searches Google for you or rings you never appears as ChatGPT in GA4 at all.

Step 1: Find ChatGPT in your current reports

  1. In GA4 open Reports, then Acquisition, then Traffic acquisition.
  2. Above the table, change the dimension from Session primary channel group to Session source / medium.
  3. Type chatgpt in the table’s search box, then try openai, perplexity, gemini, claude and copilot.
  4. Write down every exact source string your property shows. Those are what your channel rule must match.

Step 2: Build an “AI assistants” channel

Google’s own help page on custom channel groups includes an AI assistants example. In short:

  1. Go to Admin, then Data display, then Channel groups, and click Create new channel group. This starts as a copy of the default group. You need Editor access or above.
  2. Click Add new channel, name it AI assistants, and add a condition on Source that matches regex.
  3. Click Reorder and drag AI assistants above Referral. GA4 puts each visit in the first channel it matches, so if Referral sits higher it will keep taking these visits.
  4. Save the group, then pick it as the dimension in the Traffic acquisition or User acquisition report.

Google’s example regex is deliberately broad: its first part matches any source containing the letters “ai”, which could also catch unrelated sites such as email services. A tighter starting point, which you should adjust to the source strings you found in Step 1, is:

chatgpt\.com|chat\.openai\.com|perplexity\.ai|gemini\.google\.com|claude\.ai|copilot\.microsoft\.com

Google says custom channel groups can be applied to your reports retroactively, so you can look back at past months straight away. Standard GA4 properties allow two custom channel groups on top of the default one.

Step 3: See which pages AI assistants send people to

Open Explore and start a blank exploration. Add Landing page + query string and Session source as dimensions, and Sessions and Key events as metrics. Put Landing page in rows, Sessions and Key events in values, and filter Session source with the same regex. The pages that come top are the ones AI assistants already cite. Keep their prices, services, areas and contact details accurate, because that is what visitors arrive expecting.

Why so many AI visits still land in Direct

GA4 files a visit as Direct when it has no tag and no referrer. AI clicks lose both more often than you might expect:

The October 2026 ChatGPT tagging bug

From about 8 October 2026, when GPT-6 reached free users, links in ChatGPT answers opened without the utm_source=chatgpt.com tag and without a referrer, so analytics filed those visits as Direct. PromptMarketing’s weekly round-up, citing Search Engine Roundtable and Search Engine Journal, reports that OpenAI confirmed a bug to Huesler on 14 October and began a fix on 15 October. Profound measured tagged links back at about 99% on 16 October at 06:30 UTC.

What to do about it:

Add a count that doesn’t depend on tags

Common mistakes

Frequently asked questions

Where does ChatGPT traffic show up in Google Analytics 4?

Open Reports, then Acquisition, then Traffic acquisition, and change the table’s dimension to Session source / medium. Visits from ChatGPT usually appear with chatgpt.com as the source, because OpenAI says ChatGPT adds utm_source=chatgpt.com to referral links from its search results.

Why does my ChatGPT traffic show as Direct?

GA4 files a visit as Direct when it arrives with no tracking tag and no referrer. That happens when someone copies a link out of an answer, when the ChatGPT phone app opens a link, and it happened to most ChatGPT links between about 8 and 16 October 2026 because of a bug that OpenAI has since fixed.

Did ChatGPT stop adding utm_source=chatgpt.com?

No. Links in ChatGPT answers lost the tag from about 8 October 2026, and OpenAI confirmed it was a bug. A fix started on 15 October and Profound measured tagged links back at about 99% on 16 October.

How do I see all AI assistant traffic in one place in GA4?

Create a custom channel group under Admin, Data display, Channel groups. Add a channel called AI assistants whose source matches a regex listing the assistants’ domains, then move it above Referral so GA4 counts those visits there first. Google says custom channel groups apply to your reports retroactively.

Does Gemini traffic have a UTM tag?

Search Engine Journal reported on 1 October 2026 that Gemini had started adding UTM parameters to some links, and Google’s John Mueller said he could see it too. Google hasn’t documented when the tags are added or their exact values, so check what actually arrives in your reports.

Is GA4 counting every visit from ChatGPT?

No. GA4 only counts a visit as ChatGPT when it carries the tag or a chatgpt.com referrer, so the real number is usually higher than the report shows. A “How did you hear about us?” question and your server logs help fill the gap.

Sources

Related guides