How to Track ChatGPT and AI Traffic in GA4 (The Setup That Works)

June 14, 2026

AI is sending you buyers right now and your dashboard is probably hiding them. Here's how to actually see them in GA4.

First, why they're invisible. When someone clicks from ChatGPT, Perplexity, or Copilot to your store, GA4 often dumps that visit into "direct" or a random referral bucket. The traffic is real. The label is wrong. So you look at your reports and think AI isn't driving anything, when it's quietly converting better than your paid channels.

Here's the setup. Build a custom channel group for AI. In GA4 admin, create a new channel group and add a channel called "AI Assistants." Define it by referral source. Catch the domains: chatgpt.com, chat.openai.com, perplexity.ai, copilot.microsoft.com, gemini.google.com, plus the OpenAI and Bing referrers. Now those visits stop hiding in direct.

Add a regex so you don't miss variants. AI referrers change and add subdomains. A pattern that matches "chatgpt," "perplexity," "copilot," and "gemini" in the source catches the strays.

Then watch conversion by that channel. This is the part that changes minds. AI traffic usually converts higher because the person already did their research with the assistant before they clicked. They show up pre-qualified.

Now the honest limit. GA4 won't catch everything. Apple strips UTMs, agent purchases sometimes complete without a clean session, and some AI traffic is just unmeasurable. So pair GA4 with two things: Microsoft Clarity, which now tracks AI citations and is free, and Shopify's own channel reporting. Triangulate. Don't trust one number.

The goal isn't perfect attribution. It's seeing the channel at all. Most stores are flying blind on the fastest-growing source of high-intent traffic they have. Set this up in an afternoon. Then watch where the good buyers are actually coming from.

Want help wiring it up and reading it right? That's the kind of thing we set up for clients. Book a call at https://wrkngdigital.com/agentic-commerce-landing-page

By Steve Merrill, Founder of WRKNG Digital — June 14, 2026

Back to Blog