How to Track Leads from ChatGPT, Perplexity and Google AI in Google Analytics
Short answer: to track leads from ChatGPT, Perplexity and similar tools, look at referral traffic in Google Analytics 4, group those sources into a custom "AI assistants" channel, mark calls, WhatsApp clicks and form submissions as key events, and add a "How did you find us?" field to your enquiry form. Tracking will never be complete, because some AI visitors arrive with no referrer, so combine analytics with that one question.
Why this is only partly measurable
When someone clicks a link inside an AI answer, the visit often arrives with a referrer such as chatgpt.com or perplexity.ai, but not always. Some apps and browsers strip the referrer, and many people read an answer, then search your name on Google later. That visit shows up as direct or organic search. Treat analytics as a lower bound, not the full picture. Google also says clicks from its AI features are counted in normal Search Console performance reports, so they are not shown separately. Check Google's page on AI features and your website for the current details.
Step 1: Make sure conversions are tracked
Before you look at sources, record what counts as a lead. At minimum track:
- Clicks on your phone number (tel: link).
- Clicks on your WhatsApp button.
- Successful enquiry form submissions.
Mark these as key events in GA4. Our own site sends these as events, so you can see them in the Events report.
Step 2: Find AI referral traffic
- In GA4 open Reports → Acquisition → Traffic acquisition.
- Change the dimension to Session source / medium.
- Look for sources such as chatgpt.com, perplexity.ai, copilot.microsoft.com, gemini.google.com and claude.ai. Names change, so scan the list for any AI tool you recognise.
Step 3: Group them in a custom channel
Create a custom channel group named "AI assistants" with a rule that matches those source names. Then you can see sessions, engagement and key events for the group in one line, instead of hunting through the list. See Google Analytics Help for the current steps to create channel groups.
Step 4: Ask the lead directly
Add a short question to your enquiry form or WhatsApp greeting: How did you find us? with options such as Google search, Google Maps, ChatGPT or another AI tool, Instagram, Referral, Other. This catches the visitors analytics misses, and it takes one minute to add.
Step 5: Review monthly
| Check | Where | What you learn |
|---|---|---|
| AI sessions and key events | GA4 custom channel | Whether AI visitors take action |
| Landing pages for AI visitors | GA4 landing page report, filtered by channel | Which pages AI tools actually send people to |
| Self-reported source | Form field or WhatsApp question | True share of leads that mention AI |
| Search impressions and clicks | Search Console | Overall Google visibility |
What to do with the data
- If AI visitors land on a few pages, improve those pages first: clearer answers, current prices, visible FAQs.
- If they visit but do not enquire, check that the phone and WhatsApp buttons are obvious on mobile.
- Do not change your whole strategy because of a handful of sessions. Volumes are small for most local businesses today.
Related reading
Read how to get recommended by ChatGPT and Google AI Overviews for what makes a site easier for AI tools to cite, and our SEO services if you want help setting up tracking.
Frequently asked questions
Can I see ChatGPT traffic in Google Analytics?
Often yes, as referral traffic from sources such as chatgpt.com, but not always, because some visits arrive without a referrer. Treat it as a lower bound and add a "How did you find us?" question to your form.
Are Google AI Overview clicks shown separately?
Google says clicks from its AI features are included in normal Search Console performance data and are not broken out separately.
What should I track as a lead?
Phone number clicks, WhatsApp button clicks and enquiry form submissions, marked as key events in GA4.
Do AI tools send a lot of traffic?
For most local businesses the volume is still small compared with Google search. Measure it, but do not neglect normal SEO.
Sources & references
| Source | Checked |
|---|---|
| Google Analytics Help | Nov 2026 |
| Google Search Central: AI features and your website | Nov 2026 |
Prices in this article are approximate. Spotted an error? Email admin@2ndcode.com — see our editorial policy.