How to track AI referral traffic in GA4: ChatGPT, Perplexity, Gemini and Copilot
In GA4, filter session source or referrer for known assistant domains, group them in a custom channel and add a form question that captures AI discovery. Expect undercounting, because many AI-influenced visits arrive without a referrer, so treat the numbers as a floor, not a total.
On this page
Set it up
Follow these steps.
- In GA4 go to Reports, then Acquisition, and open Traffic acquisition with Session source as the dimension.
- Search for known assistant domains such as chatgpt.com, perplexity.ai, gemini.google.com and copilot.microsoft.com.
- Create a custom channel group named AI assistants with rules matching those sources.
- Build an Exploration with landing page, source and key events.
- Add UTM parameters to links you control in AI-visible profiles.
Capture what analytics miss
Add an option such as "AI assistant (ChatGPT, Gemini, Perplexity)" to the how-did-you-hear field, and ask sales to confirm it on first calls.
Interpret with care
Compare AI sessions with branded search and direct traffic trends, since assistants often drive later brand searches.
Get an AI visibility read across ChatGPT, Perplexity, Gemini, Claude and Google AI Overviews.
Where to go next
Next, read Brand mentions vs backlinks: what drives LLM recommendations?.
Also useful: A 90-day GEO plan for a B2B SaaS company.
If you want help putting this into practice, see our GEO and SEO service.
Key takeaways
Keep going
Frequently asked questions
Why is AI traffic so low?
Many answers satisfy users without a click, and some visits lack referrers.
Can I attribute revenue to AI?
Partially, through form fields and CRM notes. Treat it as directional.
Do domains change?
Yes. Review the list quarterly.
Should I use UTMs?
Only on links you control; do not tag organic citations.