Skip to content

GA4 integration that shows your AI traffic

Connect Google Analytics 4 with a read-only Google sign-in. See which sessions came from ChatGPT, Perplexity, Gemini, Copilot and Claude, ask GA4 questions in plain English, and run three diagnostics. No exports, no custom channel group.

Read-only Google sign-in. Signup includes 100 free credits, no card.

fieldnote.app4,571 credits

GA4 Mastery · Overview

fieldnote.app · GA4 property · last 30 days

Illustrative data
Users
9,420
+6%
Sessions
13,180
+8%
Page views
31,760
+5%
AI-referred sessions
668
+22%
Sessionsdaily average per week
AI referral sourcessessions
  • chatgpt.com412
  • perplexity.ai133
  • gemini.google61
  • copilot38
  • claude.ai24
Reads Google Analytics 4 and splits out referrals fromGoogle Analytics 4ChatGPTPerplexityGeminiCopilotClaude

What is the GA4 integration?

The AI Rank Lab GA4 integration is a read-only connection between your Google Analytics 4 property and AI Rank Lab. After a Google sign-in and a property choice, the Analytics Overview splits sessions from ChatGPT, Perplexity, Gemini, Copilot and Claude out of your referral traffic, ranks the top five AI sources and shows users, sessions and page views for the last 7 to 90 days.

This page covers the connection and AI traffic. The same connection powers Analytics chat, for plain-English questions about GA4, and GA4 Mastery, for finding why your numbers moved.

What the GA4 integration gives you

One connection feeds four tools in the Analytics workspace: the Overview, Chat, GA4 Mastery and, next to it, Search Console.

Track ChatGPT and AI traffic in GA4

GA4 files a click from ChatGPT under ordinary referral traffic, so it hides among every other site. The Overview reads your session sources and pulls out the ones from AI assistants, next to users, sessions and page views for the last 7, 28, 30 or 90 days.

  • Top five AI sources by sessions
  • AI-referred sessions against all other sessions
  • Nothing to change in your GA4 property
How to track AI referral traffic in GA4
AI referral sourcesGA4 session source · 30 days
  • chatgpt.com412
  • perplexity.ai133
  • gemini.google61
  • copilot38
  • claude.ai24

Ask GA4 questions in plain English

Type a question such as “Which channels brought paying users last month?”. The assistant turns it into a GA4 Data API query, runs it on your property and answers with the numbers, in a table when that reads better.

  • Follow-up questions keep the context
  • Chats saved per property
  • 20 credits a message
See analytics chat
fieldnote.app4,571 credits

GA4 Mastery · Chat

fieldnote.app · GA4 property

Illustrative data

Which channels brought paying users last month?

Purchases by session default channel group, last 30 days:

  • Organic Search214
  • Direct131
  • Referral (incl. chatgpt.com)58
  • Email40

Organic Search drove about half of all purchases.

And how many of those referrals came from ChatGPT?

chatgpt.com sent 412 sessions and 23 purchases, a 5.6% purchase rate against 3.4% site-wide.

Diagnose revenue leaks, drops and spam

GA4 Mastery runs three analyses on the same connection. Revenue Leak compares each checkout step with a 28-day baseline, Anomaly Engine finds the source, country or device behind a traffic drop, and Spam Purger writes the filter for bot traffic.

  • 50 credits per analysis
  • Runs when you click, on live data
See GA4 Mastery
Revenue Leaklast 7 days vs 28-day baseline
  • view_item18,240
  • add_to_cart5,310
  • begin_checkout2,140
  • purchase610

Worst step: begin_checkout to purchase. Abandonment is 18% higher than the baseline, mostly on mobile Safari.

Read it next to Search Console

Connect Search Console as well and the Analytics workspace adds clicks, impressions, decaying pages, cannibalization and CTR gaps, so search demand and on-site behaviour sit in one place.

See the Search Console tools
CTR Opportunitiesactual CTR vs position benchmark
  • invoice template freelancer · pos 2.81.9% / 10%
  • late payment email · pos 4.21.1% / 7%
  • freelance rate calculator · pos 5.00.8% / 5%

Suggested title: Free freelance invoice template (PDF, Word, Google Docs)

Connect GA4 in four steps

From Google sign-in to your first AI traffic split in a few minutes.

Sign in with Google

Click Connect Google Analytics and approve read-only access. AI Rank Lab can read reports; it cannot change your property, tags or settings.

