How to track traffic from ChatGPT, Perplexity and Gemini in Google Analytics 4

By the Variask team ·

Visits from AI assistants are small for most sites today, but they often convert well and they are growing. By default, Google Analytics 4 mixes them into Referral or Direct, so they are easy to miss. This guide shows a simple setup that puts AI visits in their own group, the reports worth checking, and what the numbers cannot tell you.

Why AI visits are worth tracking

When someone clicks a link in a ChatGPT or Perplexity answer, they have already read a summary of you. They often arrive knowing what you do and why you might fit. Many teams find these visitors read more pages and sign up more often than average.

Tracking them also shows whether your work on AI visibility is turning into business. Being named more often is good. Being named more often and seeing more trials from it is what your leadership wants to hear.

Where AI visits show up today

Most AI visits arrive with the assistant's website as the referrer, such as chatgpt.com or perplexity.ai. ChatGPT also adds utm_source=chatgpt.com to many links it shows. In GA4 these land in the Referral channel, mixed with every other site that links to you.

Some visits arrive with no referrer at all, for example from some mobile apps or when a person copies a link. Those land in Direct, and no setup can fully recover them. Treat your AI numbers as a floor, not a total.

Quick check: the report you already have

  1. In GA4, open Reports, then Acquisition, then Traffic acquisition.
  2. Change the main column to Session source.
  3. Type gpt, perplexity, gemini, copilot or claude into the search box.

This takes a minute and shows whether you get any AI visits at all. It is clumsy to repeat every month, which is why the next step is worth ten minutes.

Set up an AI channel group

A custom channel group puts all AI visits under one label across your reports. You need Editor access to the GA4 property.

  1. Go to Admin, then Data display, then Channel groups.
  2. Copy the default channel group so you keep the normal channels.
  3. Add a new channel called AI assistants.
  4. Set the condition to Session source matches regex, and paste a pattern such as: chatgpt|openai|perplexity|gemini|bard|copilot|claude|anthropic|deepseek|meta\.ai
  5. Move the AI assistants channel above Referral in the list, so it is checked first, and save.

The new group works on past data too, so you can look back at earlier months. Update the pattern when a new assistant starts sending you visits.

The three reports to check each month

  • Visits by assistant. Which engines send you traffic, and is each growing?
  • Landing pages. Which pages do AI visitors arrive on? Often it is comparison pages, pricing and in depth guides, not the homepage.
  • Key events. How many sign ups, demo requests or sales came from AI visits, and how does that rate compare with your other channels?

Pedalwise, a made up bike repair app, found that most of its ChatGPT visits landed on a page comparing its plans with a rival's. Those visitors started a trial at about twice the rate of its Google visitors. The team made that page faster and clearer, and added a short pricing table near the top.

What GA4 cannot tell you

Analytics only sees people who click. Most people read an AI answer and never click anything. If ChatGPT recommends you and the buyer searches your name on Google later, the visit shows up as Google or Direct.

So pair traffic with visibility. Track how often each engine names you, and look at both lines together. Rising mentions followed by rising branded searches and direct visits is a strong sign the work is paying off, even if AI referral numbers stay small.

It also helps to ask new customers how they found you, and to include ChatGPT or another AI assistant as an option.

Questions

For most clicks on links in answers, yes, and many links also carry utm_source=chatgpt.com. Some visits from apps or copied links arrive with no referrer and show as Direct.

No. Clicks from AI Overviews and AI Mode are counted as normal Google organic visits in GA4. Search Console has a separate report on how your pages appear in Google's AI features.

GA4 channel conditions can be set to ignore case. Check the option when you add the condition, or keep the pattern in lower case as most sources are.

Yes, but measure it next to visibility. Small numbers that convert well and grow each month are worth watching, and many AI influenced visits arrive through other channels.

Keep reading

Be the brand
AI recommends next

Set up takes about five minutes. Your first report covers every major AI engine.