# How to Track ChatGPT and AI Traffic in GA4

> Set up a GA4 channel for ChatGPT, Perplexity, Gemini, Copilot and Claude traffic, see which pages AI sends visitors to, and understand what GA4 cannot see.

Source: https://ranklocaltoday.com/blog/track-ai-traffic-in-ga4  
Last updated: 2026-11-03

GUIDE

# How to Track ChatGPT, Gemini and AI Search Traffic in GA4 (Step by Step)

AI assistants now send visitors to local business websites, but GA4 lumps them in with other referrals by default. A ten-minute setup shows you exactly how much AI traffic you get, and where it lands.

By **RankLocalToday** Updated Nov 3, 2026 4 min read

**10** minutes to set up

**1** custom channel group

**5+** AI sources in one regex

**Some** AI visits still show as direct

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](https://ranklocaltoday.com/blog/local-seo-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](https://ranklocaltoday.com/blog/bing-webmaster-tools-local-business).

## Turn the data into action

1. Check how assistants describe you with the free [AI visibility checker](https://ranklocaltoday.com/aeo-check).
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](https://ranklocaltoday.com/blog/fix-wrong-ai-answers-about-your-business).
4. Track citations as well as clicks; see [AI citation tracking](https://ranklocaltoday.com/blog/ai-citation-tracking-and-measurement).

## 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.

More in this topic: [AI search optimization, all 66 guides →](https://ranklocaltoday.com/blog/ai-search-optimization-guides)

### 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 →](https://calendly.com/deepak-ranklocalnow/30min)

## Turn local visibility into qualified demand

Start with an accurate baseline and a prioritized action plan.

[Build Your Free Local SEO Plan →](https://ranklocaltoday.com/local-seo-plan)
