The AI Search Attribution Problem (And How to Measure It)

Why last-click analytics misses most AI-influenced leads, and how to measure AI search with GA4, Search Console, a form question, CRM fields and prompt tracking.

Vincent Nguyen
Updated November 15, 2026 / 8 min read
The AI Search Attribution Problem (And How to Measure It)

In G2's March 2026 survey of 1,076 software buyers, 51% said they start their research in an AI chatbot more often than in Google.

That means half your buyers may meet your brand in a ChatGPT answer before they ever see your site. And when they finally book a demo, GA4 gives the credit to Google or Direct, so the channel that did the work looks like it did nothing.

That's why I'm sharing the setup we use to measure AI search for our SEO and GEO clients. Four of its five parts run on tools you already pay for.

What is AI search attribution?

AI search attribution is how you trace leads and revenue back to answers in ChatGPT, Perplexity, Gemini and other AI assistants. It covers the clicks those answers send you and the buyers who read an answer, then come back later through Google or by typing your URL.

No single report shows all of it. So you combine five signals: an AI channel in GA4, branded search in Search Console, a "How did you hear about us?" field, source fields in your CRM and prompt tracking.

Last-click analytics gives all the credit to the final visit before a conversion. AI research usually happens days or weeks earlier, and it rarely leaves a trace on that last visit.

Let's say a buyer asks ChatGPT for the best tools in your category and sees your name. A week later, they search your brand on Google, read your pricing page and book a demo. GA4 credits Organic Search, and AI search gets nothing:

Buyer journey diagram: a buyer researches vendors in ChatGPT, later searches the brand name on Google, then books a demo, and GA4 credits the demo to Organic Search or Direct instead of AI search.

Here's why the credit goes missing:

  • The shortlist forms inside the chat: Forrester found that 94% of business buyers use AI during their buying process. None of those chats shows up as a session, so GA4 only meets the buyer after they've made up their mind.
  • AI app visits lose their referrer: A link opened from the ChatGPT mobile app can arrive with no referrer, and a URL copied out of an answer never carries one. GA4 files those visits as Direct.
  • Most readers never click: Pew Research found that Google users clicked a link inside an AI summary on just 1% of visits that showed one. Buyers read the answer and come back later through a brand search, and that visit takes the credit. Our post on zero-click searches covers this trend.

The clearest example of the gap comes from Graphite's study of n8n, the workflow automation tool. GA4 credited AI assistants with 0.9% of conversions, while n8n's post-signup survey put their share at 9%:

Chart comparing n8n's share of conversions by channel: AI assistants 0.9% in GA4 last touch against 9% in the post-signup survey, and Google search 7% in GA4 against 30% in the survey.

The AI visits you can see are worth a close look too. Ahrefs found that AI search brought 0.5% of its visits over 30 days but 12.1% of its signups. And across 1,215 enterprise sites in Conductor's 2026 benchmarks, ChatGPT sent 87.4% of all AI referrals, so start your setup with ChatGPT.

How to measure AI search attribution in 5 steps

Each signal fills a gap the others leave, so I'd read all five together every month. Start with GA4, since the other steps build on that channel.

1. Track AI traffic in GA4 with its own channel

GA4 now has a default AI Assistant channel for visits from tools such as ChatGPT, Gemini, Deepseek, Copilot and Grok. Clicks from Google's AI Overviews and AI Mode still land in Organic Search.

I'd still add a custom channel group, because it lets you decide exactly which AI sources count. Here's how to set it up:

  • Create the group: In Admin, open Data display, then Channel groups, and click Create new channel group.
  • Add the AI channel: Add a channel called AI search with the rule "Source matches regex" and paste the pattern below.
  • Move it up: Click Reorder and put AI search above Referral. GA4 puts each visit in the first channel it matches, so a lower spot sends AI visits to Referral.
  • Use it in reports: Save the group and pick it as the primary dimension in the Traffic acquisition report.
.*(chatgpt\.com|openai\.com|perplexity|gemini\.google\.com|copilot\.microsoft\.com|copilot\.com|claude\.ai|deepseek\.com|grok\.com).*

AI tools change domains and new assistants appear, so review the list every quarter. The good news is that custom channel groups apply to past data, so your history shows up right away. A standard GA4 property allows two custom groups, so keep one free.

Buyers who meet you in an AI answer often search your name next. So branded search is where a lot of the hidden AI demand shows up.

Search Console added a branded queries filter in November 2025 and opened it to all eligible sites in March 2026. It sorts queries for you, including misspellings of your name and searches for your product names that leave out the company name.

