To track AI search traffic in GA4, create a custom channel group with a new channel called AI that matches session sources such as chatgpt.com, perplexity.ai, gemini.google.com, copilot.microsoft.com and claude.ai, and move it above Referral so those visits are not counted as ordinary referrals. Then look at landing pages and conversions for that channel. Expect some undercounting: Google AI Overviews arrive as organic search, and some AI app visits show as direct.

Quick check: is any AI traffic arriving?

  1. In GA4, go to Reports, then Acquisition, then Traffic acquisition.
  2. Change the primary dimension to Session source / medium.
  3. Search the table for chatgpt, perplexity, gemini, copilot and claude.

ChatGPT adds utm_source=chatgpt.com to many of the links it shows, so its visits often appear as chatgpt.com with a medium other than referral. That is why matching on source matters.

Set up an AI channel (10 minutes)

  1. Go to Admin, then Data display, then Channel groups.
  2. Copy the default channel group to create a new one, and name it, for example, "Channels with AI".
  3. Add a new channel named AI assistants.
  4. Set the condition: Session source matches regex:
    chatgpt\.com|chat\.openai\.com|perplexity\.ai|gemini\.google\.com|copilot\.microsoft\.com|claude\.ai
  5. Do not restrict the medium; tagged and untagged visits both count.
  6. Reorder so AI assistants sits above Referral. GA4 assigns each session to the first channel that matches.
  7. Save. The new group works on past data too, so you can look back.

Test it by clicking a link to your site from a ChatGPT or Perplexity answer and checking the Realtime report.

What to look at

  • Landing pages from the AI channel: which pages assistants send people to. These are the pages AI trusts; keep them accurate and current.
  • Conversions: calls, form leads and bookings from AI visits. See conversion tracking to set them up.
  • Trend over time, monthly, alongside organic search.

What GA4 cannot see

  • Google AI Overviews and AI Mode clicks arrive as google / organic. Search Console includes them in overall search data.
  • App visits without a referrer show as direct.
  • Mentions without clicks. Many people read an AI answer and then call or search your name. Watch for growth in branded searches and direct calls.

Bing's Webmaster Tools also has an AI performance report showing citations in Copilot and Bing's AI answers; see our Bing Webmaster Tools guide.

Turn the data into action

  1. Check how assistants describe you with the free AI visibility checker.
  2. Improve the pages that AI already sends people to: clear answers, prices or ranges where you can, service areas and proof.
  3. Fix wrong facts at the source; see fixing wrong AI answers about your business.
  4. Track citations as well as clicks; see AI citation tracking.

Frequently asked questions

How do I see ChatGPT traffic in Google Analytics 4?

Go to Reports, Acquisition, Traffic acquisition, and look for chatgpt.com in session source. For a cleaner view, create a custom channel group with an AI channel that matches AI sources by regex and place it above the Referral channel.

What regex should I use for AI traffic in GA4?

A practical starting point for the session source condition is: chatgpt\.com|chat\.openai\.com|perplexity\.ai|gemini\.google\.com|copilot\.microsoft\.com|claude\.ai. Add new assistants as they appear in your referral reports.

Does GA4 track traffic from Google AI Overviews?

Not separately. Clicks from AI Overviews and AI Mode arrive as Google organic traffic. Search Console includes them in overall search data rather than as a separate source.

Why is some AI traffic showing as direct?

Some AI apps and in-app browsers do not pass a referrer, so GA4 cannot tell where the visit came from. This means AI traffic is usually undercounted.

Is AI recommending your business?

Check how AI assistants describe you with the free AI visibility checker, or book a free audit and we will show you how to get cited.

Book Free Audit →