Home/Insights/SEO and Lead Generation

SEO and Lead Generation

How to Track AI Search Traffic in GA4

A step-by-step setup to see visits, leads and revenue from ChatGPT, Perplexity, Gemini and Claude in GA4, plus the limits you should know.

How to Track AI Search Traffic in GA4 illustration

Most GA4 properties lump AI visits into referral traffic, where they hide among dozens of other sites. That makes it hard to answer a simple question: is AI search sending us qualified leads?

This guide shows how to create a dedicated AI channel in GA4, build a simple monthly view, and read the numbers honestly. It takes about 20 minutes and needs editor access to your GA4 property.

Key takeaways
  • GA4 lumps AI visits into Referral by default.
  • A custom AI Search channel placed above Referral fixes that in about 20 minutes.
  • Mark leads, meetings and purchases as key events so AI traffic links to results.
  • GA4 cannot see mentions without clicks, so pair it with monthly answer tracking.
  • Clicks from Google AI Mode sit inside Google organic data.

Where AI visits show up in GA4

When someone clicks a link in an AI answer, the visit usually arrives with the AI tool’s domain as the referrer. By default GA4 groups these under Referral, and some arrive with no referrer at all and land in Direct.

AI toolReferrer domains to look for
ChatGPTchatgpt.com, chat.openai.com
Perplexityperplexity.ai
Geminigemini.google.com
Claudeclaude.ai

Referrer domains can change as products evolve. Check your Referral report every few months for new AI domains and update the rule.

Before you start, open Reports, then Acquisition, then Traffic acquisition, and add Session source as a secondary dimension. Filter for words like chatgpt, perplexity, gemini and claude. This shows how much AI traffic you already receive and which exact source values GA4 records for your property. Use those exact values when you write the channel rule in the next step, so nothing is missed.

Create an AI channel group

  1. Go to Admin, then Data display, then Channel groups.
  2. Copy the default channel group so you keep the original intact.
  3. Add a new channel called AI Search.
  4. Set the condition: Session source matches regex chatgpt|openai|perplexity|gemini\.google|claude\.ai.
  5. Move AI Search above Referral in the list so it is evaluated first.
  6. Save, then use the new channel group in your acquisition reports.

Why order matters

GA4 assigns each session to the first channel whose rule matches. If Referral sits above AI Search, AI visits will still be counted as referrals.

Historical data

Custom channel groups in GA4 apply to past data in reports, so you can compare earlier months straight away.

Mark the right key events

AI traffic is only useful if you can see what it leads to. Before building reports, make sure your most important actions are marked as key events in GA4.

Business typeKey events to mark
B2B servicesContact form submit, meeting booked, phone click, report request
SaaSTrial started, demo booked, signup completed
D2CPurchase, add to cart, begin checkout
Lead magnetsDownload or tool form submit

Pass the source into your CRM

If your forms send leads to a CRM, capture the original source and landing page with each lead. Then you can see which AI-referred leads became meetings and revenue, which GA4 alone cannot tell you.

Build a simple monthly view

Create an exploration or a report with these columns, filtered to the AI Search channel:

Dimension or metricWhy
Session sourceWhich AI tool sent the visit
Landing pageWhich pages AI tools link to
Engaged sessionsQuality of visits
Key events: form submits, callsLeads from AI traffic
Revenue, if ecommerceSales from AI traffic

Mark your lead forms and booked meetings as key events so they show up here. For B2B, a handful of AI-referred leads can matter more than thousands of visits.

Free AI visibility reportIs your business named when buyers ask AI?

Get a free report on how ChatGPT, Gemini, Perplexity and Claude describe your business, with your first three fixes. A person checks it, within 2 working days.

Free. A real person checks it. We use your details only to send the report and one follow-up.

What GA4 cannot show you

GA4 only sees visits. It cannot tell you how often your brand was mentioned without a click, what an AI tool said about you, or how many buyers read an answer and later searched for you directly.

Fill the gap with answer tracking

Pair GA4 with a monthly check of buyer questions in each engine. Record mentions, citations and accuracy. Our guide on measuring AI search visibility explains a simple scoring method, and the free AI visibility report gives you a baseline.

Watch branded search and direct traffic

If more buyers learn about you in AI answers, branded searches in Search Console and direct visits often rise. Track them alongside AI referrals for a fuller picture.

Reading the numbers honestly

AI referrals are usually a small share of total traffic today. That is normal. What matters is quality and direction.

  • Compare engagement rate and conversion rate for AI Search against Organic Search.
  • Look at which landing pages AI tools send people to. Those pages are being cited.
  • Watch the trend over three to six months rather than week to week.
  • Remember that many AI-influenced buyers arrive later through branded search or direct visits.

If AI visitors convert well but numbers are small, the opportunity is to be cited more often, not to change the pages they land on.

Troubleshooting common GA4 issues

ProblemLikely cause and fix
AI Search channel shows zeroRule placed below Referral, or regex typo. Move it up and test the regex on source values
ChatGPT visits appear as utm sourcesSome links carry utm_source tags. Add those values to the rule
Spikes from one AI sourcePossible bot or test traffic. Check engagement and filter if needed
Leads not linked to AI visitsKey events not set, or forms not tracked. Fix event tracking first

Check the Traffic acquisition report with Session source as a secondary dimension once after setup to confirm the rule is working as intended.

Looker Studio option

If your team prefers dashboards, connect GA4 to Looker Studio and build one page with AI Search sessions, key events and landing pages by month. Keep it simple enough to read in two minutes.

Gemini and Google AI Mode

Visits from the Gemini app usually show gemini.google.com as the source. Clicks from Google’s AI Mode in Search are reported as Google organic traffic in Search Console and GA4, so they are not separated by default. Google says normal SEO best practices apply to its AI features (Google Search Central).

For Google, watch Search Console for changes in clicks and impressions on informational queries, and keep improving the pages that answer them.

Want help connecting this to leads and meetings? See our AEO and GEO agency in India page or read how to measure SEO ROI for B2B. For a full overview of the service, see our AEO and GEO services page.

Frequently asked questions

Does GA4 have a built-in AI channel?

Not in the default channel group. You need to create a custom channel group with a rule for AI referrer domains.

Why do some AI visits show as Direct?

Some apps and browsers do not pass a referrer. Those visits land in Direct and cannot be attributed reliably.

Can I see AI Mode traffic separately?

Not by default. Clicks from Google’s AI features are reported within Google organic traffic.

Will my custom channel apply to past data?

Yes. Custom channel groups apply to historical data in GA4 reports.

How often should I review AI traffic?

Monthly is enough for most businesses, alongside a monthly check of AI answers.

What is a good amount of AI traffic?

There is no benchmark that fits everyone. Judge it by qualified leads and revenue, not visit counts.

Can I track AI traffic without GA4?

Most analytics tools show referrer domains. The same idea applies: group AI referrers into one channel and track conversions.

Do AI tools add utm tags to links?

Some do in certain cases. Check your source values and include any AI-related utm sources in your channel rule.

Start a conversation

Want to know what AI says about your business?

Get a free AI visibility report within 2 working days, or book a call to talk through a plan in rupees.

Leave a Comment

Your email address will not be published. Required fields are marked *

Scroll to Top