SEO & Search Marketing

How to Track ChatGPT and AI Assistant Traffic in GA4

When someone asks ChatGPT for the best project management tool, or Perplexity how to fix a leaking tap, the answer often includes links to sources. Some users click them. Those visits are real, often…

When someone asks ChatGPT for the best project management tool, or Perplexity how to fix a leaking tap, the answer often includes links to sources. Some users click them. Those visits are real, often highly engaged, and growing. But open GA4's default Traffic acquisition report and you probably will not see an "AI" channel. Instead, AI visitors are scattered across Referral, Direct and sometimes Unassigned. Tracking them properly takes a few minutes of setup and gives you a clear view of a channel that is becoming more important every month.

This guide explains where AI assistant traffic appears in GA4, how to find it, how to create a dedicated channel for it, and how to analyse and act on it.

Where AI Traffic Shows Up by Default

Referral

Most identifiable AI traffic arrives with a referrer from the AI tool's domain, such as chatgpt.com or perplexity.ai. GA4's default channel group treats these as Referral, alongside every other website that links to you.

Direct

Some AI apps, desktop clients and browsers do not pass referrer information. Those visits appear as Direct, with no way to identify the source.

Clicks from Google's AI Overviews are counted as Google organic search, because they happen within Google Search.

Some AI tools add UTM parameters to outbound links, which can make visits appear with a specific source and medium.

Step 1: Find AI Sources in Your Data

  1. Open Reports, then Acquisition, then Traffic acquisition
  2. Change the primary dimension to Session source / medium
  3. Search the table for AI domains such as:
  • chatgpt.com and chat.openai.com
  • perplexity.ai
  • gemini.google.com
  • copilot.microsoft.com
  • claude.ai

Note which sources appear, how many sessions each brings, and their engagement and conversion rates.

Tip: AI products change domains and launch new apps regularly. Check your Referral sources every few months for new AI-related domains, and add them to your tracking.

Step 2: Create an AI Assistants Channel

A custom channel group lets you report AI traffic as its own channel.

  1. In GA4, go to Admin
  2. Under Data display, open Channel groups
  3. Click Create new channel group, or copy the default group so all standard channels are preserved
  4. Add a new channel named AI Assistants
  5. Set the condition: Session source matches regex, for example:

chatgpt|openai|perplexity|gemini\.google|copilot|claude\.ai

  1. Reorder the channels so AI Assistants sits above Referral. GA4 assigns each session to the first channel whose rules match; if Referral comes first, AI traffic will still be counted as Referral.
  2. Save the channel group

In your acquisition reports, switch the dimension to your new channel group. Because custom channel groups are applied in reporting, they also reclassify historical data.

Google explains how channel groups work in its custom channel groups help.

Step 3: Analyse AI Traffic

Once AI traffic is separated, look at:

Volume and growth

Sessions per month from each AI tool, and how fast they are growing.

Landing pages

Which pages AI tools send visitors to. These are the pages AI systems cite most.

Engagement

Engagement rate and engagement time, compared with Google organic and other channels.

Conversions

Key events and revenue from AI visitors. On many sites, AI visitors convert at a higher rate than average, because they arrive with a specific need.

Devices and countries

Whether AI traffic skews to desktop or mobile, and which markets it comes from.

Doing this from raw exports can be tedious. An AI referral traffic analyzer reads a GA4 export by session source and landing page, groups AI sources by tool, shows trends and top landing pages, and compares engagement and conversion with Google organic.

Step 4: Act on What You Learn

Prioritise cited pages

Pages that receive AI traffic are being cited. Keep them accurate, current and comprehensive. Outdated information on a cited page can spread through AI answers.

Make content easy to cite

AI tools favour content that states facts and answers clearly:

  • Clear headings matching common questions
  • Direct answers in the first sentences of sections
  • Specific numbers, steps and comparisons
  • Visible dates and authorship

Check crawler access

Each AI company uses its own crawlers for search and retrieval, such as OAI-SearchBot for ChatGPT search and PerplexityBot for Perplexity. If robots.txt blocks them, your pages are less likely to be cited.

Improve the landing experience

AI visitors often arrive mid-research. Give them a clear next step: a demo, a product link, a contact form or a related guide.

Report it

Add AI Assistants as a separate line in monthly reports, with sessions, conversions and top landing pages.

Example: A SaaS Company Discovers Its AI Channel

Imagine a SaaS company whose Referral channel has grown steadily for a year, without anyone knowing why. After creating an AI Assistants channel, it finds about 2,400 sessions a month from ChatGPT and Perplexity. Around 70% of them land on three integration guides, and they convert to free trials at 4.8%, more than double the rate of Google organic visitors.

