
To connect Google Analytics 4 to Claude or ChatGPT, connect it in Datajar with a Google sign-in, tick the properties your AI may read, then add Datajar's URL, https://mcp.datajar.co/mcp, to your AI app. It takes about five minutes, needs no code, and Datajar only reads your Google Analytics data. It never changes it.
5-minute read. Every screenshot below is the real Datajar app with sample data.
Prefer a video? Watch Connect Google Analytics 4 to Datajar on YouTube.
What do you need before you start?
- A Datajar account. Sign up at mcp.datajar.co. No card is needed to start.
- A paid Datajar plan. Google Analytics 4 is on every paid plan, from Freelancer up, and not on Free. See the plans on mcp.datajar.co/pricing.
- A Google account that can see your GA4 property. Any role that can view reports works, Viewer included.
- An AI app. Claude on any plan, Free included, or ChatGPT on the web with a Business, Enterprise or Edu plan. ChatGPT Pro can add Datajar with read access only, which covers Google Analytics.
How do you connect Google Analytics 4 to Datajar?
Step 1. Sign in at mcp.datajar.co and click Connections in the left menu.
Step 2. Scroll to Analytics and click Connect on the Google Analytics 4 card.

Step 3. A panel opens on the right. If your account has Teams, Datajar asks Who can use this connection? Pick Team to share it with your team and their AI, or Only me to keep it to yourself. Without Teams you skip this step.
Step 4. Click Connect Google Analytics 4. Google opens in a new tab.

Step 5. On Google's screen, choose the Google account that can see your GA4 property. Google asks you to allow access to see and download your Google Analytics data. Click Continue (or Allow). This is read-only access. Google then sends you back to Datajar.
Step 6. Back in Datajar, the panel moves to Choose accounts and lists every GA4 property your Google account can read (Datajar calls them accounts), each with its ID. Tick the properties your AI may use.
Step 7. Click Save selection.

The card now shows Connected. The Try asking box gives you a first question to copy into your AI. You can come back to this page at any time to tick more properties or untick one.

How do you add Datajar to Claude?
The fastest way: open Get started in Datajar and click Add to Claude. It opens claude.ai with Datajar's name and URL filled in. Confirm, then sign in to Datajar.

To add it by hand in claude.ai or Claude Desktop, follow these steps. The menu names come from Claude's help page on custom connectors (read on 5 December 2026).

- Open Customize, then Connectors.
- Click Add, then Add custom connector.
- Paste
https://mcp.datajar.co/mcpand click Continue. - Check that the name is Datajar, keep OAuth as the sign-in method, and click Add.
- Sign in to Datajar with the same account that holds your Google Analytics connection.
- In a chat, open the + menu, choose Connectors and turn Datajar on.
On the Free plan Claude allows one custom connector. On Team and Enterprise plans, an Owner adds Datajar once in Organization settings, Connectors, and each member then clicks Connect.
How do you add Datajar to ChatGPT?
In Datajar's Get started page, click Connect to ChatGPT. It copies your Datajar link and opens ChatGPT's Plugins page.

Then follow these steps from OpenAI's help page on MCP apps in ChatGPT (read on 5 December 2026):

