GA4 AI Traffic Filter
Google Analytics mixes visits from ChatGPT, Perplexity and Gemini in with every other referral. Copy one regex and see exactly how many people AI assistants send you.
AI assistants to include
Your GA4 regex
^(.*\.)?(chatgpt\.com|chat\.openai\.com|perplexity\.ai|gemini\.google\.com|claude\.ai|copilot\.microsoft\.com|chat\.deepseek\.com|grok\.com|meta\.ai|chat\.mistral\.ai|you\.com|poe\.com|duck\.ai)$
Option 1
See AI visits now
- In Google Analytics, open Reports, then Acquisition, then Traffic acquisition.
- Above the table, change the first column from Session primary channel group to Session source.
- Click Add filter, choose Session source, set the match type to matches regex and paste the regex.
- Click Apply. The table now shows only the visits AI assistants sent you.
Option 2
Give AI its own channel
- Open Admin, then Data display, then Channel groups, and click Create new channel group.
- Name it, click Add new channel, call the channel AI assistants and add the condition Source matches regex with the regex pasted in.
- Save the channel and drag it above Referral, so AI visits are not counted as referrals. Save the group.
- In Traffic acquisition, switch the first column to your new channel group to see AI assistants next to Organic Search and Direct.
Option 3
Dig deeper in Explore
- Open Explore and start a Blank exploration.
- Add a session segment with the condition Session source matches regex and paste the regex.
- Add Landing page and Session source as dimensions, and Sessions and Key events as metrics, to see which pages AI sends people to.
How it works
How to use it
- 1
Keep every AI assistant selected, or untick the ones you don't need.
- 2
Add any other AI tool your buyers use under Other domains.
- 3
Copy the regex.
- 4
Follow one of the three setups below. Option 2 gives you a permanent AI assistants channel in every report.
Free tools
More free tools
AI Prompt Ideas Generator
Get the questions your buyers ask ChatGPT, Gemini, AI Overviews, Perplexity and Claude, ready to track.
llms.txt Generator
Write an llms.txt file that tells AI assistants what your business does and which pages matter most.
robots.txt AI Crawler Generator
Choose which AI crawlers can read your site and get the robots.txt rules to paste.
Schema Markup Generator
Create Organization, FAQ, Product and Software JSON-LD so search engines and AI assistants read your facts correctly.
Title and Meta Description Preview
See how your page looks in Google results and keep your title and description from being cut off.
Now you can see the visits AI sends you. Citevant helps you earn more of them.
Every week Citevant asks ChatGPT, Gemini, AI Overviews, Perplexity and Claude the questions your buyers ask. Then it contacts the publishers of the articles they cite to request a mention of your brand, automatically.
Free to start, with a free AI visibility check for every website. Growth $79/month per website.