How to Track AI Referral Traffic in GA4: ChatGPT, Gemini, Claude, Perplexity, and Copilot

How to Track AI Referral Traffic in GA4
Visitors arriving from ChatGPT, Gemini, Claude, Perplexity, and Microsoft Copilot behave differently from search visitors. They arrive with a specific question already answered; they often land deep in the site rather than on the homepage, and in many accounts they convert at higher rates than organic search. Until recently, GA4 gave you no reliable way to see them. They were buried in Referral alongside forum links or lost in Direct when the AI platform passed no referrer.

That changed in May 2026, but only partially. This guide shows you how to track AI traffic in GA4 using what Google now provides natively, where that native feature falls short, and how to complete the picture with a custom channel group, a saved exploration, and conversion tracking that tells you which AI platform is producing customers.

What Counts as AI Referral Traffic?

AI referral traffic is any website session that begins when a user clicks a link inside an AI assistant or AI search product, such as ChatGPT, Gemini, Claude, Perplexity, or Microsoft Copilot. GA4 identifies it through the referrer header the AI platform passes when the user clicks through to your site, or through the medium and campaign values GA4 assigns to recognized AI sources.

The referrer domains to look for, as of October 2026:

Platform Referrer domain(s) Passes referrer reliably?
ChatGPT chatgpt.com, chat.openai.com (legacy) Yes, from the web interface
Google Gemini gemini.google.com, bard.google.com (legacy) Inconsistently
Claude claude.ai Yes, from the web interface
Perplexity perplexity.ai, www.perplexity.ai Yes
Microsoft Copilot copilot.microsoft.com, edgeservices.bing.com, link.edgepilot.com Yes, across several domains
Grok grok.com, x.ai Yes
DeepSeek chat.deepseek.com Yes
Meta AI meta.ai Yes

Keep this table handy. You will use these domains to verify what GA4’s native channel catches and to build the custom channel group that catches the rest.

Does GA4 Track AI Traffic Natively?

Yes, partially. On May 13, 2026, Google added an “AI Assistant” channel to GA4’s Default Channel Group. GA4 now automatically assigns the medium ai-assistant and the campaign (ai-assistant) to sessions from recognized AI assistant referrers and groups them in the Traffic acquisition report. Google has named ChatGPT, Gemini, and Claude as examples but has not published the full list.

This is native functionality requiring no configuration. Once the rollout reaches your property, qualifying sessions automatically began appearing under the AI Assistant row. Google’s documentation also confirms that AI Overviews and AI Mode traffic are excluded from this channel and remain in Organic Search.

Three limitations are important to understand before relying on it.

It classifies sessions from the rollout date forward. Sessions before May 13, 2026 remain in Referral or Direct. For a historical baseline, you need a custom channel group, which does apply retroactively.

The recognized list is undisclosed and incomplete. Google has not published which referrers qualify. Independent testing through mid-2026 found that perplexity.ai referrals continued to be classified as Referral, and Copilot coverage was inconsistent. Verify each platform in your own data rather than assuming coverage.

It gives you one aggregate row. The channel reports total AI assistant traffic. It does not split ChatGPT from Gemini from Claude. For that, you work at the source level.

How to Check the Native AI Assistant Channel

Before configuring anything, see what GA4 already shows.

  1. Go to Reports > Acquisition > Traffic acquisition.
  2. With the primary dimension set to Session default channel group, look for the AI Assistant row and note its session count.
  3. Change the primary dimension to Session source/medium.
  4. In the search box above the table, type each domain from the table above: chatgpt.com, claude.ai, perplexity.ai, and so on. Recognized assistants show as chatgpt.com / ai-assistant. Unrecognized platforms show as perplexity.ai / referral.
  5. Add up the source-level sessions and compare the total to the AI Assistant row from step 2. The difference is what your property is missing in the native channel.

You can also filter the Session campaign dimension for (ai-assistant) in any report that supports it. This isolates natively recognized AI sessions quickly.

Native GA4 Features vs Manual Configuration

Capability Native GA4 (no setup) Manual configuration
AI Assistant channel in Default Channel Group Yes, since May 13, 2026; classifies sessions from rollout forward Not applicable
Platform-level breakdown (ChatGPT vs Claude vs Perplexity) Via Session source/medium, manually filtered Custom channel group with one channel per platform
Coverage of Perplexity, Copilot, Grok, and others Inconsistent or absent based on independent testing Custom channel group regex
Historical data before May 2026 Classified as Referral or Direct Custom channel group applies retroactively
Persistent AI traffic report No Saved Free form exploration
Conversion tracking by AI source Key events in explorations with a source filter Same, plus First user source for first-touch view
Explicit source tagging No UTM parameters on links you control

The practical conclusion: the native channel is a useful starting signal. Complete tracking requires the four manual steps that follow.

How to Set Up Complete AI Traffic Tracking in GA4

Complete AI traffic tracking in GA4 requires four configuration steps: a custom channel group that captures every AI platform and applies to historical data, a saved exploration that persists as a reusable report, conversion tracking that attributes key events to specific AI sources, and UTM parameters on any AI-platform links you control directly.