- Open Plugins in ChatGPT on the web.
- Click the plus button, then Add custom MCP server.
- Name it Datajar and paste
https://mcp.datajar.co/mcpas the connection. - Choose OAuth as the sign-in method.
- Read the risk warning, tick I understand and want to continue, then click Create as a plugin.
- Sign in to Datajar.
- In a new chat, type @ and pick Datajar.
On ChatGPT Business, only an admin or owner can create the plugin for the company account. Custom MCP servers work on ChatGPT on the web, not in the mobile app.
What can you ask about your Google Analytics data?
Datajar runs a Google Analytics report for each question: up to 6 numbers (sessions, users, revenue, purchases, add-to-carts and more) split by up to 4 things (channel, landing page, device, country, campaign, product, date and more), over any range up to 366 days. Try these:
Which channels brought me the most purchases and revenue in the last 30 days, according to GA4?
Show my 10 top landing pages last month by sessions, with key events and engagement rate.
Compare mobile and desktop for the last 28 days: sessions, add-to-carts, checkouts and purchases.
Which countries sent the most new users in November, and how much revenue did each bring?
Which products earned the most item revenue in the last 30 days?
Plot daily sessions on the UK site property for the last 90 days.
Your AI turns the rows into a table, a chart or a short answer. When Google holds back rows for privacy (data thresholding) or samples a report, the answer says so.
Google Analytics also feeds other Datajar answers. With an ad account connected too, your AI can put each campaign's spend next to the revenue Google Analytics measured (ROAS per campaign, on the Commerce, Agency and Enterprise plans). Yesterday's visits also appear in Datajar's daily email.
What if something goes wrong?
- "Google Analytics 4 is not on your Free plan." Google Analytics needs a paid Datajar plan. Pick one in Plans & billing, then connect again.
- "Connection cancelled" or "Connection refused". The Google screen was closed or access was not granted. Click Connect again and allow access to your Google Analytics data. Nothing was saved, so you can retry at once.
- No properties to tick. The Google account you signed in with cannot see any GA4 property. Ask a property administrator to add your Google account (in Google Analytics: Admin, then Property access management; the Viewer role is enough), then reconnect. Older Universal Analytics properties do not appear.
- "Your Google Analytics 4 connection has no account selected yet." Open the Google Analytics 4 card in Connections, tick at least one property and click Save selection.
- "You have several Google Analytics 4 accounts connected." Name the property in your question, for example "on the Web store property".
- "Google Analytics 4 is limiting requests." Google caps how many reports each property can run per hour and per day. Wait the time the message gives, then ask again.
Connect Google Analytics 4 today
Your GA4 data is a sign-in away from your AI chat. Start free on Datajar, add a paid plan when you connect Google Analytics, and ask your first question in five minutes.
More guides:
- Google Analytics 4 on Datajar: what your AI can read
- How Datajar works with Claude, ChatGPT, Claude Code and Codex
- GA4 reports or AI: the best way to analyse Shopify data
- Meta Ads MCP: Meta's server and what to add
- Google Ads MCP: what Google's server does and what to add
More connection guides
Ads
- How to connect Meta Ads to Claude and ChatGPT using Datajar
- How to connect Google Ads to Claude and ChatGPT using Datajar
- How to connect TikTok Ads to Claude and ChatGPT using Datajar
- How to connect Snapchat Ads to Claude and ChatGPT using Datajar
- How to connect LinkedIn Ads to Claude and ChatGPT using Datajar
- How to connect Apple Ads to Claude and ChatGPT using Datajar (coming soon)
Social and messaging
- How to connect Facebook & Instagram to Claude and ChatGPT using Datajar
- How to connect X to Claude and ChatGPT using Datajar
- How to connect TikTok (organic) to Claude and ChatGPT using Datajar
- How to connect LinkedIn Pages to Claude and ChatGPT using Datajar (coming soon)
- How to connect WhatsApp to Claude and ChatGPT using Datajar (coming soon)
Stores and payments
- How to connect Shopify to Claude and ChatGPT using Datajar
- How to connect Salla to Claude and ChatGPT using Datajar
- How to connect SumUp to Claude and ChatGPT using Datajar
- How to connect WooCommerce to Claude and ChatGPT using Datajar (coming soon)
- How to connect Shopware to Claude and ChatGPT using Datajar (coming soon)
- How to connect Zid to Claude and ChatGPT using Datajar (coming soon)
Analytics, search and sheets
- How to connect Google Search Console to Claude and ChatGPT using Datajar
- How to connect Google Business Profile to Claude and ChatGPT using Datajar (coming soon)
- How to connect Google Sheets to Claude and ChatGPT using Datajar
- How to connect Mixpanel to Claude and ChatGPT using Datajar
- How to connect Adjust to Claude and ChatGPT using Datajar
- How to connect AppsFlyer to Claude and ChatGPT using Datajar
Business tools
Questions
Can Datajar change my Google Analytics settings or data?
No. Datajar asks Google for read-only access to Google Analytics and only runs reports. It cannot change properties, events, conversions or settings.
Which Google Analytics role do I need?
Any role that lets you see the property's reports, Viewer included. Datajar lists every GA4 property your Google account can read, and you tick the ones your AI may use.
Which Datajar plan includes Google Analytics 4?
Every paid Datajar plan, from Freelancer up. It is not on the Free plan. The plans are listed at mcp.datajar.co/pricing.
Does it work with ChatGPT Plus or the free ChatGPT plan?
OpenAI lets you add a custom MCP server on ChatGPT Business, Enterprise and Edu, and on Pro with read and fetch access only, which is enough for Google Analytics because Datajar only reads it. Plus and Free are not covered on OpenAI's help page (5 December 2026). Claude works on every plan, Free included.
Can I connect more than one GA4 property?
Yes. Tick every property you want on the Choose accounts step. An agency that sees several client properties from one Google account can tick each client's property. When several are connected, name the property in your question, for example "on the UK site property".