Here's what to log from the Performance report each month:

  • Branded clicks and impressions: Turn on the branded filter and note both numbers for the month.
  • Year-over-year change: Compare with the same month last year, which removes seasonal swings.
  • AI visibility beside it: Put your AI visibility score for the same month next to it, so you can see whether the two lines move together.

Branded search rising with AI visibility is a strong hint. But check your events and paid campaigns for that month too, since they can lift branded search on their own.

3. Ask "How did you hear about us?" with AI options

Self-reported attribution catches what analytics can't see. In the n8n data above, this one question gave AI about ten times the share of conversions GA4 did.

Here's how I'd set up the field:

  • Put it on high-intent forms: Add it to your demo and contact forms and make it required there.
  • List each assistant: Give ChatGPT, Perplexity, Gemini, Copilot and Claude their own options, plus Google search, a colleague, review sites and an Other text box.
  • Keep Google in one option: Put Google search and AI Overviews together, apart from the assistants. That way the assistant options only count tools like ChatGPT and Perplexity.

4. Save the source in your CRM

Analytics data fades after the visit, while CRM fields stay with the deal until it closes. Pass these fields into every new contact and copy them to the opportunity:

  • Original source: The channel from your analytics, such as AI search, Organic search or Direct.
  • Self-reported source: The form answer, saved exactly as the buyer picked it.
  • AI tool named: The assistant the buyer mentioned on the form or on the first sales call.
  • First landing page: The first page the buyer saw, which tells you what the AI answer pointed to.

Ask sales to confirm the source on the first call too. Then compare pipeline and win rate by source, and check them against our conversion rate by channel benchmarks.

5. Track your visibility prompt by prompt

Prompt tracking shows whether AI answers name you before any visit happens. Pick 30 to 50 questions your buyers ask, like "best test automation tools for enterprise teams", and run them every month.

Here's what to record for each prompt:

  • Visibility: The share of answers that name your brand.
  • Position: Where your brand sits among the brands an answer lists.
  • Cited pages: The URLs from your site that the answers link to.
  • Competitors: The brands that show up in the same answers in your place.

Tools such as Arrowsterr run these prompts across ChatGPT, Perplexity, Gemini, Claude and Google AI Overviews. Our list of AI rank tracking tools compares more options, and our guide on why you're not in AI Overviews covers what to fix when you're missing.

A simple monthly AI search report

One page a month is enough for most B2B teams. I'd order it from early signals at the top to revenue at the bottom:

RowWhere it comes fromWhat to show
AI visibilityPrompt trackerShare of tracked prompts that name you, against last month
AI sessions and key eventsGA4 AI search channelVisits from AI assistants and the key events they produced
Branded search clicksSearch ConsoleBranded clicks against the same month last year
Self-reported AI leadsForm fieldForm fills that name an AI tool, split by tool
Pipeline with an AI sourceCRM fieldsOpportunities and won revenue where any source field points to AI

When visibility and branded search rise together and more buyers name ChatGPT on your forms, AI search is working, even if AI sessions stay small. Our guide to B2B website metrics shows how to fit this page into your wider dashboard.

Conclusion

AI search will never show up neatly in one report. But my principles for measuring it stay simple:

  • Treat GA4 as the floor, never the full count
  • Ask buyers where they heard about you
  • Keep the source on the deal until it closes
  • Read early signals and pipeline on the same page

If half your buyers start their research in a chatbot, wouldn't you want to know what it tells them about you?

FAQ

What is AI search attribution?

It's how you trace visits, leads and revenue back to answers in ChatGPT, Perplexity, Gemini and other AI assistants. It combines GA4, branded search, a form question, CRM fields and prompt tracking.

How do you track AI traffic in GA4?

Check the default AI Assistant channel in the Traffic acquisition report, or build a custom channel group with a regex for AI sources placed above Referral. Clicks from Google's AI Overviews and AI Mode stay in Organic Search.

Why does ChatGPT traffic show up as Direct in GA4?

Links opened from AI apps often arrive without a referrer, and a URL copied out of an answer never carries one. With no source to read, GA4 files the visit as Direct.

How much of your pipeline comes from AI search?

More than GA4 shows. In n8n's data, GA4 credited AI with 0.9% of conversions, while its post-signup survey showed 9%.

Which AI search metrics should you report each month?

Report AI visibility for your key prompts, AI sessions and key events, branded search clicks, self-reported AI leads and pipeline with an AI source.

A good first step is to add the AI search channel in GA4 and the "How did you hear about us?" field this week. If you want to know how often AI answers name your brand today, start with a free AI visibility audit.

Vincent Nguyen
Written by

Founder of Perceptric. We write content that ranks on Google and in AI search, so buyers find you when they're ready to buy.