Samurai Solutions
← All insights
6 min read

AI Lead Attribution: How to Track Which Leads Came from ChatGPT and Other AI Engines

Learn how to prove which leads came from ChatGPT, Perplexity and Google AI. First-party attribution beats analytics guesswork.

By Samurai Solutions

You can track which leads came from AI engines. Most businesses don't.

Your website traffic has changed. Enquiries arrive with no referrer data. They claim they found you in ChatGPT or Google AI Overviews, but your analytics show nothing. You cannot prove it. Without proof, you cannot optimise for it, budget for it, or scale it.

First-party attribution solves this. It means asking your leads directly where they found you, then connecting their answer to server-side data from the AI engine itself. Analytics guesswork cannot do this. We built Samurai Visibility to do exactly this for UK businesses.

Why Analytics Cannot Track AI Engine Leads

Google Analytics, Facebook Pixel and similar tools track clicks and cookies. When a lead finds you inside ChatGPT, Perplexity, Gemini, Claude, Google AI Overviews or AI Mode, there is no referrer header. No cookie. No click pixel to fire. The lead simply types your URL or clicks a link embedded in the AI response.

Analytics records a direct traffic visit. It has no idea that AI sent it.

This is not a flaw in analytics. It is how AI engines work. They are recommendation systems, not advertising platforms. They do not hand you tracking data.

Businesses have filled this gap with guesswork: "We got more traffic this month, maybe it was AI." This does not work. You cannot optimise for something you cannot measure.

How First-Party Attribution Works

First-party attribution is simple in principle. It asks the lead directly: where did you hear about us?

This can happen in a form field ("How did you find us?"), a chatbot, or a landing page. The lead selects ChatGPT, Google AI, or another source. Your business records this answer alongside their contact details.

Then you connect this self-reported data to server-side signals: are they visiting from a location associated with that AI engine? What device? What time of day? Over time, patterns emerge. Real AI leads cluster. False positives stand out.

First-party attribution works because you own the data. You collect it yourself, on your domain, using your own methods. No cookie consent needed. No reliance on third-party vendors.

Samurai Visibility tracks mentions across ChatGPT, Perplexity, Gemini, Claude, Google AI Overviews and AI Mode. It then connects these mentions to the leads that report finding you there. This is how you get from suspicion to proof.

Why This Matters for UK Businesses

AI is now a live lead channel. Businesses report steady enquiries from AI engines. Some are experiment-stage. Others have moved AI into their weekly lead budget.

Without attribution, you cannot answer basic questions:

  • How many leads came from AI this month?
  • Which AI engines send the best leads?
  • How much should we spend optimising for AI?
  • Is our AI SEO effort actually working?

When you cannot answer these questions, you make decisions blind. Some businesses over-invest in AI optimisation. Others ignore it entirely, missing a channel their competitors are using.

First-party attribution is the tool that stops this. It turns AI from a rumour into a measurable channel.

The Alternative: Analytics Guesswork

Many businesses try to infer AI leads from analytics patterns:

  • Direct traffic spikes
  • Sessions from no referrer
  • Traffic from unusual times of day
  • Device or location clusters that don't match their usual visitor profile

This is detective work. It works sometimes. It fails more often.

A spike in direct traffic could be a newsletter, brand search, a mention in a Slack channel, word of mouth, or an offline event. It could be AI. Analytics cannot tell the difference.

Guesswork also obscures the truth. If you assume all your direct traffic is AI, you will make poor decisions about channel investment. If you assume none of it is, you will miss a real lead source.

First-party data is clearer. A lead who tells you "I found you in ChatGPT" is honest data. That lead either came from ChatGPT or they did not. There is no middle ground.

Setting Up AI Lead Attribution

You do not need expensive software to start. A basic setup has three parts:

1. Ask your leads directly. Add a form field or chatbot question: "How did you hear about us?" with options including the AI engines you care about. ChatGPT, Google AI, Perplexity, and others.

