🛍️ Black Friday Sale: Up to 40% OFF + $20,000 Worth Deals

Claim Offer →

How to Create an AI Traffic Report in Google Analytics 4

More people now find websites through AI assistants like ChatGPT, Gemini, and Claude, and it’s useful to know how many of them reach your site.

Google Analytics 4 (GA4) can show you this traffic in two ways.

You can use the built-in AI Assistant channel, which requires no setup, or create a custom AI traffic report. The custom report takes a few more steps, but you can add it to your GA4 sidebar for one-click access and tailor it to the sources you want to track.

In this knowledgebase article, we’ll show you how to use both methods.

1 View AI Traffic Using the AI Assistant Channel

You can view your AI traffic using the built-in options in Google Analytics 4. To get started, click Reports in your Google Analytics 4 dashboard.

Click Reports in your Google Analytics 4 dashboard

Once done, head to Acquisition → Traffic acquisition.

Head to Traffic acquisition

Next, click on the Primary dimension dropdown.

Click on the primary dimension dropdown

Now, select Session source / medium.

Select Session source / medium

Then enter ai-assistant into the table search bar. Once done, your AI traffic will display, as shown below.

Sample of the traffic report displayed by Google Analytics 4

2 Create a Custom AI Traffic Report

You can also create a custom report if you prefer.

Google Analytics 4 (GA4) lets you create and customize your analytics report to view traffic coming from AI search engines and chatbots. Once done, you can then add this report to the left sidebar, as shown below. 

AI traffic report in Google Analytics 4 (GA4)

Let’s show you how to do that:

  • Create the AI traffic report
  • Configure the AI traffic report
  • Add the AI traffic report to your GA4 sidebar

2.1 Create the AI Traffic Report 

To get started, head to your Google Analytics 4 account. Then, click the Reports icon from your dashboard. 

Click the Reports icon in Google Analytics 4

Next, click Library at the bottom of the sidebar. 

Click Library 

Now, head to the Traffic acquisition report and click the three dots, as shown below. 

Click the three dots in the Traffic acquisition report

Then select Make a copy. 

Click Make a copy

Name it AI traffic and click Save. 

Name the copy and click Save

You have now created your AI traffic report. It is now time to configure it so that it only displays the traffic you receive from AI sources. 

2.2 Configure the AI Traffic Report

Scroll to the top of the Reports section. You will see the AI traffic report you just created. Click the three dots. 

Click the three dots in the AI traffic report

Select Edit. 

Select Edit

Now, in the Customize report sidebar, head to the Report filter section. Then click Add Filter. 

Click Add Filter in the Customize report sidebar

Now, type session source into the Dimension dropdown. The dropdown will display the Session source option. Click on it. 

Click the Session source option

Set the Match Type to Matches regex.

Set the Match type to Matches regex

Then copy the regex code below and paste it into the Value field. 

(chatgpt|openai|anthropic|deepseek|grok)\.com|(gemini|bard)\.google\.com|(perplexity|claude)\.ai|(copilot\.microsoft|edgeservices\.bing)\.com|edge\scopilot

This is what the Value field should look like after you have pasted the regex code. The regex code will also be displayed in the Summary field. Once done, click Apply.

Click Apply

Now, click on the Session dimension dropdown, as shown below. 

Click the Session dimension dropdown

Then, select Session source. The sources of your AI traffic will now be visible to you. 

Select Session source

Now, head to the top of the report and click Save. Then select Save changes to current report. 

Click Save and Save changes to current report

You have now configured and saved your AI traffic report. It is now time to place it in your Google Analytics 4 sidebar. This ensures you can quickly view it from your dashboard. 

2.3 Add the AI Traffic Report to Your GA4 Sidebar

To get started, click Back to return to the Library. 

Click Back to return to the Library

Alternatively, from your Google Analytics dashboard, click Reports → Library to return to the Library.

Head to Library from your Google Analytics dashboard

Once in the Library, head to the Business objectives collection and click the three dots. 

Click the three dots of the Business objectives

Select Edit. 

Select Edit in the Business objectives options

In the Search reports field, enter AI traffic. The AI traffic report you just created will be displayed, as shown below.

Enter AI traffic into the Search reports bar

Now drag the AI traffic report into the Topics and Reports field. It is recommended to place it under Traffic acquisition. 

Once done, click Save and select Save changes to current selection.

Drag the AI traffic report into the Topics and Reports field

The AI Traffic report has now been added to your Google Analytics 4 sidebar. You can easily view it by heading to Reports → Business objectives → Generate leads → AI traffic from your dashboard.

How to view AI traffic in Google Analytics 4

That is how to view your AI traffic in your Google Analytic 4 sidebar. If you have any questions about using Rank Math, you’re always more than welcome to contact our dedicated support team, who are available 24/7, 365 days a year…

Still not using Rank Math?

Setup takes less than 5 minutes including the import from your old SEO Plugin!

Learn more about the PRO Version

Still need help?

?

Submit Your Question

Please give us the details, our support team will get back to you.

Open Ticket

Related Articles