Connect Google AnalyticsGoogle OAuth
  • analytics.readonlyRead-only
  • Writes to your propertyNever
  • RevokeAny time

Pick a property

Choose the account and GA4 property. Connect another Google account when a client’s property lives under a different login, then switch with the property selector.

PropertyIllustrative
  • fieldnote.app · GA4Selected
  • fieldnote-shop.app · GA4Available
  • pipewise.io · GA4Available

Read the AI split

The Overview shows users, sessions and page views, then splits sessions from AI assistants out of the rest and ranks the top five AI sources.

AI referral sourcesIllustrative
  • chatgpt.com412 sessions
  • perplexity.ai133 sessions
  • gemini.google.com61 sessions

Ask or diagnose

Ask follow-up questions in Chat, or run Revenue Leak, Anomaly Engine or Spam Purger when something looks wrong.

Compare the GA4 tools
Next step
  • Chat message20 credits
  • GA4 Mastery analysis50 credits
  • OverviewFree

The GA4 integration at a glance

Data source

Google Analytics 4 Data API through Google OAuth with the read-only analytics scope. GA4 only; Universal Analytics is not supported.

Refresh

Live. Each view, chat message or analysis queries GA4 when you open or run it. Nothing is synced on a schedule.

AI sources matched

Session sources containing chatgpt, openai, claude, anthropic, gemini, bard, perplexity, bing, copilot or grok. Matching is by name, so Bing search visits are counted with Copilot.

Properties

Several Google accounts and GA4 properties per login; choose one with the property selector.

Credits

See pricing

Overview free. Chat 20 credits a message. Each GA4 Mastery analysis 50 credits. Signup includes 100 free credits.

Also available in

MCP for SEO

The MCP connector (GA4 report, realtime and property tools), the API and Autopilot use the same connection.

Limits

AI bot tracking

GA4 only sees visits that arrive with a referrer. Clicks from AI apps that land as direct traffic are not counted, and AI crawler visits never reach GA4; AI bot tracking records crawlers.

Questions buyers ask us

Something else? Ask the team

What is the GA4 integration in AI Rank Lab?

It connects your Google Analytics 4 property to AI Rank Lab through Google OAuth with read-only access. The connection powers the Analytics Overview (with AI referral sources split out), Analytics chat, and the three GA4 Mastery analyses: Revenue Leak, Anomaly Engine and Spam Purger. Setup takes a Google sign-in and a property choice, with no exports.

How do I track ChatGPT traffic in GA4?

In GA4 itself, open Reports > Acquisition > Traffic acquisition, set the dimension to Session source / medium and search for chatgpt, or build a custom channel group with a regex for AI sources. With the AI Rank Lab GA4 integration that split is done for you: the Overview groups sessions from ChatGPT, Perplexity, Gemini, Copilot, Claude and other assistants and ranks the top five.

Why does some ChatGPT traffic show as direct in GA4?

GA4 can only name a source when the visit carries a referrer. Clicks from some AI apps and copy-pasted links arrive without one and are counted as direct, so AI referral numbers in GA4 are a floor, not the full count. AI crawler visits never reach GA4 at all; AI bot tracking records those separately.

Is my GA4 data safe when I connect it?

AI Rank Lab asks Google only for the read-only analytics scope, so it can read reports but cannot change your property, tags or settings. Reports are fetched when you open or run them. Chat questions and answers are saved in your chat history so you can return to them. You can revoke access at any time in your Google Account permissions.

What GA4 metrics does AI Rank Lab use?

The Overview reads active users, page views and sessions by date, plus sessions by session source for the AI split. Chat picks whichever GA4 Data API metrics and dimensions your question needs. Revenue Leak reads the view_item, add_to_cart, begin_checkout and purchase events; Spam Purger reads sessions, average session duration and engagement rate by source and hostname.

Do I need to change my GA4 setup or add any tracking code?

No. AI Rank Lab reads your existing GA4 data through the API. Revenue Leak needs GA4 ecommerce events to be set up on your site. The AI bot tracking tag is optional and separate from the GA4 integration.

Can I connect multiple GA4 properties?

Yes. Connect one or more Google accounts and switch between their GA4 properties with the property selector. Chat history is kept per property.

Does the integration import Search Console data too?

Search Console is a separate connection in the same Analytics workspace. It reads clicks, impressions, CTR and position through the Search Analytics API. It cannot import Search Console’s generative AI performance report, because Google offers no API for it.

See your AI traffic in GA4

Connect GA4 free, or start with the free audit to see how ready your pages are for search and AI answers.