How to track ChatGPT and Perplexity traffic in Google Analytics 4
A simple GA4 setup to see visits and leads from ChatGPT, Perplexity, Gemini, Copilot and Claude: a custom channel group, the referrer list, and what GA4 can't see.
A simple GA4 setup to see visits and leads from ChatGPT, Perplexity, Gemini, Copilot and Claude: a custom channel group, the referrer list, and what GA4 can't see.
Rank on Google
Blue links, snippets and maps — and the base layer AI reads from.
Named by assistants
Cited in the answers ChatGPT, Perplexity and Copilot give.
Synthesised by AI
The source Google AI Overviews and Gemini build their answer from.
One shared foundation: crawlable, structured, trustworthy content — run as a single program.
If AI assistants send you visitors, Google Analytics 4 already records most of them. By default they're mixed into "Referral", so nobody notices. A custom channel group fixes that in about ten minutes.
ChatGPT also often adds utm_source=chatgpt.com to the links it shows, so some of its visits arrive tagged.
It works on past data too
GA4 applies custom channel groups to your historical data as well, so once you save it you can look back at AI visits from previous months.
Visits are useful; enquiries are what matter. Mark your enquiry form submission as a key event in GA4, then look at key events by the AI assistants channel. Pass the source into your CRM as well, so you can see which AI-referred leads turned into deals.
Analytics undercounts AI influence, so add a simple field to every enquiry form: "How did you hear about us?" Include "AI assistant (ChatGPT, Perplexity, Gemini, Copilot)" as an option, next to search, referral, social and events. Pass the answer into your CRM.
After a few months, compare the two numbers: AI-referred visits that converted, and leads who said they heard about you from an assistant. The second is usually higher, because many people see your name in an answer and then search for you directly.
That's why we pair analytics with two other measures: a "How did you hear about us?" field on forms, and a weekly check of the buyer questions themselves. Our AI visibility audit sets up all three.
AI Visibility specialist at Edthi · SEO, AEO & GEO
Leads AI Visibility programs at Edthi, helping companies get found and recommended across Google and the AI engines. Writes about how AI search actually decides who to cite.
Ready when you are.
Book a 30-minute call, message us on WhatsApp, or drop your details and we'll reach out. We'll show you where you show up today across Google and the AI engines — and the plan to become the answer.