
Here is the awkward truth about AI traffic. Some of it shows up in your reports. Some of it hides inside “direct”. And none of it matters until you can connect it to a lead. Counting visits from ChatGPT or Perplexity is the easy half. The half that pays is knowing which of those visitors turned into a conversation.
This walkthrough sets up GA4 to spot AI-referred visits, then carries that source into your CRM so sales can see it too.
What GA4 can see, and what it can’t
GA4 reports sessions when the referrer names an AI tool. It cannot see visits where no referrer is passed, and those often land as direct traffic. So treat your AI numbers as a floor, not a total, and set them beside what buyers tell you in their own words.
Set it up in six steps
1. Start with the default AI Assistant channel
GA4’s default channel grouping now includes an AI Assistant channel. Open the traffic acquisition report and see whether it already shows sessions. It is the quickest sanity check, and the definition is in Google’s documentation, linked below.
2. Find which AI tools send you visits
Switch the report to session source and medium and look for the main AI domains: chatgpt.com, perplexity.ai, gemini.google.com, copilot.microsoft.com and claude.ai. The list moves, so look again every few months.
3. Build a custom channel group
The default channel can miss tools that appear under other names. Create a custom channel group for AI sources with a regular expression that matches the domains you found. Place it above the generic referral rule so each visit is counted once.
4. See where AI visitors land
Open the landing page report and add source as a secondary dimension, or filter to your AI channel. The pages that attract AI visitors show you which content is being quoted, and which deserves the most care.
5. Pass the source into your CRM
Capture source, medium and landing page in hidden fields on your contact and demo forms, and map them to CRM properties. A lead created by an AI-referred session then carries that history, and your reports can show pipeline and revenue by source.
6. Ask buyers directly
Because some visits arrive with no referrer, add a “How did you hear about us?” field with an option such as “ChatGPT or another AI tool”. Read those answers next to the tracked data. Our guide to self-reported attribution explains how to ask and code them.
A monthly review that takes twenty minutes
- AI-referred sessions and the pages they landed on.
- Leads and opportunities that carry an AI source, tracked or self-reported.
- New AI domains showing up in your referral list.
- Whether the pages earning citations have the call to action they need.
Limits to know before you report this to anyone
Volumes are usually small next to search, so judge the channel by lead quality and trend, not raw visits. Referrer data varies by tool and can change without notice. And an AI answer that names you without a click leaves no trace in analytics at all. That is why a prompt log, like the one in our Perplexity citation playbook, is worth running alongside. If you want help with the setup, let’s talk.
Sources
- Google Analytics Help, Custom channel groups (checked October 2026)
- Google Analytics Help, Default channel group definitions, including AI Assistant (checked October 2026)
- DarwinApps, How to Track ChatGPT, Gemini and Perplexity Referral Traffic in GA4 and CRM (source of the adapted regex and the CRM hidden-field approach)
- Cognizo, How to track and report AI traffic in Google Analytics 4 (referrer loss and Google AI features)
Frequently asked questions
Can GA4 track traffic from ChatGPT and other AI tools?
Partly. GA4 can report sessions when the referrer identifies an AI tool, and its default channel grouping includes an AI Assistant channel. Visits without a referrer usually appear as direct traffic, so tracked numbers are a minimum, not the full picture.
How do I create an AI traffic channel group in GA4?
In GA4 admin, create a custom channel group and add a rule for session source that matches AI domains with a regular expression, such as ChatGPT, Perplexity, Gemini, Copilot and Claude. Place it above the generic referral rule so sessions are counted in only one channel.
Why does some AI traffic show up as direct?
Some AI tools and apps do not pass a referrer when a user clicks a link, so analytics cannot tell where the visit came from and records it as direct. This is why self-reported attribution is a useful companion to tracked data.
How do I connect AI referral traffic to leads in my CRM?
Capture source, medium and landing page in hidden fields on your forms and map them to CRM properties. A lead created from an AI-referred session then carries that source, so you can report on opportunities and revenue by channel.
Should I add AI to my “how did you hear about us” field?
Yes. Add an option such as “ChatGPT or another AI tool”, since many AI-influenced buyers arrive with no trackable referrer. Reading the answers next to your tracked data gives a more honest view of how much AI contributes.
How often should I review AI referral traffic?
Monthly is enough for most B2B teams. Check AI-referred sessions and landing pages, leads that carry an AI source, and any new AI domains in the referral list. Judge the trend and lead quality over several months, since volumes are often small.
What are the limits of AI referral tracking in GA4?
GA4 only sees clicks that pass referrer data. People who read an AI answer and later search your name or type your address will not show up as AI traffic.
Should I report AI traffic to leadership?
Yes, with caveats. Present it as a floor, explain what GA4 cannot see and watch the trend over several months instead of reacting to one.
Put this to work
Find out how your budget compares, or talk it through with Brad for 30 minutes.

About 10Louder
10Louder is a brand and marketing strategy firm led by Brad McCormick, Instructor of Digital Marketing Strategy and Performance Management, Southern Methodist University, with twenty-six years of brand strategy in New York, Austin and Dallas.