Step 1: Create a Custom Channel Group for AI Traffic

This is the most important configuration step. Custom channel groups are native GA4 functionality, free, and retroactive, making them the right way to establish a baseline and cover platforms the native channel misses.

  1. Go to Admin > Data display > Channel groups.
  2. Click Create new channel group. Name it something descriptive, such as “AI Referral Channels.”
  3. Click Add new channel and name it “AI Assistants (All Platforms)” or similar.
  4. Set the condition to Session source > matches regex and paste the pattern below.
  5. Save the channel, then drag it above Referral in the channel order. GA4 uses first-match logic. If Referral sits above your AI channel, Referral claims the sessions first, and your new channel stays empty.
  6. Save the channel group.

The regex pattern, current as of October 2026:

chatgpt\.com|chat\.openai\.com|claude\.ai|perplexity\.ai|gemini\.google\.com|bard\.google\.com|copilot\.microsoft\.com|edgeservices\.bing\.com|edgepilot\.com|grok\.com|x\.ai|deepseek\.com|meta\.ai|you\.com|poe\.com

Two notes on the pattern. First, the unanchored version catches subdomains such as www.perplexity.ai and chat.deepseek.com, which is usually what you want. Second, don’t add a medium condition like medium = referral. Since May 2026, recognized assistants carry the medium ai-assistant, and a medium filter will exclude them. Older rules built on medium = referral no longer match current ChatGPT traffic.

If you want platform-level channels rather than one aggregate, create separate channels: “ChatGPT” matching chatgpt\.com|chat\.openai\.com, “Perplexity” matching perplexity\.ai, and so on. This is more work to maintain but gives you per-platform rows in every report that uses the channel group.

To use the custom group in Traffic acquisition, select its name from the primary dimension dropdown in place of the default channel group. Review the regex quarterly. New AI platforms appear, and existing ones occasionally change domains.

Step 2: Build a Saved Exploration for AI Traffic

Standard reports give you totals. Explorations let you combine dimensions and apply persistent filters.

  1. Go to Explore and create a new Free form exploration.
  2. Under Dimensions, import Session source, Session medium, Landing page + query string, and Device category.
  3. Under Metrics, import Sessions, Engaged sessions, Engagement rate, Key events, and Total revenue if you run e-commerce.
  4. Drag Session source into Rows and your chosen metrics into Values.
  5. Under Filters, add Session source > matches regex > paste the AI regex from Step 1.
  6. Add Landing page + query string as a second row dimension to see which pages AI platforms send people to. This is often the most useful view in the setup, because AI referrals tend to land on specific informational pages rather than the homepage.
  7. Name and save the exploration.

Use the date range comparison to track growth month over month. Because AI referral traffic is still small on most sites, percentage changes can look dramatic from low bases. Report absolute numbers alongside percentages.

Step 3: Track Conversions From AI Referral Traffic

The exploration from Step 2 already includes Key events. To understand conversion quality, add the following:

  • Key event rate (Key events divided by Sessions) to compare AI traffic conversion efficiency against Organic Search and Referral.
  • Event name as a breakdown dimension to see which specific key events (form submissions, calls, purchases) AI traffic triggers.
  • Total revenue and purchases for ecommerce properties.

For attribution, go to Advertising > Attribution > Conversion paths and filter the Session source dimension to your AI regex. This shows where AI referrals sit in multi-touch journeys. A common pattern is AI referral as a first touch followed by an organic branded search and conversion several days later, which session-scoped reports credit to Organic Search.

To see first-touch credit specifically, use the First user source / medium dimension instead of Session source/medium in any report. This shows conversions from users whose very first visit came from an AI platform, regardless of which channel closed the conversion.

To model the value of AI-driven conversions relative to acquisition cost, SEO Ninja’s conversion rate calculator lets you estimate the revenue impact of changes in conversion rates by channel.

Step 4: Add UTM Parameters Where You Control the Link

For most AI referral traffic, you do not control the link. ChatGPT cites your page because its retrieval system selected it, and you cannot append parameters to that citation. But for AI surfaces where you publish your own links, such as a Custom GPT, a Gemini Gem, a Claude Project, or a Copilot plugin you built, UTMs give you clean attribution:

https://yourdomain.com/page?utm_source=chatgpt&utm_medium=ai-assistant&utm_campaign=custom-gpt

Use ai-assistant as the medium to match Google’s convention, so your tagged sessions group alongside natively recognized ones in the AI Assistant channel.

Do not add UTMs to links on your own website pointing to other pages. That overwrites the original session source and breaks attribution. This is manual configuration, not native GA4 behavior, and it applies only to links you create.

What GA4 Cannot Attribute: Attribution Limitations

GA4 cannot attribute AI influence that produces no referrer or tracking parameter. Mobile app clicks with no referrer, users who read an AI answer and then search or type your URL, brand mentions in AI Overviews that lead to organic clicks, and private-browsing sessions all land in Direct or Organic Search. AI referral traffic in GA4 is a floor, not a complete measure of AI’s influence on your traffic.

