← Free tools
GA4 AI traffic filter generator
Pick the AI assistants you care about and copy a ready-made regular expression for a GA4 Exploration filter.
Include these AI assistants
GA4 regex (Session source, “matches regex”)
chatgpt\.com|chat\.openai\.com|perplexity\.ai|claude\.ai|gemini\.google\.com|copilot\.microsoft\.com|deepseek\.com|grok\.com|meta\.ai|chat\.mistral\.ai|you\.com|poe\.com|phind\.com- In GA4 open Explore → Free form.
- Add dimension Session source and metrics Sessions, Key events, Total revenue.
- Add a filter: Session source matches regex → paste the value above.
- Clicks without a referrer still show as Direct, so treat this as a floor.
FAQ
How do I see ChatGPT traffic in GA4?
Create a Free form Exploration with Session source as a dimension and filter it with 'matches regex' using the pattern generated here.
Why is some AI traffic reported as Direct?
Apps and in-app browsers often don't send a referrer, so those clicks look like direct visits. The regex shows a conservative floor.
Is there an automatic way?
Cleverpilot classifies AI assistants as their own channel automatically, using both referrers and UTM tags, and shows the revenue they bring.
Want this answered automatically, with revenue?
Cleverpilot shows every channel (including AI assistants) ranked by the revenue it brings. No cookies, 2-minute setup.