Free guide

Track visits from AI assistants

Copy these filters into your analytics tool. No account or credits required. This guide helps configure measurement; it does not read your analytics.

Referrer and campaign data only identify attributed visits. Apps can omit referrers, so these filters cannot count every AI visit or separate Google's AI features from other Google traffic. Review the matched domains against your own data.

GA4

  1. In GA4, open Admin > Data display > Channel groups and choose Create new channel group (or copy the default group).
  2. Add a channel named "AI Assistants".
  3. Set the condition to Source > partially matches regex, and paste the regex.
  4. Drag "AI Assistants" above "Referral". Channels match from top to bottom, so below Referral it would never be used.
  5. Save, then pick the new group in Acquisition reports. Custom channel groups also apply to past data.

Looker Studio

Plausible

PostHog

Matomo

Included sources
  • ChatGPT: chatgpt.com, chat.openai.com
  • Perplexity: perplexity.ai
  • Claude: claude.ai
  • Gemini: gemini.google.com
  • Microsoft Copilot: copilot.microsoft.com, copilot.cloud.microsoft
  • DeepSeek: deepseek.com
  • Meta AI: meta.ai
  • Grok: grok.com
  • Mistral Le Chat: chat.mistral.ai
  • You.com: you.com
  • Phind: phind.com
  • Poe: poe.com
  • Duck.ai: duck.ai
  • Qwen: chat.qwen.ai

Use owner reports to measure search and AI visibility