Back to Blog

AI Traffic Analytics: Track AI Referrals in GA4

7 November 2026 • AI Mentionz Team

Measure identifiable AI referrals in GA4, audit sources and landing pages, and keep website visits separate from brand mentions and citations.

AI Traffic Analytics: Track AI Referrals in GA4

An AI assistant recommends your business. Someone clicks through, reads a guide and sends an enquiry. Can you show where that visit came from?

AI traffic analytics measures identifiable website visits from AI assistants and what those visitors do next. Start with GA4’s AI Assistant channel, check the underlying session sources, and assess landing pages and meaningful outcomes. Keep those results separate from AI mentions, citations and crawler activity: they answer different questions.

Here is a practical method for marketing and SEO teams that want useful evidence without claiming to measure every AI-influenced customer.

What counts as AI traffic?

For this guide, AI traffic means website visits attributed to an AI assistant, such as ChatGPT, Gemini or Perplexity, through identifiable acquisition information. It does not mean every visit that AI might have influenced.

Keep four signals apart:

  • Referral visits: someone follows a link and analytics can identify its source.
  • Mentions: an answer names your brand, with or without a link.
  • Citations: an answer links to a source page. A citation does not prove anyone clicked it.
  • Crawler requests: automated systems request your pages. These belong in server-log or crawler reporting, not a count of prospective customers.

A buyer can discover you in an answer, remember your name and return later through Google. That influence is real, but the later session is not automatically identifiable as an AI referral. Our AI visibility glossary explains the mention and citation measures alongside these traffic measures.

Step 1: Start with GA4’s AI Assistant channel

You no longer need to assume that all AI visits sit inside Referral. Google introduced native AI Assistant traffic measurement on 13 May 2026.

When a referrer matches Google’s recognised list, GA4 assigns the medium ai-assistant, the campaign (ai-assistant) and the AI Assistant default channel.

To inspect it:

  1. Open Reports → Acquisition → Traffic acquisition. Navigation may differ if your reporting collection has been customised.
  2. Select Session default channel group as the table’s primary dimension.
  3. Find AI Assistant and review a consistent date range, such as the last complete month.
  4. Add Session source / medium as a secondary dimension to see the sources behind the channel.
  5. Note the reporting dates and any collection changes before comparing periods.

Use session-scoped dimensions for this task. First user dimensions describe how someone was originally acquired, not necessarily the source of the visit you are analysing today.

One important boundary: Google’s default-channel documentation explicitly excludes AI Overviews and AI Mode from AI Assistant. Their non-ad search visits belong in Organic Search. For that separate measurement problem, use our AI Overview tracking guide.

Step 2: Audit sources across all channels

The native channel is your starting point, not proof of complete coverage. Google maintains the recognised list, and your data may also contain older referrals or sources outside that classification.

Remove the AI Assistant restriction and inspect Session source / medium across all channels. Look for actual assistant domains, including chatgpt.com, chat.openai.com, perplexity.ai, claude.ai, gemini.google.com and copilot.microsoft.com.

Do not limit this check to referral: recognised traffic may now use ai-assistant. Equally, do not classify every source containing “ai” or “gpt” as an assistant. A similarly named website or tagged campaign can produce a false positive.

For each source you find, record:

  • The exact source and medium values.
  • Its current channel and reporting period.
  • Whether it is an assistant referral, a paid placement or another campaign.
  • Whether you have enough evidence to include it in your AI reporting definition.

Keep paid campaigns separate when comparing earned AI referrals. Preserve campaign tags and acquisition evidence rather than rewriting them to make the total larger.

Step 3: Add a custom channel only if you need one

A custom channel group helps when you want a documented source list or a consistent historical comparison. It is optional if the native channel already answers your question.

Google’s custom-channel guidance confirms that custom groups can be applied retroactively to reports. They can regroup acquisition data that exists; they cannot recover a referrer that was never collected. That is different from changing the primary channel group, whose new definition populates future reporting.

With Editor access or above:

  1. Go to Admin → Data display → Channel groups.
  2. Create a group by copying the default. Give it a clear name, such as Default + audited AI referrals.
  3. Add a channel called Audited AI assistants.
  4. Build a rule for the sources and media you have verified.
  5. Keep paid channels ahead of this earned-traffic channel. Place your new channel above broader rules that would otherwise capture the same visits, such as Referral or the native AI Assistant channel.
  6. Save the group and select its session-scoped custom channel group dimension in Traffic acquisition.

A small starter rule can use Source matches regex:

^([a-z0-9-]+\.)*(chatgpt\.com|chat\.openai\.com|perplexity\.ai|claude\.ai|gemini\.google\.com|copilot\.microsoft\.com)$

Combine that source condition with an AND condition group in which Medium exactly matches referral OR Medium exactly matches ai-assistant. This keeps the example focused on those two media instead of sweeping in every campaign from the same domain.

This is a deliberately limited domain list, not a universal detector. Expand it only after checking new source values. The expression targets source hostnames, not full URLs with paths, and includes subdomains. Validate it against your actual data before using it in a report.

Record the rule version and its date. Otherwise, adding a new domain can look like traffic growth when it is only a wider definition.