The gaps, specifically:

No referrer from native apps. ChatGPT, Gemini, and Copilot mobile apps frequently strip the referrer. These sessions are recorded as Direct. No GA4 configuration recovers them.

Dark AI influence. A user who asks Claude for a recommendation, gets your brand name, and then searches for it on Google produces an Organic Search session with a branded query. The AI influence is real but invisible to channel attribution. Watch branded search volume in Google Search Console as a proxy.

AI Overviews are not AI referral traffic. Google’s documentation confirms that AI Overviews and AI Mode clicks are excluded from the AI Assistant channel and remain in Organic Search. Search Console does not currently separate AI Overview clicks from standard organic clicks. You cannot isolate them in either tool.

Data-driven attribution redistributes credit. GA4’s default attribution model spreads conversion credit across touchpoints. An AI referral that started a journey may show fractional credit in attribution reports and zero credit in session-scoped reports.

The recognized AI Assistant list is undisclosed. Any platform not on Google’s list falls to Referral. Your custom channel group is the safeguard.

Treat the numbers you get as a conservative lower bound. If AI referral sessions are growing and converting, the real influence is larger than what GA4 shows.

Key Takeaways

GA4 now has a native AI Assistant channel, introduced May 13, 2026, that assigns the medium ai-assistant and campaign (ai-assistant) to recognized AI referrers. It classifies sessions from the rollout date forward and covers an undisclosed list, so you still need a custom channel group placed above Referral for complete, retroactive, platform-level tracking.

  • Check the native AI Assistant row in Traffic acquisition first, then compare it against source-level numbers to see what it misses in your property.
  • Build a custom channel group with a regex covering chatgpt.com, claude.ai, perplexity.ai, gemini.google.com, copilot.microsoft.com, and emerging platforms, and position it above Referral.
  • Do not add a medium = referral condition; recognized assistants now carry the medium ai-assistant
  • Save a free-form exploration filtered to AI sources, with landing page and key event metrics, for a persistent view.
  • Use First user source/medium to see first-touch AI conversions that session-scoped reports credit elsewhere.
  • Add UTM parameters only on AI-platform links you control, using ai-assistant as the medium.
  • Treat GA4 AI referral figures as a floor; app traffic, dark AI influence, and AI Overview clicks are not attributable.

Conclusion

Tracking AI traffic in GA4 is now a two-layer setup. The native AI Assistant channel will automatically handle recognized platforms going forward. A custom channel group fills the coverage gaps, applies to your history, and gives you platform-level detail showing whether ChatGPT or Perplexity is driving customers. A saved exploration makes the view persistent, and first-touch attribution reveals the conversions that session reports hide.

Once measurement is in place, the next question is how to grow the number. AI platforms cite and recommend pages that are well-structured, factually consistent, and backed by credible third-party references. SEO Ninja’s AI SEO service covers the entity documentation, content structure, and schema implementation that improve how your brand is represented across ChatGPT, Gemini, Claude, Perplexity, and Copilot. To see where you currently stand, request a free SEO analysis.

Frequently Asked Questions

Yes. Google added an "AI Assistant" channel to the Default Channel Group on May 13, 2026. It assigns the medium ai-assistant and campaign (ai-assistant) to sessions from recognized AI referrers, with ChatGPT, Gemini, and Claude named as examples. The full list is unpublished, so a custom channel group is still recommended.

Independent testing through mid-2026 found that perplexity.ai referrals were not included in GA4's native AI Assistant channel and continued to be classified as Referral. A custom channel group containing perplexity\.ai in its regex, positioned above Referral, captures these sessions correctly. Google may update its recognized list, so re-check periodically.

Not through the native AI Assistant channel, which classifies sessions from its rollout date forward. A custom channel group applies retroactively to all historical data, so creating one is the only way to establish a baseline for AI referral traffic before May 2026.

Create a free-form exploration with Session source as the row dimension, filter it to your AI regex, and add Key events and Key event rate as metrics. For a first-touch view, swap Session source for First user source, which credits conversions to the platform that first brought the user to your site.

Mobile app clicks frequently pass no referrer, so GA4 classifies them as Direct. Some privacy settings and browser configurations also strip referrers. No GA4 setting recovers this traffic. The AI referral figures you see are a lower bound.

Only on links you place inside AI products you control, such as a Custom GPT or Claude Project. Use ai-assistant as the medium to match Google's convention. You cannot add UTMs to citations that AI platforms generate on their own, and you should never add UTMs to internal links on your website.

No. Google's documentation confirms that AI Overviews and AI Mode traffic are excluded from the AI Assistant channel and remain in Organic Search. Search Console does not currently separate AI Overview clicks from standard organic clicks, so they cannot be isolated in either tool.

Leave a Reply

Your email address will not be published. Required fields are marked *

0 Comments

No comments yet.

Main Image Overlay Image

Subscribe to our newsletter!

Get our insights and updates in your inbox.

Have a question?

Feel free to reach out to us!

    Related Posts