2. Record the answer in your CRM. Link each lead's response to their contact record. Over time, you build a dataset of self-reported sources.

3. Look for patterns. Which leads convert? Which AI engines send them? Do they cluster at certain times or on certain devices? This is where the real signal emerges.

Optionally, you can add server-side tracking: IP ranges, user agents, or timing data that correlates with known AI crawler activity. This adds confidence to your first-party data.

Samurai Visibility does this work automatically. It tracks brand mentions across major AI engines and links them to your attributed leads. You see which engines mention you, how often, and which leads they send.

What First-Party Attribution Reveals

Once you have real data, patterns emerge fast:

  • You might find that ChatGPT sends leads, but Google AI does not (or vice versa). This changes your optimisation strategy.
  • You might discover that AI leads have higher conversion rates than other channels. This justifies investment in AI SEO.
  • You might learn that only certain pages or topics get recommended by AI. This guides your content strategy.
  • You might find that AI leads cluster at specific times, suggesting when AI engines refresh their training data or recommendations.

Each discovery is actionable. None of it is guesswork.

AI SEO Audits and Optimisation

Once you are tracking AI leads, the next step is optimising for them.

AI SEO is different from traditional SEO. AI engines read your site looking for structured data, clear metadata, crawler access, and well-organised content. They want to understand what you do and who you serve.

Samurai Solutions delivers AI SEO audits that score your site on:

  • AI crawler access (can Google, ChatGPT and other engines actually crawl your site?)
  • Structured data (do you mark up your business type, services, location and credentials?)
  • Content structure (is it easy for an AI to find the answer to common customer questions?)
  • Metadata (are your page titles and descriptions clear to machines?)

These audits are the foundation for optimisation. They tell you exactly what is stopping AI engines from recommending you, and what to fix first.

The Role of Content

AI engines recommend businesses that answer questions well. If a user asks ChatGPT "where can I find a B2B exhibition event in London?", ChatGPT looks for content that directly answers this.

Content optimised for AI is clear, structured, and specific. It answers the question in the first sentence. It uses headings to break up ideas. It includes facts, not filler.

Samurai Solutions builds and publishes AI-optimised content with your approval built in. You see drafts before publication. You approve changes. This means your content stays on-brand whilst being tuned for AI engines.

Connecting Attribution to Budget Decisions

First-party attribution data justifies budget. When you know AI sends you 5 leads a month, and 2 of them convert, you have a concrete case for spending on AI SEO.

Without this data, budget conversations are vague. "We should be in AI" is not a budget argument. "AI sent us 24 qualified leads last quarter, 8 of which converted to clients" is.

This is why Samurai Visibility exists. It turns AI from a hunch into a line item on your marketing budget.

Frequently asked questions

What is first-party attribution?
First-party attribution means collecting data directly from your leads about where they found you, then connecting that self-reported data to server-side evidence. You own the data. It is more reliable than analytics guesswork.
Can I track AI leads with Google Analytics?
No. Google Analytics cannot distinguish between a lead from ChatGPT and a lead from direct traffic. You need first-party data collection to know for certain.
Which AI engines should I track?
Start with ChatGPT, Google AI Overviews, Perplexity, Gemini and Claude. These are the engines most businesses mention as lead sources. Samurai Visibility tracks all of them.
How long does it take to see attribution data?
You need at least 20-30 attributed leads before patterns emerge clearly. This typically takes 4-8 weeks depending on your lead volume.
Is first-party attribution GDPR-compliant?
Yes. You are collecting data directly from the lead, with their consent, and storing it in your CRM. No third-party cookies needed.
What should I do once I have attribution data?
Optimise your site for AI using an AI SEO audit, improve the content AI engines are recommending, and increase investment in the channels that send the best leads.
Book a free intro call to discuss your AI lead attribution setup.
https://calendly.com/samuraisolutions/samurai-intro-call

Want to see how your events business shows up in AI search?

It starts with a custom website we build you free, designed to be read cleanly by both Google and the AI models.