Diagram separating recognised AI referrals, Google AI search visits and visits with no identifiable source.

Step 4: Connect sources to landing pages and outcomes

A traffic count becomes useful when you know what visitors landed on and whether they did something valuable.

Create a free-form Exploration, or a saved report if you have the necessary permissions. Use compatible session-scoped dimensions and keep your chosen source or custom-channel filter visible.

Include:

  • Session source / medium: which identifiable assistant sent the visit?
  • Landing page + query string: which page started the session?
  • Sessions and engaged sessions: how much activity was recorded?
  • Session key event rate: how often did sessions include a meaningful key event?
  • Relevant key events: enquiries, qualified sign-ups or purchases, depending on your business.
  • Purchase revenue: only where ecommerce measurement is implemented and checked.

If a dimension-and-metric combination is unavailable, split it into separate tabs rather than mixing user acquisition and session acquisition to force a table to work. Check the data-quality indicator and the available date range, especially in Explorations, where retention can limit history.

Choose key events carefully. A scroll event and a qualified enquiry do not mean the same thing. Have whoever owns analytics confirm that the events fire correctly before interpreting a conversion rate.

Compare AI-referred sessions with relevant channels and similar landing pages, not only the site-wide average. Different audiences and content types can explain a difference without AI being the cause.

Step 5: Diagnose missing or misleading results

No AI Assistant row? Check that you are using Session default channel group and that your date range includes recent activity. Then inspect source / medium without a channel filter. Zero recorded visits is not proof that nobody has encountered your brand in AI.

Sources appear in Referral instead? Review the exact domain and medium, the reporting period and your custom rules. A source can be identifiable without belonging to Google’s recognised list.

Direct rises after an AI campaign? Treat that as a question, not an attribution result. Copied links, app hand-offs and visits without usable referrer information can obscure the source. But so can many non-AI journeys. Do not relabel unexplained Direct traffic as AI.

A sudden jump after changing the rule? Re-run both periods using the same definition and annotate the change. Check for campaign activity, tracking changes and unusual behaviour before calling it organic growth.

Citations increase but visits do not? People may get their answer without clicking, the citation may be poorly placed, or the landing page may not match their next step. Check the answer and the destination rather than assuming the tracking is broken.

Step 6: Report traffic and visibility side by side

Use two clearly labelled sections in your reporting.

Recorded AI-attributed visits should show your reporting definition, date range, source list, sessions, useful landing pages and relevant outcomes. Explain any rule changes or data-quality limitations.

Observed AI visibility should show mentions and citations for a defined set of prompts, models and markets. These are observations of answers, not a census of what every buyer sees.

Do not divide GA4 sessions by the citations in a small monitored prompt set and call the result an AI click-through rate. The two datasets do not describe the same population.

A practical interpretation might be: “Our tracked answers cite the implementation guide more often, while identifiable assistant-referred visits increasingly land on that guide. We will improve its next-step CTA and check again next month.” That is a testable next action, not a claim that every extra session was caused by a particular citation.

Two reporting panels distinguish recorded AI visits and outcomes from observed brand mentions and citations.

Measure the answer as well as the click

GA4 tells you about visits that reach your site with identifiable acquisition information. It cannot tell you all the answers where your brand was recommended, overlooked or described incorrectly.

Use aimentionz to examine that separate layer: the answers, brand mentions and sources behind your monitored prompts. The AI Citation Audit helps you investigate which pages are cited, while how aimentionz works explains the prompt-to-answer workflow. Neither replaces your website analytics.

Want a starting point? Get a free AI visibility analysis to see a snapshot of how ChatGPT and Gemini describe your brand. Then compare those observations with the referral visits you can actually measure.

AI traffic analytics FAQ

What is AI traffic analytics?

AI traffic analytics measures identifiable website visits from AI assistants and the actions those visitors take. It should distinguish referral sessions from brand mentions, citations and automated crawler requests.

How do I track ChatGPT traffic in GA4?

Open Traffic acquisition, select Session default channel group and inspect AI Assistant. Add Session source / medium, then check ChatGPT-related source values across all channels so you do not overlook identifiable visits outside the native channel.

Does GA4 have an AI Assistant channel?

Yes. Google introduced AI Assistant traffic measurement on 13 May 2026. When a referrer matches its recognised list, GA4 assigns the medium ai-assistant and places the visit in the AI Assistant default channel.

Are Google AI Overviews included in the AI Assistant channel?

No. Google’s default-channel documentation excludes AI Overviews and AI Mode from AI Assistant. Their non-ad search visits are included in Organic Search, so the AI Assistant total is not a total for all Google AI search activity.

Can a custom AI channel group show historical traffic?

Yes. Custom channel groups can be applied retroactively to reporting data that already exists. They can regroup recorded sources, but cannot recover missing referrers or reveal AI influence that was never collected.

Why does AI traffic sometimes appear as Direct?

A visit may lack usable source information after a copied link, app hand-off or another journey. Some AI-influenced visits can therefore be unidentifiable, but unexplained Direct traffic must not automatically be counted as AI traffic.