How to Track Visitors From ChatGPT in Google Analytics 4
When someone clicks a link in an AI answer and lands on your website, that visit can show up in your analytics. Counting these visitors is the clearest sign that AI assistants already send you customers. Here is how to see them in Google Analytics 4 (GA4) - and why you should treat the numbers as a minimum.
How AI visits arrive
- With a referrer. A click from a web browser usually tells your site where it came from: chatgpt.com, perplexity.ai, gemini.google.com, claude.ai, copilot.microsoft.com and others.
- With a tag. ChatGPT adds
utm_source=chatgpt.comto many of the links it shows, so the source survives even without a referrer. - Without anything. Clicks from mobile apps, copied links and some privacy settings arrive without a source and end up as "Direct". This is why AI traffic is always undercounted.
Set it up in GA4
- Check for a built-in channel first. Google has reportedly started adding a dedicated channel for AI assistants in GA4. Look in Reports > Acquisition > Traffic acquisition before building your own.
- Otherwise, create a custom channel group. In Admin > Data display > Channel groups, copy the default group and add a channel called "AI assistants".
- Match on source. Use a rule like: source matches regex
chatgpt|openai|perplexity|gemini\.google|claude\.ai|copilot\.microsoft. Don't require a medium - ChatGPT's tag sets only the source. - Move it above Referral so these visits aren't counted as ordinary referrals.
- Look at landing pages. Which pages do AI visitors land on? Those are the pages AI assistants recommend - keep them especially accurate and fresh.
Read the numbers right
- Treat them as a floor, not the full total.
- Many AI answers lead to a phone call or a visit without any click at all - no analytics tool can see those.
- Compare trends over months rather than single days.
See the bots too
GA4 shows people, not bots: AI crawlers don't run analytics scripts. BusinessVeno's AI traffic page shows both - the AI bots that read your pages and the people who arrive from AI answers - from a WordPress plugin, a Cloudflare Worker, a Next.js middleware or a log file. Read more about AI bots on your website.