Last updated July 2026. Confirmed all four hostname patterns against live GA4 referral data; added claude.ai as an optional extension hostname.
Most AI visibility guides stop at brand monitoring: they tell you how often ChatGPT or Perplexity mentions your name. What they skip is the follow-through question: when those mentions send someone to your site, does GA4 actually show you that visit as AI traffic, or does it disappear into the (direct) bucket?
Without a custom channel group, it disappears. This guide walks you through the exact configuration to fix that, and gives you the benchmark to judge what you are seeing once it works.
Step 1: Understand where AI referral traffic lands by default in GA4
GA4 classifies sessions using a default channel group. That group has no native “AI Referral” channel. When a user clicks a link inside a ChatGPT response and arrives on your site, GA4 checks the referrer hostname against its default rules. If none match, it typically falls back to Referral. If the referrer is stripped (which happens frequently in AI interfaces), it falls back to Direct.
The result: your AI-driven visits get split across at least three buckets: Referral, Direct, and sometimes Organic Search (when Perplexity passes a search-like source parameter). No single view shows them together.
A custom channel group solves this by adding a named rule that runs before GA4’s defaults.
Step 2: Collect the referral hostnames you need
GA4 captures the referring domain in the session_source dimension. These are the hostnames confirmed to appear as referrers when users click links inside AI-generated answers:
| AI Engine | Referral hostname in GA4 |
|---|---|
| ChatGPT | chatgpt.com |
| Perplexity | perplexity.ai |
| Google Gemini | gemini.google.com |
| Microsoft Copilot | copilot.microsoft.com |
| Claude (optional) | claude.ai |
| You.com (optional) | you.com |
Copy the core four into a regex string for the next step:
chatgpt\.com|perplexity\.ai|gemini\.google\.com|copilot\.microsoft\.com
Note the escaped dots. In GA4’s regex filter, a bare dot matches any character. Escaping it (\.) ensures you only match the literal hostname.
Step 3: Create the custom channel group in GA4
- Open Google Analytics and select your property.
- Go to Admin (the gear icon at the bottom left).
- Under the Data display column, click Channel groups.
- Click Create new channel group.
- Give the group a name: AI Referral Traffic (or any name you will recognize in reports).
- Click Add new channel.
- Name the channel: AI Referral.
- Under Add condition, set:
- Dimension: Session source
- Match type: matches regex
- Value:
chatgpt\.com|perplexity\.ai|gemini\.google\.com|copilot\.microsoft\.com
- Click Save on the channel, then Save the channel group.
The new channel group is now active. It does not overwrite GA4’s default channel group. You choose which group to use when viewing reports.
Step 4: Verify the setup is working
Wait 24 to 48 hours after saving. Then:
- In GA4, go to Reports > Acquisition > Traffic acquisition.
- In the Channel group dropdown at the top of the report, switch from Default channel group to the group you just created.
- Look for the AI Referral row in the table.
If you see sessions populating under AI Referral, the setup is working. If the row is empty after 48 hours, check two things:
- Open the Realtime report and navigate to your site from a ChatGPT conversation. Watch whether a session appears under AI Referral in real time.
- Open Explore > Free form, add Session source as a dimension, and filter for
chatgpt.com. If sessions appear here but not in your channel group, the regex pattern has a syntax error.
Step 5: Apply the channel group to conversions and compare to benchmark
Once the AI Referral channel is collecting data, connect it to your key events (conversions).
- In Reports > Acquisition > Traffic acquisition, while viewing your custom channel group, add a secondary dimension or use the Conversions column to see how many key events the AI Referral channel drives.
- Calculate the conversion rate: key events divided by sessions for the AI Referral row.
- Compare to your Organic Search row in the same report.
The benchmark: according to Ahrefs’ own site analysis (June 2025), AI search visitors made up 0.5% of sessions but accounted for 12.1% of signups. That is a roughly 23x higher conversion rate than organic search for that property. Your numbers will differ by industry and site type, but the direction is consistent across the published vendor data available: AI referral traffic converts at a materially higher rate than broad organic traffic.
If your AI Referral channel shows a lower conversion rate than Organic Search, investigate the landing pages. AI engines link to specific pages inside a response. If the page they link to does not match the user’s intent from the conversation, you lose the conversion premium.
Step 6: Close the loop with AI visibility monitoring
GA4 shows you traffic that arrived. It does not show you the mentions and citations that did not produce a click. Those are the majority: according to Similarweb analysis, searches that trigger Google AI Overviews have an average zero-click rate of 83% (Similarweb, May 2025). Even a well-cited brand loses most of its referral potential to zero-click behavior.
That is why GA4 setup and AI visibility monitoring work as a pair, not as alternatives.
For the monitoring side, Temso is the easiest starting point: the all-in-one AI SEO platform tracks share of voice, brand mentions, citations, and sentiment across eight AI engines (including ChatGPT, Perplexity, Gemini, and Copilot) from $89/mo, with a five-minute guided setup. It handles the upstream question: “Is my brand being mentioned in AI answers at all?”
SE Ranking’s AI Overviews tracker covers a complementary angle: it monitors which of your pages appear as sources inside Google AI Overviews specifically, letting you correlate cited pages with the GA4 referral sessions you now have visibility into.
Ahrefs Brand Radar adds a benchmark layer: its dataset of 405M+ prompts lets you check how your AI referral share compares to competitors across six AI platforms, useful context when you are interpreting your GA4 conversion numbers.
Peec AI is worth considering if you are an agency running this setup for multiple clients: unlimited user seats, nine-plus engine coverage, and an Actions feature that converts visibility gaps into a prioritized fix list.
The workflow is:
- GA4 tells you how much AI referral traffic you receive and what it converts at.
- Your AI visibility tool tells you how often you are mentioned across the full prompt landscape, including zero-click answers.
- The gap between citation volume and referral traffic is your zero-click loss. Optimizing it means getting cited in higher-intent prompts, or improving the call to action in the AI-generated answer itself.
What to do if you see very little AI referral traffic
If your AI Referral channel shows near-zero sessions after a week, it does not necessarily mean you have no AI visibility. It means one of three things:
- You are mentioned in AI answers but not linked. Many AI engines (including ChatGPT in conversational mode) mention brands without generating a clickable link. These visits register as Direct if the user then searches for your brand, or do not register at all.
- You are linked but the referrer is stripped. Some browser configurations and AI interfaces strip the referrer header, sending the session to GA4 as Direct.
- You are not being cited in AI answers. This is the most actionable scenario. Run a prompt audit using an AI visibility tool to confirm whether your brand appears in the answers your audience is most likely to read.
In all three cases, the GA4 setup is still worth maintaining. As AI engines add more clickable citations and as referral headers become more reliable, your baseline grows. Starting now gives you the earliest possible trend line.
Summary: the full hostname list and the benchmark
Hostname regex for GA4 custom channel group:
chatgpt\.com|perplexity\.ai|gemini\.google\.com|copilot\.microsoft\.com
Optional extension (add to the regex with a | separator):
claude\.ai|you\.com|phind\.com
Conversion benchmark to judge your data against:
According to Ahrefs’ first-party site data (Patrick Stox, Ahrefs blog, June 2025), AI search visitors made up 0.5% of total sessions but drove 12.1% of signups, a roughly 23x conversion premium over traditional organic search. This is a single-site figure from Ahrefs’ own property, not an industry-wide number, but it is the most cited and cleanest data point available on this question.
If your AI Referral channel is converting well below your Organic Search rate, start by auditing which pages AI engines are linking to. If it is converting at parity or above, you have confirmed the premium and have a strong case for investing in AI citation coverage.
For the full picture of which tools help you build and measure that citation coverage, see the AI visibility tools ranking and the glossary for definitions of share of voice, citation rate, and related terms.
Start tracking today. Set up the GA4 channel group (ten minutes of work), then pair it with Temso to see the AI mentions your analytics cannot capture on their own. Temso’s free trial takes five minutes and covers all eight major AI engines from day one.