Emerging Digital PartnersGet in touch

How-to guide · measurement

How to track AI referral traffic from ChatGPT, Perplexity, Gemini and Copilot in GA4

GA4 added a native AI Assistant channel in May 2026, and it misses Perplexity, Google's own AI features and every session that arrives without a referrer. Here is the setup that shows you what AI traffic you are actually getting, which pages it lands on, and whether it converts.

By Richard Daniel4 min read

AI referral traffic is still small for most sites, typically around one percent of sessions in 2026, and it is growing several-fold year on year. It also converts far better than a Google click in most analyses we have seen, because the visitor arrives having already been told you are the answer. If you cannot see it in GA4, you cannot make the case for investing in it. Most businesses cannot: one 2025 study found the large majority of brands could not attribute AI traffic at all.

This is the setup that fixes that in under an hour.

Step 1: Check the native AI Assistant channel

Google added an "AI Assistant" default channel to GA4 on 13 May 2026, rolling out to most properties by June. When GA4 recognises a referrer from ChatGPT, Gemini, Copilot, DeepSeek or Grok, it sets the medium to ai-assistant and files the session under that channel. Open Reports, then Acquisition, then Traffic acquisition, and look for it.

Know its limits before relying on it. It does not include Perplexity. It excludes Google's own AI Overviews and AI Mode, which continue to report as Organic Search with no separate flag. It is not retroactive. And default channel groups cannot be edited, so you cannot add sources to it.

Step 2: Create a custom channel group with an AI Search channel

Go to Admin, then Data display, then Channel groups. Copy the Default Channel Group and name the copy "Channels with AI". Inside it, add a new channel called "AI Search" with the condition Session source matches regex (case-insensitive):

chatgpt\.com|chat\.openai\.com|openai\.com|perplexity\.ai|claude\.ai|gemini\.google\.com|copilot\.microsoft\.com|copilot\.com|you\.com|search\.brave\.com|duckduckgo\.com/aichat

GA4 derives Session source from utm_source when present and from the referrer when not, so this also catches ChatGPT links that carry utm_source=chatgpt.com (ChatGPT began adding that parameter in mid-2025).

Step 3: Reorder the channel above Referral

This is the step people miss. GA4 evaluates channel rules top to bottom, so if Referral is evaluated first, every AI session matches Referral and never reaches your new channel. Use Reorder to drag "AI Search" above Referral (and above Organic Search, to be safe), then Save. Custom channel groups apply at query time, so historical sessions are reclassified too.

Step 4: Build the two reports that matter

Create an Exploration with these dimensions and metrics:

  1. Landing page by AI source: dimension Landing page + query string, secondary dimension Session source, filtered to the regex above; metrics Sessions, Engaged sessions, Key events. This tells you which pages AI engines are actually sending people to, which is the closest thing you have to a citation report from inside your own data.
  2. Conversion by channel: dimension Session default channel group (choose your custom group), metrics Sessions, Key events, Session key event rate. Compare AI Search with Organic Search and Paid.

Save both to the Library so the team can find them.

Step 5: Capture the AI source on your lead forms

GA4 counts sessions; your CRM counts customers. Add a hidden field to your enquiry forms that captures the referrer or utm_source on page load and passes it into the lead record. Map it to a "First touch source" field in the CRM that cannot be overwritten later. This is how AI traffic becomes pipeline in a board report rather than a line in an analytics dashboard.

Step 6: Accept and document the undercount

Sessions that arrive with no referrer header land in Direct. That includes most traffic from the ChatGPT mobile apps and any link copied out of an answer. 2026 estimates of the referrer-less share range widely, from around a third to two thirds of AI sessions. Two mitigations: watch for unexplained rises in Direct traffic to pages you know AI engines cite, and use the prompt-tracking method in our AI visibility guide to measure mentions that never become clicks at all.

Step 7: Review monthly and extend the regex

Every quarter, open Traffic acquisition filtered to the Referral channel and scan for new AI hostnames. When one appears, append it to the regex. Assistants launch and rename often.

How to know it worked

Traffic acquisition shows an "AI Search" row with sessions in it. The landing-page exploration lists the pages AI engines send visitors to. Your CRM shows leads with an AI first-touch source. You can state, with a number, what AI search is worth to the business this month.

Common mistakes

  • Creating the channel and leaving it below Referral. It will show zero forever.
  • Trusting the native channel alone and concluding Perplexity sends nothing.
  • Treating the measured number as the whole picture rather than a floor.
  • Not connecting it to leads, so the finance conversation never happens.

Frequently asked questions

Does GA4 track ChatGPT traffic automatically now?

+

Partly. Since May 2026 GA4 has a default AI Assistant channel that groups recognised assistant referrers such as ChatGPT, Gemini, Copilot, DeepSeek and Grok. It does not include Perplexity, it excludes Google AI Overviews and AI Mode (which report as Organic Search), and it cannot see sessions that arrive with no referrer. You still need a custom channel group.

Why does most of my AI traffic show as Direct?

+

Many AI sessions, especially from mobile apps and copied links, arrive with no referrer header, so GA4 files them as Direct. Estimates in 2026 put the share of referrer-less AI sessions anywhere from a third to two thirds. Whatever you measure is an undercount; treat it as a floor.

Which regex should I use for AI sources?

+

A reasonable 2026 pattern for Session source is: chatgpt\.com|chat\.openai\.com|openai\.com|perplexity\.ai|claude\.ai|gemini\.google\.com|copilot\.microsoft\.com|copilot\.com|you\.com|search\.brave\.com|duckduckgo\.com/aichat. Review your Referral report quarterly and add new hosts as they appear.

Sources

  1. DarwinApps: How to track ChatGPT, Gemini and Perplexity referral traffic in GA4 and CRM · darwinapps.com
  2. SubredditSignals: Track ChatGPT and AI referral traffic in GA4 · subredditsignals.com
  3. Organik PI: GA4 AI search referral attribution · organikpi.com

Richard Daniel

Automation and Delivery Lead, Emerging Group

Richard leads automation and delivery across the Emerging group, working with EDP on client websites and with ETT on enterprise AI and process automation. He is the person who turns an audit finding into a working fix: crawler access, rendering, tracking, structured data and the plumbing that most marketing teams never see. He writes the technical guides on this site.

Guide15 Sept 2026 · 3 min read

How to get indexed by Bing (because ChatGPT search leans on it)

OpenAI names Bing among the search providers behind ChatGPT search, and independent analyses in 2026 found most of ChatGPT's cited pages also rank in Bing's top results. Copilot is Bing. If your Bing coverage is thin, so is your ChatGPT visibility. Here is the fix.

Richard Daniel
technicalai-searchmeasurement
Guide15 Sept 2026 · 4 min read

How to run a 30-minute AI searchability audit of your own website

You do not need an agency to find out why AI engines are not recommending you. This is the exact half-hour checklist we run before any deeper work: access, rendering, entity, answers, schema, freshness and footprint. Most sites fail two or three of the seven, and they are usually fixable in a week.

George McKenna
strategymeasurementai-search

← All guides