By Ira Bodnar, Ryze AI · Updated
Quick answer
To connect ChatGPT to Google Analytics, connect GA4 in a Ryze AI workspace with your Google sign-in, then add https://connector.get-ryze.ai/mcp as a custom MCP server in ChatGPT Plugins using OAuth, and start a new conversation. ChatGPT has no built-in Google Analytics connector that this page could verify, so the MCP server is the route.
- In Ryze AI open Integrations, find Google Analytics 4 and click Connect
- Sign in to Google, approve access and save the Property for the workspace
- In ChatGPT open Plugins, add a custom MCP server and paste the URL
- Choose OAuth, sign in to Ryze AI, allow the workspace, then type @ in a new chat
Before you start
- A ChatGPT plan that allows custom MCP servers. OpenAI's help article says custom MCP server connections and full MCP support are available for ChatGPT Business and Enterprise/Edu customers on ChatGPT web. Pro users can connect custom MCP servers with read and fetch permissions only, which is enough here because every GA4 tool reads data. The article does not mention Free, Go or Plus. On Business, only admins and owners can create and publish the plugin; members cannot add it themselves.
- Viewer access or higher on a GA4 property. The Google login you connect needs at least Viewer on the property. Ryze AI asks for the read-only Google Analytics scope (analytics.readonly) and basic profile scopes, so keep every requested permission checked on the Google screen. Universal Analytics is not supported.
- A Ryze AI workspace on a plan or free trial. Paid Ads is $89 per month with a 7-day free trial; Agency ($279 per month) and SEO Starter ($129 per month, 3-day free trial) also include the GA4 tools. Connecting is free. Without a plan, the connector can only list workspaces and connect platforms.
How to connect ChatGPT to Google Analytics 4
Two steps happen in Ryze AI and Google, four in ChatGPT. The connector URL is the same for every user.
Connect Google Analytics 4 in Ryze AI
Create a Ryze AI account or sign in, open Integrations in the left sidebar and find Google Analytics 4 under Analytics. Click Connect, sign in to Google and approve access, keeping every requested permission checked.
Save the GA4 property
Back in Ryze AI, pick the Property for this workspace (listed as account and property) and click Save. Until a Property is saved the card shows Require setup.
Add a custom MCP server in ChatGPT
In ChatGPT web open Plugins (chatgpt.com/plugins). Developer Mode does not need to be turned on first, though account and workspace policies still apply. Select the plus button, then Add custom MCP server. Enter the name Ryze AI, optionally a description, and under Connection enter https://connector.get-ryze.ai/mcp.
Choose OAuth and create the plugin
Under authentication choose OAuth. Review the risk warning and select I understand and want to continue, then select Create as a plugin and review the tools ChatGPT discovered.
Sign in to Ryze AI and allow the workspace
Complete the Ryze AI sign-in when ChatGPT asks, choose the workspace that holds your GA4 connection and click Allow connection. One connection can cover up to 20 workspaces.
Install the plugin and ask your first question
Install the plugin, start a new conversation, type @ and select Ryze AI. Then ask: Which ChatGPT and Perplexity landing pages received sessions in the last 30 days, with conversions?
The Ryze AI help article for Google Analytics 4 covers the Google side of the connection, and the Ryze AI ChatGPT guide covers the ChatGPT side. OpenAI documents the flow in Connecting custom MCP servers in ChatGPT.
Older custom app flow
Some accounts still show the older custom app flow, which is how the Ryze AI help center describes it. The steps are:
- Open Settings, Apps, Advanced settings and turn on Developer mode.
- Click Create app.
- Set Name to Ryze AI, MCP server URL to https://connector.get-ryze.ai/mcp (keep Server URL, not Tunnel) and Authentication to OAuth.
- Tick I understand and want to continue, then click Create.
- Click Sign in with Ryze AI, log in, choose workspaces and click Allow connection.
- Start a new chat.
Custom MCP servers cannot be connected on mobile, per OpenAI. Set the connection up on ChatGPT web.
Business and Enterprise/Edu publishing
On Business and Enterprise/Edu, an admin or owner connects and tests Ryze AI first. To publish it for the workspace, go to Admin Console, select the workspace, then Plugins, Manage Legacy Apps, Drafts and Publish, and review the safety warnings. Enterprise/Edu admins can use Configure Actions and Configure Access before publishing. Members then find published apps under Settings, Plugins.
Claude and Cursor
The same URL works in other MCP clients. GA4 is connected once in Ryze AI, so nothing changes on the Google side.
Claude
Anthropic lists custom connectors on every Claude plan. Open Customize, Connectors, Add custom connector, paste the URL and click Connect. The Ryze AI guide for Claude covers it in full.
Cursor
Add the server to .cursor/mcp.json with the entry below.
{ "mcpServers": { "ryze": { "url": "https://connector.get-ryze.ai/mcp" } } }Google permissions and scopes
The Google side of the connection is a standard Google OAuth sign-in. Three things decide what ChatGPT can see.
- Read-only scope
- Ryze AI requests analytics.readonly plus basic profile scopes. Nothing in the GA4 tools writes to Google Analytics, so ChatGPT cannot create or change properties, key events or audiences.
- Which properties
- The agent sees the accounts and properties the connected Google login can access, and the login needs at least Viewer. After connecting you pick a Property for the workspace; other properties stay reachable by naming them in chat.
- Which workspaces
- At the Ryze AI Allow connection screen you choose which workspaces ChatGPT may use. Use one workspace per business and a separate workspace per client.
Scopes requested
Ryze AI's help center describes the access like this. The Google consent screen is the source of truth for the exact list.
| Access | Google scope |
|---|---|
| Read GA4 reports and settings | analytics.readonly |
| Identify the signed-in Google user | openid, email, profile (basic profile scopes) |
Source: Ryze AI Google Analytics 4 integration.
Removing access
To remove access, disconnect Google Analytics 4 on its card in Ryze AI, or revoke Ryze AI under your Google Account's third-party access. In ChatGPT, delete the Ryze AI plugin (or app) you created.
What ChatGPT can do in Google Analytics 4
The Ryze AI connector exposes 9 Google Analytics 4 tools. All 9 are read tools.
| Tool | Type | What it does |
|---|---|---|
| google_analytics__listAccountSummaries | Read | Lists the GA4 accounts and properties the connected Google login can access, so the agent can find property IDs. |
| google_analytics__runRawReport | Read | Runs a GA4 Data API runReport with chosen dimensions, metrics, named date ranges, filters and ordering, and pages through the results. |
| google_analytics__runPivotReport | Read | Runs a GA4 Data API pivot-table report. |
| google_analytics__runRealtimeReport | Read | Runs a GA4 Data API realtime report covering the last 30 minutes. |
| google_analytics__runAdminRead | Read | Reads a GA4 Admin API resource such as key events, custom dimensions or audiences. It is GET only and cannot write. |
| google_analytics__getAiTrafficByEngine | Read | Returns traffic from AI referrers grouped by source engine and compared with a prior period, for one GA4 property. |
| google_analytics__getAiTrafficDaily | Read | Returns daily traffic from AI referrers such as ChatGPT and Perplexity for one GA4 property. |
| google_analytics__getAiLandingPages | Read | Lists the top landing pages that receive AI-referred traffic, up to 200 rows. |
| google_analytics__getAIReferrals | Read | Lists AI referral sources with their sessions and conversions. |
All 9 tools only read, so the connector does not change anything in GA4. ChatGPT may still ask for confirmation based on app permissions and context. Pro accounts are limited to read and fetch actions, which covers these tools.
First 3 prompts to run
GA4 reports visits that arrive from AI assistants. It does not measure whether an assistant mentions your brand. Revenue shows as zero unless ecommerce tracking and purchase events are set up in GA4, and GA4 and Shopify numbers will not match exactly because they attribute sessions and conversions differently.
1. Which AI engines send visits
For my GA4 property, show traffic from AI referrers by source engine for the last 30 days compared with the prior 30 days.
Tools used: listAccountSummaries, getAiTrafficByEngine
What comes back: A table of AI engines with their sessions in each period and the change between them, based on your own property.
2. Landing pages that AI visitors reach
List the top landing pages that receive AI-referred traffic, and show the AI referral sources with their sessions and conversions.
Tools used: getAiLandingPages, getAIReferrals
What comes back: Up to 200 landing pages with AI-referred traffic, plus each AI referral source with sessions and conversions.
3. Channel conversions across date ranges
Run a GA4 report of sessions, key events and revenue by default channel group for last month and the month before, and list which key events are configured in the property.
Tools used: runRawReport, runAdminRead
What comes back: One report with both date ranges side by side by channel, and the list of key events read from the GA4 Admin API.
Each answer comes from your own property, so this page describes what comes back instead of showing sample numbers.
Ryze AI vs Google's own Analytics MCP server
Google publishes its own open source Google Analytics MCP server. It differs from the Ryze AI connector in where it runs and how ChatGPT reaches it.
| Option | Setup | GA4 coverage | Reaching ChatGPT |
|---|---|---|---|
| Ryze AI connector | GA4 sign-in inside Ryze AI, then one custom MCP server URL in ChatGPT Plugins with OAuth | 9 read tools: reports, pivot, realtime, Admin API reads, account summaries and 4 AI-traffic reports | Public URL https://connector.get-ryze.ai/mcp, no hosting on your side |
| Google Analytics MCP server (googleanalytics/google-analytics-mcp) | Run it yourself with pipx and Application Default Credentials, with the Admin and Data APIs enabled in a Google Cloud project | Account and property tools, core reporting and one realtime tool. Read-only by default; write tools need the analytics.edit scope and an --allow-write flag | Its README documents a local server and Gemini setup and does not mention ChatGPT. It also has an HTTP transport mode for hosting yourself, which ChatGPT would need because it requires a public URL |
If you already run Google Cloud projects and want to host the server yourself, Google's server is a fit. If you want ChatGPT connected with a sign-in and no hosting, the Ryze AI connector is the shorter path, and it adds reports for AI-referred traffic.
Sources: google-analytics-mcp on GitHub, Data API quotas, OpenAI custom MCP servers, Ryze AI Google Analytics 4 integration. Checked November 9, 2026.
GA4 errors and fixes
- The plugin option is missing in ChatGPT
- Custom MCP servers are available on Business and Enterprise/Edu, and Pro with read and fetch only. On Business, only admins and owners can create the plugin. Ask your admin, or check your plan.
- The card shows Require setup
- No Property is saved for the workspace. Open the Google Analytics 4 card in Ryze AI, pick the account and property and click Save.
- GA4 tools do not appear in ChatGPT
- ChatGPT keeps the tool list from when you added the connector. If GA4 was connected afterwards, open the server in Plugins and select Refresh, or remove the app, install it again and start a new chat, as the Ryze AI help center advises. On Business or Enterprise/Edu, an admin must refresh and publish an update.
- No properties are listed
- The connected Google login needs at least Viewer on a GA4 property. Only GA4 properties work, not Universal Analytics.
- Revenue is zero
- GA4 reports revenue only when ecommerce tracking and purchase events are set up in the property.
- Realtime numbers look short
- Realtime reports cover only the last 30 minutes.
- ChatGPT says a subscription is required
- The GA4 tools need an active Ryze AI plan or free trial. Start the trial, then retry.
- Reports fail with a quota error
- Google limits Data API usage per property. For a standard property Google lists 200,000 tokens per day, 40,000 per hour and 10 concurrent requests. Narrow the date range or dimensions and try again.
- ChatGPT on mobile cannot add the server
- OpenAI does not allow custom MCP servers on mobile. Use ChatGPT web.
Frequently asked questions
How do I connect ChatGPT to Google Analytics?
Connect Google Analytics 4 in a Ryze AI workspace: open Integrations, click Connect on Google Analytics 4, sign in to Google and save the Property. Then in ChatGPT open Plugins, add a custom MCP server named Ryze AI with the URL https://connector.get-ryze.ai/mcp, choose OAuth, sign in, allow the workspace and start a new conversation.
Is there an official ChatGPT Google Analytics connector?
This page could not verify a built-in Google Analytics connector in ChatGPT. Google publishes an open source Google Analytics MCP server that you run yourself, and its README documents Gemini setup rather than ChatGPT. The Ryze AI connector gives ChatGPT a hosted URL instead.
Which ChatGPT plan do I need?
OpenAI says custom MCP server connections and full MCP support are available for ChatGPT Business and Enterprise/Edu on web. Pro users can connect custom MCP servers with read and fetch permissions only. OpenAI's article does not mention Free, Go or Plus.
Can ChatGPT change anything in my Google Analytics?
No. All 9 Ryze AI GA4 tools are read tools, and the Admin API tool is GET only. The Google scope is analytics.readonly, so ChatGPT cannot create or edit properties, key events or audiences.
What GA4 access does the Google login need?
At least Viewer on a GA4 property. Keep every requested permission checked on the Google screen, then pick the Property in Ryze AI. Universal Analytics is not supported.
Which should I use, Google's server or the Ryze AI connector?
Ryze AI is the best way to connect ChatGPT to Google Analytics 4 for AI-referral reports, but it is read-only and needs a ChatGPT plan that allows custom MCP servers. Google's own server suits teams that want to host it themselves in Google Cloud.
Can ChatGPT report on traffic coming from ChatGPT itself?
Yes. getAiTrafficByEngine, getAiTrafficDaily, getAiLandingPages and getAIReferrals report visits from AI referrers such as ChatGPT and Perplexity. GA4 shows the visits that arrive, not whether an assistant mentions your brand.
Can I use more than one GA4 property or account?
Yes. Several Google logins can be connected to one workspace with Add one more account, each with its own Property. The starred one is the primary the agent uses by default, and other properties can be named in chat. For separate clients, use one Ryze AI workspace per client.
Does it work in the ChatGPT mobile app?
You cannot add the server on mobile, because OpenAI does not support custom MCP servers there. Set it up on ChatGPT web.
Why do the GA4 tools not show up in ChatGPT?
ChatGPT keeps the tool list from when the server was added. Open the server in Plugins and select Refresh, or remove the app, install it again and start a new chat. On Business and Enterprise/Edu an admin must refresh and publish an update.
How much does it cost?
Connecting costs nothing, but the GA4 tools need an active Ryze AI plan or free trial. Paid Ads is $89 per month with a 7-day free trial, Agency is $279 per month, and SEO Starter is $129 per month with a 3-day free trial. Annual billing takes 30% off the first year.
How do I disconnect Google Analytics from ChatGPT?
Delete the Ryze AI plugin or app in ChatGPT, and disconnect Google Analytics 4 on its card in Ryze AI. You can also revoke Ryze AI in your Google Account.