Do you know how many visitors were brought to your website as a result of an AI search or chat? This information is already available in GA4, but it’s typically hidden in your Referral channel. Let’s set up a custom channel in GA4 to highlight the traffic from AI Tools that you’re probably already getting.

For example, when you ask ChatGPT “What are the best resources for learning BigQuery”, you’re provided with a few links — each of the grey “pills” are clickable.

Example of AI Tool, ChatGPT, mentioning different websites for the query, What are the best resources for learning BigQuery?

Want to learn how GA4 sorts traffic into channels?

Video walkthrough of how to add a channel for AI Tools in GA4

Step-by-step instructions to add a channel for AI Tools in GA4

  1. In GA4, click on the Admin wheel at the bottom left and then click on Channel Groups under Data Display.
  2. If you already have a new custom channel group, edit that group by clicking on it, or click Create New Channel Group to create a new group.
  1. Click Add New Channel and name it whatever you’d like — for example, “AI Tools”.
  2. Click + Add Condition Group, select Source, click + Add a Condition, select matches regex and enter this into the box, then click Apply:

chatgpt(.openai.com)?|claude.ai|quillbot.com|openai.com|blackbox.ai|perplexity(.ai)?|copy.ai|jasper.ai|copilot.microsoft.com|gemini.google.com

Note that there may be some AI tools that aren’t included here — if so, feel free to add them and if you aren’t sure how please get in touch so we can update this regex!

  1. Click Save Channel at the top right.
  2. (Optional) If this is a brand new channel group that you’ve created, make sure to enter a Group Name and optionally a Description.

Before we can save this channel group, we need to reorder our channels to ensure that this new AI Tools traffic doesn’t end up in other channels.

GA4 sorts traffic into channels from the top to the bottom of the list — by moving up our AI Tools channel we’ll be sure that our traffic ends up in that channel first.

  1. Click Reorder (next to the Add New Channel button).
  2. Scroll to the bottom, then use the “handles” to the left of the AI Tools channel to drag it above the Referral channel.

Animated GIF showing how to reorder channels in GA4

  1. Click Apply, then click Save Group (at the top right).

Now you can head to any of your acquisition reports, click the drop down arrow to view the list of dimensions, and you’ll see your custom channel group showing up in the list of dimensions.

Animated GIF showing how to view your new channel group in an acquisition report in GA4

Change the dimension to your custom channel, and you should see if you already have website traffic from AI tools!

If you’d like to learn how to make a custom report in GA4 to report on just this traffic, check the video tutorial above.

And if you’re worried that there is a low volume of traffic in this channel right now, take this advice from Andy Crestodina:

“The numbers might be small today. But look at the trend line. This is just the beginning. AI will likely be an important source of traffic. It’s never too early to start tracking it!”

Get more analytics and reporting tips

Black and white portrait of Dana DiTomaso

Dana enjoys solving problems that haven’t been solved before. With her 20+ years experience in digital marketing and teaching, she has a knack for distilling complex topics into engaging and easy to understand instruction. You’ll find Dana sharing her knowledge at digital marketing conferences around the world, teaching courses, and hosting a technology column.

Learn more about Dana