Skip to content

Track AI referral traffic in GA4

See how many visits ChatGPT, Perplexity, Gemini, Claude and Copilot send you, which pages they land on and what those visitors do next. Set up the AI channel in GA4, then use AI Rank Lab's tag and GA4 connection to fill in what GA4 leaves out.

100 free credits when you sign up. No credit card.

fieldnote.app4,571 credits

AI traffic

Last 30 days · tag and GA4

Illustrative data
AI-referred visits
1,284
+18% vs prior
Assistants
5
Pages reached
37
Share of visits
0.6%
By assistantVisits
  • ChatGPT612
  • Gemini274
  • Claude168
  • Perplexity151
  • Copilot22
Top landing pagesVisits
  • /pricing212
  • /blog/agency-crm-cost168
  • /compare/pipewise97
  • /features/client-portal74

What is AI referral traffic?

AI referral traffic is visits that reach your site from a link in an AI assistant's answer, such as ChatGPT, Perplexity, Gemini, Claude or Copilot. GA4 records these visits but files them under Referral, or under Direct when no referrer is passed. To see them as one number, add an AI channel group or build an exploration filtered on session source. AI referral tracking per page

GA4 hides most AI visits

GA4 does record clicks from AI assistants. It files them under Referral or Direct, mixed in with everything else, so nobody can say how much traffic AI sends you.

Buried in Referral

A click from chatgpt.com lands in the default Referral channel next to forums and partner sites. Unless you add a channel for AI assistants, AI traffic doesn't show as its own line.

Lost to Direct

Some AI apps and in-app browsers don't pass a referrer. Those visits arrive as (direct) / (none), so any referrer-based count is a floor, not the full number.

Tagged, not referred

ChatGPT adds utm_source=chatgpt.com to many links it shows. A report that only checks the referrer misses those visits; one built on session source catches them.

Questions you can ask your GA4 data

Connect GA4 and ask in plain English. Analytics chat plans the GA4 query, runs it on your property and answers with the numbers.

fieldnote.app4,571 credits

Analytics chat · GA4

Example questions

Illustrative data
Volume and trend
  • how many sessions came from chatgpt.com last monthSessions
  • ai referral sessions this quarter vs last quarterTrend
  • which ai assistant sent the most new usersUsers
Pages and outcomes
  • top landing pages for sessions from perplexity.aiPages
  • key events from chatgpt.com vs organic searchConversions
  • engagement rate of ai visitors vs google visitorsEngagement

Each chat message uses 20 credits. Answers come from your live GA4 property through a read-only connection.

Set it up in four steps

GA4 first, because it is your system of record. AI Rank Lab adds the page-level view and the citation context.

Add an AI channel in GA4

In GA4 Admin, open Data display, then Channel groups. Copy the default group, add a channel whose session source matches a regex for the AI assistants, and move it above Referral so GA4 assigns those sessions to it first.

GA4 · Custom channel groupExample setup
  • Channel nameAI assistants
  • ConditionSession source matches regex
  • chatgpt\.com|chat\.openai\.com|perplexity\.ai|gemini\.google\.com|claude\.ai|copilot\.microsoft\.com
  • OrderAbove Referral

Install the AI Rank Lab tag

Paste one script tag, or switch on the visibility tracker in the WordPress plugin. It stores each visit's referrer and UTM parameters, flags AI assistant referrals and shows them per page.

AI bot tracking
Tracking tag · fieldnote.appIllustrative
  • Script tag found on the siteVerified
  • chatgpt.com → /pricingAI referral
  • utm_source=chatgpt.com → /blog/agency-crm-costUTM
  • google.com → /Search

Connect GA4 read-only

Sign in with Google and pick the property. AI Rank Lab asks for read access only, so it can report on your data but never changes your GA4 setup.

GA4 integration
Google Analytics 4 · connectionIllustrative
  • fieldnote.app · GA4PropertyConnected
  • analytics.readonlyAccess scopeRead-only
  • Analytics chat, GA4 Mastery, MCPUses this connection

Compare and report

Put the AI channel in GA4 next to the tag's per-page view, ask analytics chat the follow-up questions, and tie the visits back to the prompts where your pages are cited.

Analytics chat
AI traffic · GA4 next to the tagIllustrative
AssistantGA4 sessionsTag page views
ChatGPT540612
Gemini231274
Claude140168
Perplexity129151

The features behind it

Four parts of AI Rank Lab do the work. Each has its own page with the details.

AI bot tracking

A lightweight JavaScript tag records visits whose referrer is an AI assistant, with the landing page, country and UTM parameters, and reports them per page and per assistant.

  • AI-referred visits per page and per assistant
  • UTM parameters stored with every visit
  • The WordPress plugin can add the tag for you
  • 1 credit per 100 tracked requests
See AI bot tracking
fieldnote.app4,571 credits

AI bot tracking

AI referrals by landing page

Illustrative data
  • /pricingChatGPT
  • /blog/agency-crm-costPerplexity
  • /compare/pipewiseGemini
  • /features/client-portalClaude

Referrer and UTMstored with every visit. Crawlers that don't run JavaScript aren't counted.

GA4 integration

Connect one or more GA4 properties over Google OAuth with read-only access. The same connection feeds analytics chat, the GA4 Mastery analyses, Autopilot and the MCP connector for Claude.

  • Read-only: nothing is written to GA4
  • Several Google accounts and properties
  • GA4 data inside Claude through MCP
See the GA4 integration
fieldnote.app4,571 credits

GA4 · fieldnote.app

Sessions by source, last 28 days

