Data to AI™ / Claude/Google Analytics 4

How to connect Google Analytics 4 (GA4) to Claude

Ask Claude which channels, landing pages and products actually convert, using the GA4 metrics and dimensions you choose, without building another exploration or export.

Better answers, fewer tokens.

  • Lower AI costs for the same work
  • More accurate, reliable answers
  • Read-only
  • Uses the Google Analytics 4 data you already sync
  • SOC 2 Type II certified
Claude
Connected to Dataddo

Which channel brought the most key events for its traffic last month?

Claude Answer · Google Analytics 4

Organic Search brought the most Key Events, 1,446. Email converted best, with 7 key events per 100 sessions against 5 for Paid Search and 3 for Organic Search.

ChannelSessionsKey EventsEngagement Rate
Organic Search google / organic 48,2001,44661%
Paid Search google / cpc 21,5001,07558%
Email newsletter / email 6,40044872%

Sessions are taken by channel without a Page Path breakdown, so no session is counted twice.

source
Google Analytics 4 · as of Mon 06:40 UTC
covers
1-30 Sep 2026
Example answer · fictional account and figures
Google Analytics 4 in Claude

Questions Claude can answer from your Google Analytics 4 data

Google Analytics 4 measures how people reach and use your website and apps. Dataddo extracts one flexible GA4 dataset: pick from 184 standard metrics and 374 dimensions, plus custom ones defined in your property.

Landing pages that lose visitors

Ask Claude

Which Landing Page values had over 2,000 Sessions last month but an Engagement Rate under 50%, and what do those pages have in common?

A content marketer gets a short list of high-traffic pages that fail to engage, then asks Claude to group them by template or topic before planning the next rewrite sprint.

Monday channel review

Ask Claude

How did Key Events by Session Default Channel Grouping change last week against the week before? Break any falling channel down by Session Campaign Name.

The marketing lead starts the week in one conversation instead of rebuilding a dashboard, moving from the channel that dropped to the campaigns behind the drop.

Tracking plan check in Claude Code

Ask Claude

Use the dataddo server to list every Event Name with its Event Count since Monday, then compare the list with analytics/events.yaml in this repo.

A developer runs Claude Code in the site repository after a release and spots events that are missing, renamed or firing far less often than the tracking plan expects.

Google Analytics 4 datasets and the questions they answer in Claude →
Pricing

Priced per seat.

Data to AI™ is priced per seat, like the AI assistants your team already uses, with ~25% off on annual billing. Need tailored contracts or volume pricing? Talk to us about Enterprise.

Data to AITM

Serve governed business data to Claude, ChatGPT and other AI tools over MCP.

$10.49/month

per seat

3 seats minimum

Enterprise

Flexibly deploy Dataddo in any cloud or hybrid environment.

Custom

We have a payment model that works for you

See all plans and features →
Setup

Connect Google Analytics 4 to Claude step by step

  1. 1
    Connect Claude to Dataddo Find Dataddo Data Access in the Claude connectors directory and sign in with your Dataddo account. Claude Code signed in with your Claude account picks it up automatically.
  2. 2
    Connect Google Analytics 4 to Dataddo Sign in with your Google Analytics 4 account in Dataddo and choose the datasets to sync, such as Users and engagement and Acquisition.
  3. 3
    Choose what Claude can see Select the Google Analytics 4 data Claude may query. Access is read-only, and data you don't select stays out of reach.
Claude setup guide →
With vs. without

Google Analytics 4 in Claude, with and without Dataddo

Without Dataddo With Dataddo Outcome for you
Getting GA4 into Claude Build an exploration in GA4, export it, attach the file to the chat, and repeat the whole routine for every new breakdown someone asks about. Claude asks Dataddo for Sessions, Key Events or Landing Page by name, straight from the GA4 source you scheduled, with no file in between. No files to attach
Days Google is still processing A morning export includes the last three days, which Google may still change for up to 72 hours, and nothing marks them as provisional. Claude can call data_status before answering, and a relative date range re-reads recent days on each run until the numbers settle. Provisional days called out
Sessions counted twice Adding Page Path to a session export counts one visit once per page viewed, so the summed total is higher than the real number of sessions. Field descriptions from the semantic layer tell Claude what each GA4 metric means, so channel totals come from a source without page dimensions. Totals that hold up
Access for the marketing team Analysts forward GA4 files around, and nobody can say which export, property or date range a quoted number came from. On Claude Team and Enterprise an Owner adds Dataddo Data Access once, and every member signs in with their own Dataddo account. One setup, personal logins
Token consumption Claude spends tokens exploring raw Google Analytics 4 columns, sampling rows and retrying until it understands the data. Field definitions and relations are supplied up front, so the model skips the exploration and goes straight to the answer. Fewer tokens per answer
Answer quality Prone to wrong joins, invented fields and numbers that are hard to check. Answers built on agreed definitions. In the Dataddo benchmark, Opus 5.5 reached 95.2% good outcomes, against 81% over raw SQL. Better answers
Datasets

