How to Track AI Chatbot Traffic in GA4

AI chatbots like ChatGPT, Claude.ai, Perplexity, and Gemini by Google are growing in popularity and referring significant traffic to websites. As a type of traffic, this source of traffic should be tracked separately by webmasters in the same way that Social Media, Organic Search, and Paid Ad Traffic is currently tracked today.

You can argue that it should like under "Organic Search" but it has it's own characteristics that, for now, mean it's better off being tracked as it's own thing.

Here's the simple way to setup Google Analytics 4 (GA4) to track this as a channel group:

Step 1 – Go to Admin > Data Display > Channel Groups

Step 2 – Click Create New Channel Group

Step 3 – Create Channel Name and Click "Add new channel"

On the next screen that pops up, click "Add new channel" (no need to add the name yet).

Step 4 – Name the channel group, and click "+Add group condition"

Now we name the group of traffic: I've used the name "AI Chat Site Traffic" but use whatever will make the most sense to you when you read it in the future. Then click "+ Add condition group".

Step 5 – List the AI traffic sources using matching regex

Select "Source" from the drop down, and then select Conditions = "matches regex". Now, input all the AI traffic sites you'd like to group into this channel. Here's what we use, and you can copy and paste:

openai.com|claude.ai|gemini.google.com|perplexity.ai|copilot.microsoft.com|jasper.ai|komo.ai|andisearch.com

Then click "Save Channel"

Step 6 – Confirm the Channel is there

You can do this by scrolling to the bottom.

You can now view the how much of your traffic, and site usage comes from AI Chat Sites.

Distribution moats are all that matter.

To create value, startups have to improve the lives of users in meaningful ways. We call that piece "innovation". This is hard because the obviously great ways to do this are taken and already being done by some other business.

There has been plenty written about the odyssey to get to product-market fit and I have little insight to add to those notes. Innovation matters, and product-market fit matters for startup. What matters far more than product or innovation are distribution moats.

Without a distribution moat – or a clear path to one – you're cooked. Especially if you're a founder who has raised venture capital. Founders without distribution moats don't get meaningful exits very often.

It's not a stretch to say that businesses don't buy other businesses, they buy other moats.

More to come...