Illustrative data
  • chatgpt.com540
  • gemini.google.com231
  • claude.ai140
  • perplexity.ai129
  • copilot.microsoft.com22

Analytics chat

Ask GA4 questions in plain English. The chat plans the query, pulls the data from your property and answers with the numbers and a short explanation.

  • 20 credits per message
  • Chat history saved per session
  • Works on any connected property
See analytics chat
fieldnote.app4,571 credits

Analytics chat

GA4 · fieldnote.app

Illustrative data
Question

which landing pages get the most sessions from chatgpt.com this month

Answer20 credits
  • /pricing39%
  • /blog/agency-crm-cost27%
  • /compare/pipewise14%

Citations behind the clicks

Traffic is the end of the chain. Brand visibility and citation analytics show which prompts mention you and which of your URLs AI engines cite, so you can see why an assistant sends visits.

  • Mentions, position and cited URLs per engine
  • Opted-in prompts re-checked weekly by the citation tracker
See citation analytics
fieldnote.app4,571 credits

Prompts citing your pages

fieldnote.app · 6 engines

Illustrative data
  • best crm for a 10-person agencyCited
  • agency crm per-seat pricingCited
  • pipewise alternativesNot cited

What to measure and report

Report AI traffic as a floor with the method stated, and track it next to the citations that cause it.

AI sessions in GA4

Sessions in your AI channel, by source. Your official number, with the caveat that visits without a referrer are missing.

AI visits per page

From the AI Rank Lab tag. Shows which pages AI assistants actually send people to.

UTM-tagged AI visits

Visits with utm_source=chatgpt.com. Report them next to referrer visits, or you undercount ChatGPT.

Engagement and conversions

Engagement rate and key events for the AI channel against Organic Search, straight from GA4.

Citations behind the clicks

Brand visibility

Prompts where your URLs are cited. When citations rise and AI visits don't, look at the cited pages.

54%

of AI-referred page views on sites running our tag came from ChatGPT. Gemini was next with 19%.3,906 page-view events whose referrer is an AI assistant, recorded by the AI Rank Lab JS tag on 31 sites, July 2025 to November 2026. Page views, not unique users. DuckDuckGo excluded.

5,656

page views carried utm_source=chatgpt.com, against 2,125 with a ChatGPT referrer.Same tag data and window: 35 sites had utm_source=chatgpt.com visits, 29 had ChatGPT referrer visits. One page view can carry both, so do not add the two counts.

What GA4 and the tag can't see

Report AI traffic as a floor, and say so next to the number.

Visits with no referrer

Some AI apps, in-app browsers and copied links pass no referrer. GA4 files those visits as (direct) / (none), and no tool can reliably attribute them.

AI Overviews look like organic

AI Overview tracker

Clicks from Google AI Overviews arrive as google / organic, so GA4 can't separate them from ordinary results. Use the AI Overview tracker to see which queries cite you.

The tag sees JavaScript visits

The AI Rank Lab tag runs in the browser. It records AI-referred people and agents that run JavaScript, not crawlers such as GPTBot; those appear in server logs.

The GA4 setup is yours

The connection is read-only, so AI Rank Lab can't create the channel group for you. You need an Editor or Administrator role on the property to add it.

Questions buyers ask us

Something else? Ask the team

How do I track AI referral traffic in GA4?

Create a custom channel group in GA4 (Admin, Data display, Channel groups), add a channel whose session source matches a regex such as chatgpt\.com|perplexity\.ai|gemini\.google\.com|claude\.ai|copilot\.microsoft\.com, and place it above Referral. You can also build an exploration filtered on session source. AI Rank Lab adds a per-page view from its own tag and lets you ask GA4 follow-up questions in plain English.

What source does ChatGPT traffic show in GA4?

Usually chatgpt.com (older visits may show chat.openai.com), either as the referrer or through utm_source=chatgpt.com. Perplexity shows as perplexity.ai, Gemini as gemini.google.com, Claude as claude.ai and Copilot as copilot.microsoft.com.

Why does some AI traffic show as Direct in GA4?

Some AI apps, in-app browsers and copied links don't pass a referrer. GA4 then records the visit as (direct) / (none). No tool can recover those visits reliably, so treat your AI channel as a floor and say so in reports.

Which AI search rank tracker integrates with GA4?

AI Rank Lab connects GA4 in the same account as brand visibility tracking across ChatGPT, Claude, Gemini, Perplexity, Google AI Overviews and AI Mode, so the prompts that cite you and the visits they send sit side by side.

Can I see Google AI Overviews traffic separately in GA4?

Not reliably. Clicks from AI Overviews arrive as google / organic, the same as ordinary results. Use the AI Overview tracker to see which queries show an AI Overview and whether it cites your pages.

What access do I need to add the AI channel group?

An Editor or Administrator role on the GA4 property. The default channel group can't be edited, so you copy it and add the AI channel to the copy, above Referral.

Does AI Rank Lab change my GA4 property?

No. The connection uses Google's read-only analytics scope. You create the AI channel group in GA4 yourself; AI Rank Lab reads the data and never writes to the property.

Does the tag track AI crawlers like GPTBot?

Mostly not. The tag runs in the browser, and most AI crawlers don't execute JavaScript, so it records AI-referred people and JavaScript-capable agents. Crawler hits show up in your server logs.

What does it cost?

Tag tracking uses 1 credit per 100 tracked requests and analytics chat uses 20 credits per message. Signup includes 100 free credits with no card; paid plans start at $69 a month with 10,000 credits.

See your AI traffic next to your citations

Paste your site for the free SEO, AEO and GEO audit, then add the tag and connect GA4 to see the AI visits your pages earn.