The company:

  1. Makes the three guides its top content maintenance priority
  2. Adds clear setup steps, current screenshots and troubleshooting sections
  3. Confirms its robots.txt allows the AI search crawlers it wants to be cited by
  4. Adds a prominent trial button to each guide
  5. Reports AI traffic monthly as its own channel

Over the following six months, AI referral sessions double, and trials from AI visitors become a meaningful share of new sign-ups.

Building an AI Traffic Exploration

For deeper analysis, a GA4 exploration gives more flexibility than standard reports.

  1. Open Explore and start a Free-form exploration
  2. Add dimensions: Session source, Landing page + query string, Device category and Date (or Month)
  3. Add metrics: Sessions, Engaged sessions, Engagement rate, Key events and Total revenue
  4. Add a filter: Session source matches regex with your AI pattern
  5. Put Session source in rows and Month in columns to see growth by tool
  6. Switch rows to Landing page to see which pages AI tools send visitors to

Save the exploration and share it with your team, so everyone uses the same definition of AI traffic.

Checking Your Pages Appear in AI Answers

Analytics shows visits that arrive with a referrer. To understand visibility more broadly, check AI answers directly:

  • Ask the questions your customers ask in ChatGPT, Perplexity, Gemini, Copilot and Claude
  • Note whether your site is cited, which pages, and whether the information is accurate
  • Compare with competitors who appear instead
  • Repeat monthly for a fixed set of important questions

This manual check complements analytics, because users may see your brand in an answer and visit later through search or directly, which no referrer will show.

AI Traffic and Privacy

AI referral analysis uses the same GA4 data as any other channel, so the usual privacy considerations apply. Do not attempt to capture the prompts users typed into AI tools; referrers do not include them, and you should not try to collect them by other means. Focus on aggregate patterns: sources, landing pages, engagement and conversions.

Limitations to Keep in Mind

  • Some AI traffic is invisible, appearing as Direct when no referrer is passed
  • Volumes are often small, so conversion rates can fluctuate; use several months of data
  • Domains change, so regex patterns need occasional updates
  • AI Overviews traffic is part of Google organic and cannot be separated in GA4 by default
  • Attribution is partial: users may see your brand in an AI answer and visit later through search or direct

Comparing AI Traffic With Other Channels

Once the AI channel exists, compare it fairly with other channels. In a GA4 report or exploration, add the channel group as a dimension and look at:

  • Engaged sessions and engagement rate: do AI visitors read and interact with the page?
  • Average engagement time: how long they stay
  • Key events and conversion rate: do they sign up, enquire or buy?
  • Pages per session: do they explore beyond the landing page?

AI visitors often arrive with a clear purpose, because an assistant has already summarised the topic and recommended your page. In many cases they behave more like referral visitors than casual browsers. Comparing them with organic search shows whether optimising content for AI citations deserves more time.

A Monthly AI Traffic Routine

  1. Check the referral list for new AI sources and add them to your channel rules
  2. Review AI sessions and conversions against the previous month
  3. List the top landing pages and check their content is accurate and up to date
  4. Search the main topics in AI assistants to see whether your pages are cited
  5. Note changes, such as new products, content updates or assistant features, that might explain movements

This routine takes less than an hour a month and keeps the channel accurate as new assistants appear and existing ones change how they link to sources.

AI Traffic in Attribution Reports

AI assistants often appear early in a customer's research. Someone may ask ChatGPT for recommendations, visit your site, then return later through a Google search or directly. Last-click reports can underplay this. GA4's conversion paths report shows whether AI sources appear earlier in journeys that later convert.

Common Mistakes

  • Not separating AI traffic at all
  • Placing the AI channel below Referral, so it never matches
  • Using an outdated or overly narrow regex
  • Expecting large volumes immediately
  • Ignoring landing pages, which reveal what AI tools cite
  • Blocking AI search crawlers while wanting AI referrals

Frequently Asked Questions

Does ChatGPT traffic show in GA4?

Yes, usually under sources like chatgpt.com in the Referral channel, unless you create a custom AI channel.

Why does some AI traffic appear as Direct?

Some apps and browsers do not send referrer information with clicks.

Can I see historical AI traffic?

Yes. Custom channel groups apply to historical data in reports.

Is AI referral traffic valuable?

Often yes. Many sites find AI visitors are highly engaged and convert well, although volumes are usually smaller than search.

How do I get more AI referral traffic?

Publish clear, accurate, well-structured content, keep it current, allow AI search crawlers, and make cited pages useful for visitors who arrive mid-research.


AI assistants are a new source of visitors, and they deserve their own line in your reports. Create an AI Assistants channel in GA4, then analyse sources, landing pages and conversions with the free AI Referral Traffic Analyzer to see which of your pages AI tools trust most.