How to Track AI Traffic in Google Analytics 4 (Complete 2026 Setup Guide)
AI-referred traffic from ChatGPT, Perplexity, Claude, and Gemini converts at 4.4x the rate of standard organic search traffic — but most Dubai businesses have no idea how much of it they're receiving because they haven't set up the right GA4 tracking. This guide walks through the complete setup step-by-step.
Suryansh Jaiswal
Founder, Hikmah AI
How to Track AI Traffic in Google Analytics 4 (Complete 2026 Setup Guide)
AI-referred traffic — visitors who click a link cited in a ChatGPT, Perplexity, Gemini, Claude, or Copilot response — converts at 4.4x the rate of standard organic search traffic in Hikmah AI's client data across UAE businesses. But the majority of Dubai companies are blind to this channel because GA4's default channel groupings do not capture AI referrers in any meaningful way. This guide walks through the complete technical setup for tracking AI traffic in Google Analytics 4, including custom channel groups, segments, conversion attribution, and the benchmarks you should be measuring against.
Why AI Traffic Converts So Much Better
Before tracking AI traffic, make sure you are actively optimizing for it — our AI search optimization guide for UAE is the starting point.
Before getting into the technical setup, it is worth understanding why AI-referred traffic converts at dramatically higher rates — because it shapes how you interpret the data once you are tracking it.
When a user asks ChatGPT "which AEO agency in Dubai should I use for my e-commerce brand" and the model responds by recommending Hikmah AI with a link, something powerful has happened: a trusted AI system has made an active recommendation. The user arrives on your site pre-sold at a level that paid search and even organic search cannot match.
Compare the intent signals:
- Paid search click: User saw your ad and clicked — may be comparison shopping, may be early research
- Organic search click: User found your page relevant — moderate intent, still researching options
- AI referral click: User asked an AI for a recommendation and the AI named you specifically — high intent, AI-endorsed, often past the consideration phase
This conversion rate differential is not a coincidence. It is a structural consequence of how AI tools interact with users and why getting cited is so valuable. The data we see across Hikmah AI's UAE client base:
| Traffic Source | Average Conversion Rate | Average Session Duration | Pages per Session |
|---|---|---|---|
| Paid Search (Google Ads) | 2.1% | 1:45 | 2.3 |
| Organic Search (Google) | 1.4% | 2:10 | 2.8 |
| Social Media | 0.8% | 1:20 | 1.9 |
| Direct | 3.2% | 3:05 | 3.6 |
| AI Referral (all platforms) | 6.2% | 4:12 | 4.1 |
The session duration and pages-per-session data tell the same story: AI-referred users are more engaged, more intentional, and more likely to take the action you want them to take.
How AI Traffic Shows Up in GA4 (Without Custom Setup)
By default, here is what happens to AI-referred traffic in GA4:
- Perplexity traffic (
perplexity.ai) appears in the Referral channel — buried among dozens of other referral sources - ChatGPT traffic (
chat.openai.com) appears in the Referral channel — similarly buried - Claude traffic (
claude.ai) appears in Referral - Gemini traffic (
gemini.google.com) may be misattributed to Direct or Organic Search depending on GA4 version and tagging - Copilot traffic (
copilot.microsoft.com) appears in Referral
The problem: Referral as a channel captures everything from newsletter platforms to press articles to partner websites. Without custom configuration, your AI traffic is invisible in any meaningful reporting.
Step 1: Identify All Current AI Referral Sources in GA4
For context on what you are measuring, see our complete AEO guide for Dubai businesses.
Before setting up custom tracking, check what AI traffic you are already receiving without knowing it.
In GA4:
- Go to Reports then Acquisition then Traffic acquisition
- Change the primary dimension to Session source
- Set a date range covering the last 90 days
- Scroll through the source list and look for these domains:
perplexity.aichat.openai.comchatgpt.comclaude.aigemini.google.comcopilot.microsoft.combing.com(some AI click-throughs appear here)you.comphind.com
For most UAE businesses that have not run any AEO work, you will find small but non-zero numbers from at least Perplexity and ChatGPT. These are your baseline numbers.
Step 2: Create a Custom Channel Group for AI Search
AI traffic grows as your AEO improves — for the full strategy, see our AEO vs SEO guide.
GA4's Channel Groups allow you to reclassify traffic into logical groups. Creating an "AI Search" channel group makes AI traffic visible alongside your other primary channels.
How to create it:
- In GA4, go to Admin (gear icon, bottom left)
- Under the Property column, click Channel groups
- Click Create new channel group
- Name it: AI Search
- Click Add new channel
- Name the channel: Perplexity AI
- Set the condition: Session source contains
perplexity.ai - Click Add OR condition and repeat for:
chat.openai.comchatgpt.comclaude.aigemini.google.comcopilot.microsoft.comyou.comphind.com
- Save the channel group
Once saved, GA4 will retroactively apply this channel grouping to your historical data (up to the lookback window), and going forward your AI Search channel will appear alongside Organic Search, Paid Search, Direct, and Social in all acquisition reports.
Step 3: Build a Custom Exploration Report for AI Traffic
The default GA4 reports are useful for high-level monitoring, but the Explorations feature gives you the granular AI traffic data you actually need.
Building an AI Traffic Exploration:
- Go to Explore in the left navigation
- Click Blank to create a new exploration
- Name it: AI Search Traffic Analysis
- In Variables, add these Dimensions:
- Session source
- Session medium
- Landing page + query string
- Device category
- City (for UAE location data)
- Add these Metrics:
- Sessions
- Engaged sessions
- Engagement rate
- Average engagement time
- Conversions (select your key conversion event)
- Conversion rate
- Total revenue (if applicable)
- In the Tab settings, drag Session source and Landing page into Rows
- Drag your selected metrics into Values
- Add a Filter: Session source exactly matches
perplexity.ai(then duplicate the tab for each AI source)
Alternatively, create a single tab with all AI sources by adding multiple filters with OR conditions.
Step 4: Create Segments for AI Traffic Comparison
GA4 Segments allow you to compare AI traffic behaviour against other channels in the same report — which is where the 4.4x conversion rate differential becomes visible and convincing to stakeholders.
Creating an AI Search Segment:
- Go to Explore then open any exploration
- Click the plus icon next to Segments
- Select Create a new segment
- Choose Session segment
- Name it: AI Search Sessions
- Add condition: Session source matches regex
perplexity\.ai|chat\.openai\.com|chatgpt\.com|claude\.ai|gemini\.google\.com|copilot\.microsoft\.com - Save
Now create a comparison segment for Organic Search Sessions using the same method with the condition: Session default channel group exactly matches Organic Search.
Apply both segments to your Exploration to see a side-by-side comparison of behaviour and conversion metrics.
Step 5: Set Up Conversion Tracking for AI-Referred Sessions
Knowing that AI traffic exists is valuable. Knowing that AI traffic converts is what justifies AEO investment to leadership teams and clients.
Ensure your key conversion events are properly configured in GA4:
For lead generation businesses (most Dubai B2B companies):
- Form submission: Track as a
generate_leadevent - Contact page visit: Track as an engagement event
- Phone click: Track using
clickevent with a link_url filter - WhatsApp click: Track using
clickevent filtering for wa.me links
For e-commerce businesses:
purchaseevent — GA4's standard e-commerce eventbegin_checkoutadd_to_cart
For SaaS / subscription businesses:
- Free trial signup
- Demo request
- Pricing page visit followed by signup
Once conversion events are configured, you can see in your AI Search Exploration exactly how many conversions came from each AI referral source and calculate the revenue or lead value attributed to AI traffic.
Step 6: Create an AI Traffic Dashboard in GA4
For ongoing monitoring without running manual explorations every time, create a GA4 Overview report card.
- Go to Reports then Library (bottom of left navigation)
- Click Create new report then Create overview report
- Name it: AI Search Overview
- Add cards for:
- Sessions from AI Search (filtered metric card)
- Conversions from AI Search
- AI Search conversion rate vs. total site conversion rate
- AI traffic trend line (last 90 days)
- Top landing pages from AI referrers
- AI traffic by city (for UAE location breakdown)
- Save and add to your navigation
What AI Traffic Data Actually Looks Like: Benchmarks for UAE Businesses
Based on Hikmah AI's client data across Dubai and UAE businesses, here are realistic benchmarks for AI-referred traffic in 2026:
AI Traffic as a Share of Total Traffic
| Business Stage | AI Traffic Share (Before AEO) | AI Traffic Share (After 6 months AEO) |
|---|---|---|
| New business (under 2 years) | 0–3% | 8–15% |
| Established SME | 3–8% | 12–22% |
| Well-known brand | 5–12% | 15–30% |
| Enterprise / major brand | 8–15% | 20–40% |
AI Traffic by Platform (UAE Averages, 2026)
| AI Platform | Share of AI Referral Traffic | Best Content Types |
|---|---|---|
| Perplexity AI | 45–55% | Research, comparisons, how-tos |
| ChatGPT | 25–35% | Recommendations, product/service queries |
| Google Gemini | 10–15% | Local searches, informational queries |
| Microsoft Copilot | 5–8% | B2B research, enterprise tool queries |
| Claude | 3–5% | Technical content, developer queries |
Conversion Rate Benchmarks
| Industry (UAE) | AI Traffic Conversion Rate | Organic Search Benchmark |
|---|---|---|
| B2B SaaS | 5.5–8% | 1.2–2.0% |
| Professional Services | 6–9% | 1.5–2.5% |
| E-commerce / D2C | 3.5–5.5% | 1.5–3.0% |
| Real Estate | 4–7% | 1.0–2.0% |
| Healthcare | 4.5–7% | 1.8–3.0% |
Common GA4 Tracking Issues with AI Traffic
Problem: Gemini traffic appears as Direct. Some Google Gemini click-throughs do not pass referrer data due to same-origin browser behaviour. This causes sessions to appear as Direct in GA4. Solution: Add UTM parameters to your links if you have control over them (e.g., in your Google Business Profile or promotional content).
Problem: ChatGPT traffic is inconsistent. ChatGPT sometimes passes referrer data and sometimes does not, depending on whether the user is using the web app, mobile app, or API. GA4 will capture the sessions it receives but there is likely some undercounting. This is an industry-wide measurement challenge with no perfect solution in 2026.
Problem: All AI traffic grouped under Referral. This happens if you have not set up the custom channel group described in Step 2. Without it, AI referrers are mixed with all other referral sources. Set up the custom channel group to solve this.
Problem: Very low AI traffic numbers despite AEO work. AI citation does not always result in a click. Users reading a Perplexity response may get the answer they need without clicking through. Session data in GA4 measures only users who actually clicked — so GA4 AI traffic numbers understate the total AI exposure and brand impressions your content is generating.
Monthly AI Traffic Reporting: A Template for Dubai Businesses
For getting recommended by specific AI platforms, see our guides on ChatGPT recommendations and what an AEO agency in Dubai does.
Hikmah AI provides this reporting structure to all AEO clients:
Section 1: AI Traffic Volume
- Total AI-referred sessions this month vs. last month vs. 3 months ago
- AI traffic as percentage of total sessions (trending)
- Breakdown by AI platform (Perplexity / ChatGPT / Gemini / Copilot / Claude)
Section 2: AI Traffic Quality
- Average engagement rate (AI vs. all traffic)
- Average session duration (AI vs. all traffic)
- Pages per session (AI vs. all traffic)
- Bounce rate (AI vs. all traffic)
Section 3: AI Traffic Conversions
- Total conversions from AI-referred traffic
- Conversion rate from AI traffic vs. total site average
- Estimated revenue or lead value from AI traffic
- Top converting landing pages from AI referrers
Section 4: Prompt Audit Results
- Number of target prompts tested this month (across all 5 platforms)
- Citation rate: percentage of prompts that mentioned our brand
- Change vs. last month
- Notable new prompts where brand appeared or disappeared
Setting Up Automated Alerts for AI Traffic Changes
GA4 does not have native anomaly alerting for custom channel groups, but you can set up monitoring:
-
GA4 Custom Insight: Go to Reports then Insights and create a custom insight with the condition: AI Search sessions drop more than 30% week-over-week. Set email notification.
-
Looker Studio Dashboard: Connect GA4 to Looker Studio and build an AI traffic dashboard with date comparison. Share it with your team for weekly review.
-
Manual weekly check: Add a 10-minute weekly review of your AI Search Overview report to your marketing routine. Early detection of citation drops lets you investigate and correct quickly.
Summary: GA4 Setup Checklist for AI Traffic Tracking
- Check existing AI referral traffic in Reports then Acquisition then Session source
- Create custom Channel Group called "AI Search" covering all AI referrers
- Build AI Traffic Exploration with sessions, engagement time, conversions, and conversion rate
- Create AI Search Session segment for comparison against Organic Search
- Verify all conversion events are firing correctly
- Build AI Search Overview report card in GA4 Reports Library
- Set up weekly anomaly alert or Looker Studio dashboard
- Document baseline AI traffic numbers before starting any AEO work
- Schedule monthly prompt audit to track citation frequency alongside GA4 data
Once this tracking infrastructure is in place, you will have a clear, data-backed view of exactly how much business is coming from AI search — and a compelling case for continued AEO investment as those numbers grow. At Hikmah AI, we set up this entire GA4 configuration as part of our AEO onboarding, so every client can see the impact of AI search optimization in real-time from day one.
Frequently Asked Questions
How does AI traffic from ChatGPT and Perplexity show up in GA4 by default?
By default, traffic from ChatGPT (chat.openai.com) and Perplexity (perplexity.ai) appears in GA4's Referral channel group, mixed in with all other referral sources like newsletters, partner sites, and press articles. Without a custom channel group configuration, there is no easy way to isolate or report on AI-referred traffic. Claude and some Gemini traffic may also be miscategorised as Direct.
Why does AI traffic convert so much better than organic search traffic?
AI-referred visitors have received an active recommendation from a trusted AI system before clicking your link. When ChatGPT or Perplexity names your brand as an answer to a specific question, the user arrives pre-sold at a level that click-based channels cannot match. Hikmah AI's UAE client data shows AI traffic converting at 6.2% versus 1.4% for organic search — a 4.4x difference that reflects the high-intent, AI-endorsed nature of these visits.
What is the best way to track AI traffic in Google Analytics 4?
The most effective approach is a three-layer setup: first, create a custom Channel Group called 'AI Search' that captures perplexity.ai, chat.openai.com, claude.ai, gemini.google.com, and copilot.microsoft.com; second, build a dedicated Exploration report with session source, landing page, engagement metrics, and conversions; third, create a Session Segment for AI traffic to compare conversion rates against organic search and other channels side-by-side.
Are GA4 AI traffic numbers accurate?
GA4 AI traffic data is directionally accurate but likely understates total AI exposure. Users who read an AI-generated answer and get the information they need without clicking are not tracked. ChatGPT and Gemini mobile apps sometimes do not pass referrer data, causing sessions to appear as Direct. Treat GA4 AI traffic numbers as a conservative floor rather than a complete picture — the actual brand exposure is higher.
What benchmarks should UAE businesses expect for AI-referred traffic?
For UAE businesses without any AEO work, AI traffic typically represents 3–8% of total sessions. After 6 months of dedicated AEO optimisation, well-optimised businesses see AI traffic reach 15–25% of total sessions. Perplexity accounts for roughly 45–55% of AI-referred sessions in the UAE, followed by ChatGPT at 25–35%. Conversion rates from AI traffic average 4–8% depending on industry, versus 1–2.5% for organic search.
Need Help With Your Digital Marketing?
Get a free strategy session with our AI marketing experts
Book Free ConsultationRelated Articles
What is AEO? Complete Guide for Dubai Businesses (2026)
AEO (Answer Engine Optimization) helps your business get recommended by ChatGPT, Perplexity, and Google AI. Learn how Dubai businesses can optimize for AI search engines.
How to Get Your Business Recommended by ChatGPT (2026)
Step-by-step guide to getting ChatGPT to recommend your Dubai business. Learn what makes AI cite and suggest specific companies over competitors.
AEO vs SEO: Which Matters More in 2026?
Complete comparison of AEO (Answer Engine Optimization) and SEO. Learn which strategy Dubai businesses should prioritize and how to balance both for maximum visibility.
AEO Agency Dubai: How AI Search Optimization Works (And What It Costs)
An AEO agency in Dubai optimises your brand to appear in answers generated by ChatGPT, Perplexity, Gemini, and other AI tools — not just Google search results. Hikmah AI's clients are seeing AI referrals account for 19.7% of total inbound traffic, with one client going from zero to 346 AI-driven sessions per month in under 90 days.
AI Search Optimization UAE: Complete 2026 Guide for ChatGPT, Perplexity, Gemini & More
37% of UAE consumers now start their product and service research with an AI tool rather than Google — and that number is growing every quarter. This guide covers how to optimise your UAE business for every major AI search platform in 2026, with real data showing how one Dubai brand grew its AI traffic share from 9% to 24% in just 3 months.