Hoe je het verkeer via AI-chatbot-verwijzingen in GA4 kunt bijhouden: handleiding voor het instellen

Om het verkeer afkomstig van AI-chatbots in GA4 bij te houden, gebruik je twee lagen. Controleer eerst het ingebouwde kanaal ‘AI Assistant’ met code Google

Delen:

To track AI chatbot referral traffic in GA4, use two layers. First, check the built-in AI Assistant channel that Google has added to the Default Channel Group. Second, build your own custom channel group with a regex that matches the chatbot sources you care about, and place it above Referrals. Then confirm in your own source data that ChatGPT, Gemini and Perplexity visits actually land where you expect. Without that check, you are trusting a rule you have never tested.

This guide covers only the configuration steps. For attribution models, see our explainer on begeleide conversies vanuit organische zoekresultaten. For report formats, see the sjabloon voor een maandelijks rapport over AI-zichtbaarheid.

Start with what GA4 already does for you

Google Analytics now has a dedicated way to measure traffic from popular AI assistants. According to Google’s Analytics release notes, chatbots like ChatGPT, Gemini and Claude can appear in a new AI Assistant channel in your Default Channel Group reports.

When the referrer matches a recognized AI assistant, three things change in your traffic-source dimensions:

  • Medium: the value “ai-assistant” is assigned automatically.
  • Channel group: the visit is grouped under the “AI Assistant” channel.
  • Campaign: the visit gets the campaign name “(ai-assistant)”.

That is a solid starting point. But notice the wording: the release note names ChatGPT, Gemini and Claude as examples. It does not publish a full list of recognized referrers. So don’t assume every assistant you care about, Perplexity included, is covered. Verify it in your own data before you report on it.

Which referral domains point to an AI chatbot?

The honest answer: the referrer values in your property are the only reliable list. Google’s own help documentation gives example patterns for ChatGPT, Gemini, Microsoft Copilot, Claude and Perplexity, but it adds that you should update your regex when URLs or the list of assistants change.

12.000+ DOWNLOADS
Hoe zorg je dat AI jouw merk aanbeveelt?

De toekomst van zoeken is aan merken die autoriteit opbouwen, niet alleen content.

Authora helpt bedrijven gestructureerde autoriteitssystemen te bouwen die de zichtbaarheid vergroten in Google AI, ChatGPT, Gemini en Perplexity.

So before you write a single rule, look at what is actually arriving:

  1. Openen Acquisition > Traffic acquisition.
  2. Switch the primary dimension to the session source.
  3. Search the table for terms such as chatgpt, openai, gemini, copilot, claude and perplexity.
  4. Write down every exact source value you find, including subdomains.

That list becomes the input for your regex. It is concrete, it is yours, and it tells you which assistants actually send you visitors today.

Build a custom AI channel group step by step

The built-in channel is a black box. A custom channel group lets you decide exactly which sources count as AI. Google’s guide to custom channel groups describes the setup:

  1. Go to Admin and create a new custom channel group, or edit an existing one.
  2. Add a new channel and give it a clear name, such as “AI assistants”.
  3. Add a condition on the dimension that holds the referring source and select matches regex.
  4. Enter a regex that matches the AI assistant URLs you want to include.
  5. Save the configuration.
  6. Reorder the channel list so “AI assistants” sits above “Referrals”. Google notes you can place it above other channels too, such as “Organic Search”.
  7. Openen Acquisition > User acquisition of Acquisition > Traffic acquisition and select your new channel group as the primary or secondary dimension.

You will only see the “AI assistants” channel once data matches your regex. An empty row on day one can mean no matching visits yet, or a pattern that doesn’t fit your real source values.

Tighten the example regex before you use it

Google’s help page offers this example pattern:

^.*ai|.*.openai.*|.*chatgpt.*|.*gemini.*|.*gpt.*|.*copilot.*|.*perplexity.*|.*google.*bard.*|.*bard.*google.*|.*bard.*|.*.*gemini.*google.*$

Read it closely. Some parts of this pattern are very broad, such as ^.*ai en .*gpt.*. Broad parts like these can produce matches you didn’t intend, so don’t assume every hit is an AI assistant.

A narrower pattern built from the sources you actually found is easier to trust. As an illustration only:

