Why connect GA4 to Claude?
GA4 makes you click through explorations to answer simple questions. Claude with Lemonado reads sessions, key events and landing pages directly, explains what moved and puts your ad spend next to it.
All your GA4 data
Sessions, users and engagement, ready to ask about.
Always today's numbers
Landing pages and page paths, synced from GA4 automatically, so answers use today's numbers.
Connect all your tools
Questions like "What does a conversion cost by channel?" use GA4 and Google Ads, Search Console at once.
How to connect GA4 to Claude
Before you start
- A Google Analytics account you can sign in to
- A Claude account
- A Lemonado account (the free trial works)
- 1
Connect Google Analytics in Lemonado
In Lemonado, open Connectors, find Google Analytics and sign in. Choose the GA4 property your site sends data to. The property, not the account, holds the data.
- 2
Turn on external access
In the company's settings, open External tools, turn the connection on, choose which sources it can reach and copy the server URL.
texthttps://mcp.lemonado.io/mcp - 3
Open Claude's connectors
Go to claude.ai and open Customize → Connectors. Click + Add, then Add custom connector.
- 4
Add Lemonado
Name it Lemonado and paste the server URL. Continue, review the sign-in settings Claude detects, and choose Sign in now.
texthttps://mcp.lemonado.io/mcp - 5
Sign in and turn it on
Approve access in the Lemonado window. Back in Claude, open a new chat and switch Lemonado on from the connectors menu.
- 6
Ask Claude about GA4
Try "Our GA4 conversions fell this week. What changed, and which channel or landing page explains most of it? Make an artifact with the breakdown." Or ask: "Which pages leak paid traffic?" or "Where does checkout drop off?"
Good to know
- Custom connectors work on Claude Free, Pro, Max, Team and Enterprise. Free accounts can add one.
- On Team and Enterprise, an owner adds the connector first under Organization settings → Connectors → Add → Custom → Web. Members then connect their own accounts.
- Remote connectors belong to your Claude account, so the same connection shows up in Claude Desktop and Cowork. Requests come from Anthropic's cloud, not your computer.
What can Claude do with GA4?
Claude reads your GA4 numbers, explains what moved and turns the answer into an artifact you can share.
Our GA4 conversions fell this week. What changed, and which channel or landing page explains most of it? Make an artifact with the breakdown.
Key events fell 18%. Paid social explains 70% of it: /lp/rain-shell lost its add-to-cart button on mobile on Tuesday and now converts at 0.4%, down from 2.1%.
Source: Google Analytics
Which landing pages get paid traffic but convert under 1%?
7 pages took 18,400 paid sessions last month at 0.6%. /tents-sale alone had 6,100 sessions and 19 purchases.
Source: Google Analytics
Where did people drop off between product page and purchase this week compared with last week?
Add-to-cart held steady. Checkout start to purchase fell from 52% to 41%, all of it on iOS Safari.
Source: Google Analytics
Did the new homepage lift conversion rate for mobile visitors?
Mobile conversion went from 1.8% to 2.3% in the 14 days after launch. Desktop didn't move.
Source: Google Analytics
How much traffic do we get from ChatGPT, Perplexity and other AI assistants, and does it convert?
1,240 sessions last month, up 3x since July. They convert at 3.1%, above every paid channel.
Source: Google Analytics
Cost per GA4 conversion by channel, using Google Ads and Meta spend.
Google $26, Meta $39, paid social total $41. Meta looks better in Ads Manager than in GA4.
Source: Google Analytics
Connect GA4 to another AI app.
ChatGPT
Connect GA4 to ChatGPT
Claude Code
Connect GA4 to Claude Code
Cursor
Connect GA4 to Cursor
VS Code (GitHub Copilot)
Connect GA4 to VS Code (GitHub Copilot)
Codex
Connect GA4 to Codex
Perplexity
Connect GA4 to Perplexity
Google Antigravity
Connect GA4 to Google Antigravity
Windsurf (Devin Desktop)
Connect GA4 to Windsurf (Devin Desktop)
Zed
Connect GA4 to Zed
n8n
Connect GA4 to n8n
Other integrations for Claude
All Claude integrations- Google Ads in ClaudeAsk Claude, ChatGPT or Cursor about your Google Ads campaigns, search terms and spend.
- Meta Ads in ClaudeAsk Claude, ChatGPT or Cursor about your Facebook and Instagram ads, creatives and results.
- Google Search Console in ClaudeAsk Claude, ChatGPT or Cursor about your search queries, rankings and lost clicks.
- Google Sheets in ClaudeUse your media plans, targets and offline sales sheets in Claude, next to live ad data.
- LinkedIn Ads in ClaudeAsk Claude, ChatGPT or Cursor about LinkedIn campaigns, lead forms and who converts.
- TikTok Ads in ClaudeAsk Claude, ChatGPT or Cursor which TikTok videos hold attention and which ones sell.
Reading this as an AI agent?
Everything an agent needs to set this up, in plain text. Paste this page's link into Claude and ask it to connect you, or copy the block.
# Connect Google Analytics to Claude (Lemonado MCP) - Server URL: https://mcp.lemonado.io/mcp - Transport: Streamable HTTP - Auth: OAuth; the user signs in to Lemonado in the browser. No API keys. - In Lemonado: connect the GA4 property. Choose the GA4 property your site sends data to. The property, not the account, holds the data. - In Claude: Customize → Connectors → Add custom connector ```text https://mcp.lemonado.io/mcp ``` One-click install: https://claude.ai/directory/lemonado First question to try: "Our GA4 conversions fell this week. What changed, and which channel or landing page explains most of it? Make an artifact with the breakdown." More: https://lemonado.io/integrations/google-analytics · https://lemonado.io/llms.txt
Frequently Asked Questions
Not on its own. Add Lemonado as a custom connector, connect your GA4 property in Lemonado, and Claude can query it in any chat. Google's own Analytics MCP server runs locally and needs a Google Cloud project, so it doesn't work on claude.ai unless you host it.
Not easily. Google publishes an open-source Google Analytics MCP server (googleanalytics/google-analytics-mcp on GitHub). It's free, read-only and labeled experimental. It runs locally and needs a Google Cloud project with the Analytics Admin and Data APIs turned on. Claude needs a remote server, so you'd have to host it yourself. Lemonado is already hosted: add one URL and sign in.
In Claude, open Customize → Connectors and check that Lemonado says Connected, then switch it on from the connectors menu in the chat. In Lemonado, check that Google Analytics is connected and External tools is on for the company. If numbers look low, check that you picked the GA4 property for the right site. GA4 can take a day or two to finish processing recent data.
Yes, if both are connected in Lemonado. One connection reaches every source you allow, so you can ask things like "Cost per GA4 conversion by channel, using Google Ads and Meta spend."
MCP is included in Lemonado's paid plans and in the free trial, so you can try it before you pay.
Still have a question?
Shoot us an email at hello@lemonado.io.
Try for freeStop fighting with data. Start feeding your AI.
Connect your data to AI and free your team from reporting and busywork.
Try Lemonado free