Skip to content
Letzscale

Measure, and languages

See visits from ChatGPT in your analytics, with cookie consent

When ChatGPT, Gemini or Copilot link to your website, some people click. This guide shows where those visits appear in Google Analytics 4, Plausible and Matomo, how to group them in one place, and why Luxembourg's cookie consent rules mean you only ever see part of them.

· By the Letzscale team · 8 min read

On this page
  1. Why it matters
  2. How a visit from ChatGPT is recognised
  3. Cookie consent comes first
  4. Have these ready
  5. Find your AI visits in Google Analytics 4
  6. Using Plausible or Matomo instead
  7. Confirm the numbers make sense
  8. What usually goes wrong
Time
30 minutes
Difficulty
Medium
Who
Whoever manages your website analytics
You need
Access to Google Analytics 4 (or Plausible or Matomo) and your cookie banner settings
Checked
24 October 2026

Part of the Letzscale guides: free, step-by-step fixes that help ChatGPT and other AI assistants find, understand and recommend your business. Not sure where you stand yet? Start with Guide 01: Check what ChatGPT says about your business.

Why it matters

When ChatGPT, Gemini, Copilot or Perplexity answer a question, they often show links to the websites they used. Some people click. Those clicks are real visits to your website, and your analytics tool can count them, as long as two things are true: the visitor accepted analytics cookies, and the visit arrived with information about where it came from.

This guide shows you where these visits appear in Google Analytics 4, how to group them in one place, where to find them in Plausible or Matomo, and why your numbers will always be lower than the real total in Luxembourg, where analytics cookies need consent.

Session default channel groupSessions
Organic Search412
Direct230
Referral64
AI Assistant AI visits19
A Traffic acquisition report for the fictional Kastell Conseil, last 28 days. Visits from AI assistants have their own row. They are a small share of the total, and only visitors who accepted analytics cookies are counted.

Illustration with a fictional business.

Reference

How a visit from ChatGPT is recognised

Your analytics tool cannot see the conversation. It only sees where the visitor came from when they landed on your page. There are two ways it finds out:

  • A tag in the link. A link can carry a tag such as utm_source that names where the visit came from. Do not count on every assistant adding one: check your own referral list for what actually arrives. Your website must allow OAI-SearchBot to be shown in ChatGPT's search answers in the first place (see Guide 02).
  • The referrer. Browsers usually tell the website which page the visitor came from. Google Analytics uses this to put visits from assistants such as ChatGPT, Gemini, Deepseek, Copilot or Grok in a channel called AI Assistant. Google does not publish the full list of addresses it recognises.

Some visits arrive with neither. Matomo says plainly that an AI assistant visit can only be attributed when referrer information is available. Those visits are counted, but not as AI visits. Treat your AI number as a minimum, not a total.

Which addresses to look for

For ChatGPT, look for chatgpt.com in your own referral list; Plausible's documentation uses it as an example source. For Gemini, Copilot, Perplexity, Claude and others, do not rely on a list from a blog post: look at the sources in your own referral report (step 3) and note the ones that belong to AI assistants.

Google's own AI answers are not in this channel

Clicks from Google's AI Overviews and AI Mode count as Organic Search in Google Analytics, not as AI Assistant. In Google Search Console they are included in the Performance report, under the "Web" search type, together with normal Google results. Search Console does not show ChatGPT visits at all, because ChatGPT is not Google.

Before you start

Have these ready

  • A login to Google Analytics 4 for your website. To create a channel group in step 4, you need the Editor role or higher on the property.
  • If you use Plausible or Matomo instead, a login to that tool.
  • Access to your cookie banner settings, or the contact of whoever set it up.

Steps