.*(chatgpt|openai|perplexity|gemini|copilot|claude).*

Test any pattern against your exported source list before you save it. Check every hit, and remove or adjust any part of the regex that matches a source you don’t consider an AI assistant.

Mistakes that hide AI traffic in direct or organic

A clean regex is half the job. These reporting mistakes cause AI visits to vanish into other channels.

Treating direct traffic as “no AI”

Google explains that (direct) / (none) represents traffic without a clear referral source. If a visit from a chatbot arrives without a recognizable referrer and without usable campaign-source data such as UTM parameters, GA4 has nothing to match against your AI channel rules. That visit cannot be credited to your AI channel.

Google lists known causes of lost source data: links without UTM parameters, redirects that strip UTM parameters (for example from https to http), and URL shorteners that remove referral details. You control some of these. Check that your own redirects keep parameters intact and that links you place yourself carry correct UTM tags.

What you can’t control is how every assistant passes referrer data. So present your AI channel as a minimum count of identifiable visits, not a complete total.

Leaving the AI channel below Referrals or Organic Search

Google’s instructions say to move the AI channel above Referrals to ensure proper data processing, and optionally above Organic Search. Check the order every time you edit the group.

Mixing user and session reports

The two acquisition reports answer different questions. Google’s comparison shows that User acquisition is scoped to new users and uses first-user dimensions, while Traffic acquisition is scoped to sessions.

A user first acquired through organic search who later returns from a chatbot shows up differently in each report. Pick one report per question and label it in your dashboard. Comparing a user-scoped number with a session-scoped number creates gaps that look like tracking errors.

Setting the regex once and forgetting it

Assistants change domains and new ones appear. Google itself advises updating your regex when URLs or your list of assistants change. Put a recurring check in your calendar to rerun the source search from step one.

A quick check before you share numbers

Run through this list before AI referral data goes into a stakeholder report:

  • Does the built-in AI Assistant channel show data, and for which sources?
  • Does your custom regex match every AI source you found, and nothing else?
  • Is the AI channel ordered above Referrals, and above Organic Search if you chose that?
  • Are you reading session data and user data in separate views?
  • Have you noted that visits with neither a recognizable referrer nor usable campaign-source data cannot be counted as AI?

GA4 shows the clicks. It doesn’t show how often you are mentioned without a click. For that side of the picture, read our guide on hoe de zichtbaarheid van een merk in AI-chatbots kan worden gemeten, and pair it with what you see in Google Search Console.

Once your tracking is clean, the next question is how to earn more of those AI visits in the first place. If you want a managed system that builds authority in Google and AI chatbots without hiring an SEO team, bekijk hoe Authora werkt.

Ontvang de nieuwste inzichten van Authora

De Authora-blog biedt deskundige inzichten over AI-content, organische groei en de toekomst van zoekmachines

Hoe word je het merk dat AI aanbeveelt

Een praktische gids om je zichtbaarheid te vergroten in ChatGPT, Google AI, Gemini en Perplexity

Productfeedoptimalisatie voor AI-shopping: waar het om draait

Ja, productfeeds kunnen invloed hebben op of AI-winkelassistenten je producten laten zien, maar alleen op platforms die daadwerkelijk gebruikmaken van feeds

Spraakzoekopdrachten versus geolocatie: dezelfde taak voor Siri, Alexa en ChatGPT

Nee, optimalisatie voor gesproken zoekopdrachten en GEO zijn niet hetzelfde. Ze overlappen elkaar wel, maar ze zijn gericht op verschillende resultaten. Gesproken

12.000+ DOWNLOADS

Download de gratis blueprint

Bedrijven die vandaag autoriteit opbouwen, worden morgen de vertrouwde bron binnen Google en AI-chatbots. Claim jij die positie niet, dan doet je concurrent het wel.

Deze website maakt gebruik van cookies

We gebruiken cookies om inhoud en advertenties te personaliseren, om functies voor sociale media aan te bieden en om het verkeer op onze website te analyseren. Daarnaast delen we informatie over uw gebruik van onze website met onze partners op het gebied van sociale media, advertenties en analyse. Deze partners kunnen deze gegevens combineren met andere informatie die u aan hen hebt verstrekt of die zij hebben verzameld op basis van uw gebruik van hun diensten.