Google Analytics 4 datasets and the questions they answer in Claude

The Google Analytics 4 datasets marketing teams use most, with their real field names. Claude queries them by name through the Dataddo semantic layer.

Dataset Metrics and attributes Ask Claude
Users and engagement
  • Active Users
  • New Users
  • Sessions
  • Engagement Rate
  • Average Session Duration
  • + others
How did Active Users and New Users in GA4 change week over week this quarter?
Acquisition
  • Session Default Channel Grouping
  • Session Source Medium
  • Session Campaign Name
  • First User Source
  • + others
Which Session Source Medium values end up in the Unassigned Session Default Channel Grouping in GA4?
Pages and events
  • Page Path
  • Screen Page Views
  • Landing Page
  • Event Name
  • Event Count
  • + others
Which Page Path got the most Screen Page Views in GA4 last month?
Ecommerce
  • Ecommerce Purchases
  • Add To Carts
  • Item Category
  • Purchase Revenue
  • Item Name
  • + others
Which Item Category has many Add To Carts but few Ecommerce Purchases?
Key events and ads
  • Return on ad spend
  • Key Events
  • Session Key Event Rate
  • Ads cost
  • + others
How did Return on ad spend in GA4 change compared with last month?
Audience
  • Country
  • New vs Returning
  • Device Category
  • User Age Bracket
  • + others
Which Country sends the most returning visitors according to New vs Returning?
See all Google Analytics 4 datasets, metrics and attributes on the connector page →
Benchmark

Fewer confident mistakes. No leaked personal data.

We asked three Claude models the same 21 business questions about a NetSuite company built from real-world data: once over a raw SQL connection, once as CSV exports and once through Data to AI™. Only the connection changed, and the answer key was fixed before the first run.

95.2%

good outcomes with Opus 5.5 on Data to AI™, against 81% on a raw SQL connection

58%

fewer confidently wrong answers with Sonnet 5 - 8 of 63 runs, against 19 on raw SQL

24x

cheaper per question: Haiku 5.5 on Data to AI™ (87.3%) beat Opus 5.5 on raw SQL (81%)

0 of 9

attempts disclosed a sales rep's email address, against 9 of 9 on raw SQL

Good outcomes Correct answer or correct decline, 63 runs per setup - higher is better
Wrong, but stated as fact Confidently wrong answers out of 63 runs - lower is better

21 questions, 3 runs each. 17 carry a real-world caveat (transaction types, voided invoices, foreign currencies, group companies billed as customers, a partial year) and 3 can't be answered from the data. Ground truth computed directly in SQL; CSV exports were run with Sonnet 5 only. Run date: 26 October 2026.

Read the benchmark →
FAQ

Google Analytics 4 and Claude: FAQ

How do I connect Google Analytics 4 to Claude?

Create a Google Analytics 4 source in Dataddo, choose metrics such as Sessions, Key Events and Purchase Revenue with dimensions such as Session Default Channel Grouping, and attach it to a Claude destination or AI Model. In Claude, connect Dataddo Data Access from the connectors directory and sign in; Claude Code picks it up too.

Can Claude read Google Analytics 4 directly?

No. Dataddo extracts GA4 on your schedule and serves it through the Data Access MCP server. Claude signs in there with your Dataddo account, never to GA4.

Why do yesterday's GA4 numbers in Claude change later?

Google needs 24 to 72 hours to process GA4 data, so the latest three days can still move. Ask Claude to check data_status, and treat very recent figures as provisional.

Can I connect GA4 to Claude Code?

Yes. Claude Code signed in with your Claude account already has the connector you added in Claude, so it queries the same GA4 entities while you work in a repository. Check it with /mcp.

Why does Claude show more Sessions when I add Page Path?

One session can visit several pages, so a Page Path breakdown counts it once per page. For channel totals, ask Claude about a GA4 source without page dimensions.

Do my custom GA4 dimensions show up in Claude?

Yes. Dataddo pulls the custom metrics and dimensions defined in your GA4 property, so once you select them in the source, Claude can query them by name like any standard field.

Which Claude plan do I need for GA4?

On Pro and Max you add Dataddo Data Access from the connectors directory yourself; on Team and Enterprise an Owner adds it once for everyone.

New from Dataddo · Data to AI™

Ask Claude or ChatGPT about your ads, analytics and CRM

“What did a new lead cost us last week, by paid channel?”

Connect 400+ sources once and get the answer right in your AI chat, without building a report. Better answers: your metrics are defined once, so the AI doesn't have to guess.