A prospect messages your sales team saying, "We found your company through ChatGPT." You open Google Analytics 4—and the session shows up as Google Organic or Direct.
Neither side is wrong. Buyers frequently read an AI recommendation on mobile without clicking an outbound link, then search your brand name on Google from their desktop the next morning.
Here is the clean 15-minute setup we use at Terlihat.com to separate identifiable AI referrals in GA4 without muddying executive reporting.
Step 1: Create an "AI Search" Custom Channel Group in GA4
Out of the box, GA4 dumps AI search clicks into Referral (or Direct when mobile apps strip the referrer). With Editor or Administrator permissions, open Admin → Data display → Channel groups, create a new channel named AI Search, and match the Source dimension with Matches regex:
chatgpt\.com|perplexity\.ai|gemini\.google\.com|claude\.ai|copilot\.microsoft\.com Two gotchas that break most setups:
- Reorder
AI SearchaboveReferralbefore saving—GA4 evaluates channel rules top-to-bottom. - Inspect your last 28 days of
Session sourcevalues first. GA4 regex rules are full-match and case-sensitive; add variants likechat.openai.comif they appear in your property.
If you want a quick copy-paste regex builder (runs 100% in your browser, no login required), use our free tool: terlihat.com/en/ga4-ai-traffic-filter.
Step 2: Track 4 Separate Signals (Never Sum Them Into One Number)
Because GA4 only sees clicks that preserve referrers, report four columns side by side:
- GA4 (
AI Searchchannel): Identifiable AI referral sessions + lead key events. - Google Search Console: Generative AI performance impressions/clicks (where available).
- Bing Webmaster Tools: AI Performance page citations (key retrieval layer behind ChatGPT Search & Copilot).
- Contact Form / CRM: One optional field—"How did you find us?"—to capture zero-click AI discovery.
Read the full 15-minute walkthrough and QA table on Terlihat.com.