Find your AI visits in Google Analytics 4

  1. Check your cookie banner works

    Open your website in a private browser window. The banner should appear before anything else, with "Accept" and "Refuse" equally easy to choose. If Google Analytics loads before you choose, or there is no way to refuse, fix this first with whoever manages your website. Read the CNPD guidelines in the sources if you are unsure what is required.

  2. Open the Traffic acquisition report

    Sign in to Google Analytics. In the left menu, select Reports, then Acquisition → Traffic acquisition. Set the date range to the last 28 or 90 days, so there is enough data to see.

    The table is grouped by Session default channel group. Look for the row AI Assistant. If it is missing, Google Analytics recorded no recognised AI visits in that period, from visitors who accepted cookies.

  3. See which assistant sent each visit

    Next to the dimension drop-down above the table, click the + icon to add a secondary dimension, and choose Session source / medium. Each row now shows the channel and the exact source, for example chatgpt.com.

    Also look at the Referral rows. If you see a source that clearly belongs to an AI assistant but sits under Referral, Google did not recognise it. Note it down for step 4.

  4. Optional, for your developer or analytics admin: create a channel group for AI assistants

    The default AI Assistant channel cannot be edited. If you want to decide yourself which sources count, create a custom channel group. Google says custom channel groups can be applied to your reports retroactively, and a standard property can have two of them.

    1. Go to Admin, then under Data display, click Channel groups.
    2. Click Create new channel group. It starts as a copy of the default group. Give it a name, for example "Channels with AI".
    3. Click Add new channel, name it "AI assistants", click Add condition group, choose the dimension Source, the condition matches regex, and paste a pattern like the one below. Click Save channel.
    4. Click Reorder and drag "AI assistants" above "Referral". Google assigns each visit to the first channel it matches, so order matters. Click Apply, then Save group.
    Source matches regex · example, edit it to match your own referral list
    .*(chatgpt|openai|perplexity|gemini|copilot|claude).*

    This pattern matches any source containing one of those words. Google's own example in its help page uses a broader pattern, and says to update it when the list of assistants you want to measure changes. Check the result against step 3: if something unrelated lands in the channel, remove that word from the pattern.

    To use the new group, open Traffic acquisition again, click the dimension drop-down and choose your channel group instead of the default one.

Other tools

Using Plausible or Matomo instead

Plausible

On your dashboard, the Sources tab lists where visitors came from, for example chatgpt.com. The Channels tab groups them, including an AI Assistants group. Plausible says it uses no cookies and stores visitor data in the EU. Plausible docs

Matomo

Go to Acquisition → AI Assistants. AI visits also appear in Acquisition → All Channels. Self-hosted Matomo needs version 5.5.0 or later. Older visits stay under Referral or Direct. Matomo FAQ

A tool that uses no cookies can change what you must ask visitors. Whether you still need consent depends on how the tool is set up, so check it against the CNPD conditions above rather than relying on the vendor's marketing.

Check it worked

Confirm the numbers make sense

Pick a page that ChatGPT cites when you run the questions from Guide 01. In a private window, accept analytics cookies, click the link to your website from ChatGPT's answer, and check later that a visit from chatgpt.com appears in Traffic acquisition with the source / medium dimension.

Done when

  • Your cookie banner appears before Google Analytics loads, and refusing is as easy as accepting.
  • You know where to find the AI Assistant row in Traffic acquisition, and which sources it contains.
  • You have checked the Referral rows for AI sources Google did not recognise.
  • If you created a channel group, "AI assistants" sits above "Referral" and only contains AI sources.
  • You report the AI number as a minimum, not a total.

Common mistakes

What usually goes wrong

  • Loading analytics before consent to "get more data". The CNPD says non-essential cookies need active consent first. More data is not worth a complaint.
  • Reading the AI number as all of your AI traffic. Visitors who refused cookies, and visits without a referrer, are not in it.
  • Looking for Google AI Overviews in the AI Assistant row. They count as Organic Search in Google Analytics and as "Web" in Search Console.
  • Putting the new channel below Referral. Visits are assigned to the first match, so AI visits end up under Referral.
  • A pattern that is too broad. A short word can match unrelated sources. Always check which sources land in your new channel.
  • Blocking OAI-SearchBot. If ChatGPT cannot show your site in search answers, there is nothing to click. Guide 02 checks this.

Sources, checked 24 October 2026

  1. Google Analytics Help: Traffic acquisition report
  2. Google Analytics Help: Default channel group (AI Assistant, Organic Search)
  3. Google Analytics Help: Custom channel groups
  4. Google Analytics Help: Consent mode on websites and mobile apps
  5. Google for Developers: Set up consent mode on websites
  6. CNPD: Cookies and other trackers, applicable principles (in French) · full guidelines (PDF)
  7. OpenAI: Overview of OpenAI crawlers (OAI-SearchBot)
  8. Google Search Central: AI features and your website
  9. Plausible: Traffic sources, referrers and UTM campaigns · Plausible: Data policy
  10. Matomo: What are AI Assistants in Matomo · Matomo: Track traffic from AI Assistants
ChatGPT referral traffic: see it in Google Analytics, with cookie consent | Free GEO guide | Letzscale