AdPlug
Guide · Google Analytics to ChatGPT

How to Connect Google Analytics to ChatGPT

To connect Google Analytics to ChatGPT, use AdPlug's remote MCP server: connect your GA4 properties in AdPlug with your Google login, add https://api.adplug.app/mcp/google-analytics to ChatGPT as a custom MCP server on a paid ChatGPT plan, and approve each change from its preview. I built AdPlug's Google Analytics connector so you can get the traffic and key events behind your ad spend without another export. There's no Google Analytics plugin in ChatGPT from Google or OpenAI, and Google's open-source Google Analytics MCP server only works in ChatGPT once you host it yourself.

Updated · 8 minute read

AdPlug's plug mascot standing its ground, holding the ChatGPT and Google Analytics logos on ropes as they try to fly off.

Add Google Analytics to ChatGPT

Connect Google Analytics in AdPlug first, then follow these steps in ChatGPT. Custom MCP servers need a paid ChatGPT plan, such as Plus.

  1. 1. Open Plugins in ChatGPT ↗, click Add, then Add custom MCP server.
  2. 2. Paste this as the name
    AdPlug - Google Analytics
  3. 3. Paste this as the Server URL
    https://api.adplug.app/mcp/google-analytics
  4. 4. Keep OAuth, tick I understand and want to continue, and click Create as a plugin. Then click Continue to AdPlug - Google Analytics, sign in to AdPlug if it asks, and click Approve.
  5. 5. In the plugin's Permissions, pick Allow read-only tools, so ChatGPT reads without asking but asks before every change.

01

What ChatGPT can do with your Google Analytics

Once it's connected, ChatGPT can tell you what happened after the click without you opening GA4. Ask how last week compares with the week before by channel, which paid landing pages convert below the site average, or why some traffic is Unassigned (GA4's label for sessions it couldn't match to a channel). ChatGPT answers from the live property, with GA4's own totals.

It can also run 16 ready-made analyses, build funnels and check whether your tracking can be trusted. Where your ChatGPT plan allows changes, it can prepare GA4 changes too, such as a new key event or an annotation, and apply them once you approve.

02

Is it safe to connect Google Analytics to ChatGPT?

Yes, as long as ChatGPT asks before each change, which it does with the plugin set to Allow read-only tools. Letting an AI near a client's tracking should make you a little nervous, so here's what keeps it in check:

AdPlug's guardrails when ChatGPT works on Google Analytics
GuardrailWhat it means for you
Google's own sign-inAdPlug never sees your Google password. Google verified AdPlug's app for Google Analytics access on 23 November 2026, and the sign-in token is stored encrypted.
Preview firstEvery change starts as a preview that shows what's there now and the exact request. You have 15 minutes to approve it, it can only run once, and AdPlug refuses it if the connected Google account changed in between.
ChatGPT asksSet the plugin to Allow read-only tools. Reports then run straight away, and ChatGPT asks before every change (changes also need a ChatGPT plan that runs write tools).
Off limitsAdPlug can't delete a property or a data stream, and it can't change who has access to a property.
View onlyAdPlug's free plan reads and previews but doesn't apply changes. On Max and Agency, the team owner sets each teammate to View only or Can edit.
Your dataReports pass through to ChatGPT and aren't stored. AdPlug caches property lists, settings and each property's dimensions and metrics for up to an hour, deletes a preview within two days, and logs which tool ran on which property and whether it worked. More in the privacy policy.
Off any timeDelete the plugin in ChatGPT to stop it calling AdPlug. Disconnect Google Analytics in AdPlug to delete the token and ask Google to revoke access, or remove AdPlug at myaccount.google.com/permissions.

03

Ways to connect Google Analytics to ChatGPT

ChatGPT has no Google Analytics plugin from Google or OpenAI. These are the routes that work, and what each one gets you:

Ways to connect Google Analytics to ChatGPT
RouteHow you add itWhat ChatGPT gets
AdPlug as a custom MCP server (this guide)Plugins, Add, Add custom MCP server, paste the Google Analytics addressLive GA4 reports, 16 analyses, funnels, a tracking audit and 46 kinds of change, each previewed first
Google's Google Analytics MCP serverHost it yourself, then add it as a custom MCP serverReports, funnels and realtime. Read-only by default, with three create tools you can switch on. Open source on GitHub
A CSV exportUpload it to a chatA snapshot of what you exported, with nothing live and no changes
OpenAI Ads Manager can also connect a GA4 property, but that imports GA4 data for ChatGPT ad attribution. It doesn't let you ask ChatGPT about your property.

A CSV is fine for a one-off question. Before AI assistants, I was a heavy Supermetrics user, pulling Google Sheets exports and building Looker Studio reports for clients, and back then I didn't find anything better. The catch with any export is the follow-up question: you go back for another export, where a live connection just answers it.

Already use the AdPlug plugin from ChatGPT's Plugin Directory for your ads? Keep it. It carries the ad platforms only, so Google Analytics gets its own custom MCP server next to it.

04

Which ChatGPT plans can do this

ChatGPT adds custom MCP servers as plugins, from Plugins on the web, and only on a paid plan such as Plus. On Business, only admins and owners can add one. On Enterprise and Edu, an admin can let selected members add one.

OpenAI's custom MCP help article lists full access, changes included, for Business, Enterprise and Edu, and read and fetch tools for Pro. So on Plus and Pro, count on reporting, and test one small change before you rely on more.

On ChatGPT's Free plan?

The same AdPlug connection works in Claude, and Claude's Free plan allows one custom connector. The Google Analytics to Claude guide covers that setup in five steps.

Open the Google Analytics to Claude guide →

05

How to connect Google Analytics to ChatGPT in 5 steps

It takes about five minutes to go from a new AdPlug account to ChatGPT answering questions about your GA4 property. Connect Google Analytics in AdPlug first, so ChatGPT has something to read as soon as you add the plugin.

  1. Create your AdPlug account

    Go to adplug.app/signup, sign in with Google or email, and follow the short onboarding. It ends on your AdPlug dashboard.

    AdPlug Create your account screen with a Continue with Google button and name, email and password fields.
    AdPlug sign-up. One click with Google, or an email and password.
  2. Connect Google Analytics to AdPlug

    In onboarding, or any time on the Connections page, click Connect Google Analytics and sign in with the Google account that opens your properties in Google Analytics. Every GA4 property that account can open becomes available to ChatGPT through the one connection.

    Google then asks you to let AdPlug “See and download your Google Analytics data” and “Edit Google Analytics management entities”. Leave both ticked. The first lets AdPlug read your data and the second lets it make the changes you approve, so without both, AdPlug refuses the connection and asks you to connect again. Allowing the second changes nothing by itself: AdPlug only makes a change from a preview you approve.

    The Google Analytics card on AdPlug's Connections page, with the line GA4 traffic, key events, funnels, tracking checks, marked Connected, the email hidden, the connection date 18/11/2026, and Reconnect and Disconnect buttons.
    Google Analytics connected on AdPlug's Connections page, with the date it was connected.

    Google Ads or Search Console already connected?

    Google Analytics has its own Google sign-in, even when it's the same Google account, so you can disconnect one without touching the others.

  3. Open Plugins in ChatGPT

    In ChatGPT on the web, open Plugins, click Add, then Add custom MCP server.

    ChatGPT's Plugins page with the Add menu open, offering Create plugin, Upload plugin archive and Add custom MCP server, with Add and Add custom MCP server highlighted.
    ChatGPT's Plugins page: Add, then Add custom MCP server.

    Which ChatGPT plans can do this

    Custom MCP servers need a paid ChatGPT plan, such as Plus. The Free plan can't add them, and on Business or Enterprise your workspace admin may have to allow them first.

  4. Add AdPlug as a plugin

    In the Add custom MCP server form, fill in:

    • Name: AdPlug - Google Analytics
    • Server URL: the address below
    • Authentication: leave as OAuth
    • Tick I understand and want to continue, then click Create as a plugin
    https://api.adplug.app/mcp/google-analytics
    ChatGPT's Add custom MCP server form with the name AdPlug - Google Analytics, the Server URL https://api.adplug.app/mcp/google-analytics, Authentication on OAuth, the I understand and want to continue box ticked and the Create as a plugin button, each marked with a label.
    The Add custom MCP server form with the Google Analytics name and address in place.

    ChatGPT then offers to connect the plugin. Click Continue to AdPlug - Google Analytics (older versions of ChatGPT say Connect), sign in to AdPlug if it asks (use the account you connected Google Analytics in), and click Approve.

    ChatGPT's window for the new AdPlug - Google Analytics plugin, with a Learn more link and the Continue to AdPlug - Google Analytics button outlined.
    Click Continue to AdPlug - Google Analytics.
    AdPlug's approval screen, Let ChatGPT use your AdPlug account, listing what ChatGPT will be able to do, then back to chatgpt.com, with Deny and Approve buttons above the badges GDPR compliant, DPA available, Verified by Google, LinkedIn Marketing Developer and Preview before every write.
    AdPlug's approval screen names ChatGPT. Approve to let it use your AdPlug connection.

    Before you ask for anything, set how ChatGPT asks. The plugin is now listed under Plugins. Open its settings, go to Permissions and pick Allow read-only tools: “Read without asking, but ask before making changes.” The default, Allow low-risk tools, may deny a change instead of asking.

    ChatGPT's plugin Permissions settings: Always ask, Allow read-only tools (selected: read without asking, but ask before making changes), Allow low-risk tools, marked Default, and Allow all tools, marked Elevated risk.
    The plugin's Permissions page in ChatGPT, set to Allow read-only tools.
  5. Test the connection

    Start a new chat, type @ and pick the AdPlug - Google Analytics plugin. Then ask:

    “List my Google Analytics properties.”

    ChatGPT calls the google_analytics_list_properties tool and lists every GA4 account and property your Google login can open, and whether you can edit each one. If your properties are there, you're connected.

    ChatGPT answering 'List my Google Analytics properties.' with the AdPlug - Google Analytics plugin attached: the connection marked Connected with read and write access, the account and property AdPlug Analytics, type Standard GA4 and Can edit Yes, with the IDs hidden.
    ChatGPT's reply to the test prompt on AdPlug's own GA4 property, with the IDs hidden.

06

The 10 Google Analytics tools ChatGPT can use through AdPlug

AdPlug gives ChatGPT 10 Google Analytics tools: 8 that read, 1 that previews a change and 1 that makes it once you approve. The Google Analytics MCP integration page sets out the 46 kinds of change and what AdPlug never touches.

AdPlug's Google Analytics tools in ChatGPT
ToolWhat it doesReads or changes
adplug_get_statusWhat's connected, and what your AdPlug plan allowsReads
google_analytics_list_propertiesEvery GA4 property your Google login can see, a 28-day comparison across up to 25 of them, or one property in detailReads
google_analytics_insights16 ready-made analyses, from an overview, channels and landing pages to Google Ads, key events, anomalies, ecommerce and AI assistant traffic, most of them against the period beforeReads
google_analytics_reportGA4 reports with your own metrics, dimensions, dates, filters and comparison, plus pivots and realtimeReads
google_analytics_metadataEvery dimension and metric the property can report on, custom ones included, and which ones work togetherReads
google_analytics_funnelA funnel like GA4's funnel exploration, open or closed: how many users reach each step and where they drop offReads
google_analytics_auditWhether the property's numbers can be trusted, with the fix for each problem it findsReads
google_analytics_settingsOne part of the property's setup: key events, Google Ads links, attribution, data retention, change history and moreReads
google_analytics_preview_mutationShows a change before it's made, next to what's there now: key events, custom definitions, audiences, channel groups, annotations, links and settingsPreviews a change
google_analytics_execute_mutationMakes a change you approved from its preview, onceMakes a change
You don't need the names. Ask ChatGPT for the job in plain words and it picks the tools.

07

What you can ask ChatGPT

These work as soon as Google Analytics is connected. Type @ and pick the plugin first, and name the property if your login opens more than one. There are more copy-paste prompts in the prompt playbooks.

What to fix first

“Review my Google Analytics over the last 30 days (ask which property if I have several): tracking I can't trust, key events gone quiet, channel shifts and landing pages that leak conversions. Come back with the top 5 things to fix, ranked by impact, and why each matters.”

Monday GA4 check

“Compare last week's GA4 with the week before by channel: sessions, key events and key event rate. What needs my attention, and is any drop real or a tracking problem?”

Landing pages that leak

“Which paid landing pages have a lower key event rate than my other paid pages? Rank them by key events missed and tell me why.”

Ads landing as Unassigned

“Which of my ad campaigns show up as Unassigned or (not set) in GA4? Show the tagging behind each and how to fix it.”

Traffic from AI assistants

“Is traffic from AI assistants like ChatGPT and Perplexity growing month on month, and does it bring key events? Which landing pages does it reach?”

Check, then mark a key event

“Check [your form submit event] is firing, then mark it as a key event counted once per session. Show me the preview first.”

08

How changes work

AdPlug covers 46 kinds of GA4 change in 11 groups, from key events, custom dimensions, audiences and channel groups to annotations, data retention and Google Ads links. The preview tool shows the change without making it: what's there now and the exact request. The execute tool applies it with the same values, and ChatGPT treats that as a write action.

I tested this on AdPlug's own GA4 property. Here's ChatGPT previewing an annotation for a Black Friday launch, marked Not applied until you approve it:

ChatGPT showing AdPlug's preview of a GA4 annotation, Black Friday campaigns launched, on the AdPlug Analytics property for 23 November 2026, marked Not applied, with the note that no changes have been made and the preview is valid for 15 minutes, above an Approve and create annotation button.
AdPlug's preview of a GA4 annotation in ChatGPT, marked Not applied, with the property ID hidden.

Whether ChatGPT asks first depends on the plugin's Permissions setting. Keep it on Always ask or Allow read-only tools, so every change waits for you. The default, Allow low-risk tools, may deny a change instead of asking, and Allow all tools doesn't ask at all, so don't pick that one on a property anyone relies on.

AdPlug's free plan previews changes but doesn't apply them, so applying needs a paid AdPlug plan. Every tool call is recorded in your AdPlug Usage and Audit Log.

09

Troubleshooting

Click any item to expand the answer.

I can't find Add custom MCP server
Open Plugins in ChatGPT on the web, click Add, then Add custom MCP server. If it isn't there, check your plan. Custom MCP servers need a paid ChatGPT plan, such as Plus. On Business, only admins and owners can add one, and on Enterprise and Edu an admin can let selected members add one.
AdPlug says a Google Analytics permission was unticked
Google's consent screen lets you untick each permission, and AdPlug needs both. Connect again and leave “See and download your Google Analytics data” and “Edit Google Analytics management entities” ticked.
Google says an admin has to approve AdPlug
On a Google Workspace account, the Workspace admin can block third-party apps. Ask them to allow AdPlug in the Admin console (Security, then Access and data control, then API controls), then connect again.
The connection shows no Google Analytics properties
The Google account you connected needs a role on at least one GA4 property. Open analytics.google.com with that account and check the property is there. If it isn't, reconnect on the Connections page with the Google account that has it.
ChatGPT doesn't use AdPlug in a chat
Type @ and pick the AdPlug - Google Analytics plugin again, or name it in the prompt: “Use AdPlug to list my Google Analytics properties.” If you also installed the AdPlug plugin from the directory, pick the one called AdPlug - Google Analytics, because the directory plugin carries your ad platforms only.
ChatGPT reads my data but won't run a change
It's usually one of four things. Your Google login needs a role that can edit the property. AdPlug's free plan previews changes but doesn't apply them. OpenAI's help centre lists write actions through custom MCP servers for Business, Enterprise and Edu, so a Plus or Pro account may be limited to reading. And on the default permission, Allow low-risk tools, ChatGPT may deny a change instead of asking, so set the plugin to Allow read-only tools. The same AdPlug account can also make changes from Claude.

10

Questions people ask

Can I connect ChatGPT to Google Analytics?
Yes. Connect Google Analytics in AdPlug with your Google login, then add https://api.adplug.app/mcp/google-analytics to ChatGPT as a custom MCP server on a paid ChatGPT plan, such as Plus. ChatGPT can then read your GA4 properties live, audit the tracking, build funnels and preview changes. With the plugin set to Allow read-only tools, ChatGPT asks before applying each one, where your plan runs write tools. There's no Google Cloud project or API key to set up.
Is there an official Google Analytics plugin in ChatGPT?
No. ChatGPT's Plugin Directory has no Google Analytics plugin from Google or OpenAI. Google's open-source Google Analytics MCP server runs on your own computer by default, so ChatGPT can only reach it if you host it yourself.
What is the Google Analytics 4 connection in OpenAI Ads Manager?
It's for advertisers running ads in ChatGPT. The GA4 connection, in beta in OpenAI Ads Manager, imports aggregate GA4 data, read-only and updated daily, to compare attribution for those ads. It doesn't let you ask ChatGPT questions about your GA4 property, which is what this guide sets up.
Does AdPlug's ChatGPT plugin include Google Analytics?
No. The AdPlug plugin in the directory carries your ad platforms. Google Analytics has its own connector, so you add it as a custom MCP server, next to the AdPlug plugin if you use both.
Which ChatGPT plans can add a custom MCP server?
You need a paid ChatGPT plan, such as Plus. The Free plan can't add custom MCP servers. On Business, only admins and owners can add one, and on Enterprise and Edu an admin can let selected members add one. OpenAI's help centre lists write actions on custom MCP servers for Business, Enterprise and Edu, so on Plus and Pro, count on reporting and test one small change before you rely on more.
Which Google Analytics tools does ChatGPT get?
10 tools through AdPlug: 8 that read, 1 that previews a change and 1 that makes it. The 8 cover your properties, 16 ready-made analyses, custom and realtime reports, the property's dimensions and metrics, funnels, a tracking audit, the property's settings and AdPlug's status check. You don't need the names: ask for the job in plain words and ChatGPT picks the tool.
Can I connect several clients' GA4 properties?
Yes, every property your Google login can open, through one connection. Ask for a portfolio view and AdPlug compares up to 25 properties' last 28 days with the 28 before. AdPlug connects one Google login for Google Analytics, so use the login your clients have added to their properties.
Does it work with Universal Analytics?
No, GA4 properties only. Google switched off Universal Analytics, including its reports and API, on 1 July 2024.
Can ChatGPT change my GA4 settings?
Yes, where your ChatGPT plan runs write tools, and on a paid AdPlug plan. AdPlug covers 46 kinds of change, such as key events, custom dimensions, audiences, channel groups, annotations and Google Ads links. Each one starts as a preview, and with the plugin set to Allow read-only tools, ChatGPT asks you before it applies anything. AdPlug can't delete a property or a data stream, or change who has access.
Why do ChatGPT's numbers differ from the GA4 interface?
Usually they don't, once the dates match. AdPlug reads dates in the property's own time zone, ends most date presets yesterday as GA4 does, and uses GA4's own totals, so users aren't counted twice. GA4 keeps processing for 24 to 48 hours, and the answer says so when a date range touches that window. Sampling, thresholding and (other) rows come back as notes with the numbers.
How do I see traffic from ChatGPT in GA4?
In GA4, open Reports, then Acquisition, then Traffic acquisition, change the dimension to Session source and search for chatgpt. Or ask ChatGPT through AdPlug: AdPlug's AI traffic analysis counts sessions and key events from ChatGPT, Perplexity, Claude, Gemini, Copilot and other assistants against the period before, then compares AI traffic as a whole with the whole site on engagement and key event rate. Some apps send no referrer, so treat it as a floor: part of that traffic still lands in Direct.
Is connecting ChatGPT to Google Analytics free?
Not completely. ChatGPT needs a paid plan, such as Plus, because its Free plan can't add custom MCP servers. On AdPlug's side, the free plan covers one platform, and Google Analytics can be that platform: view only, with 500 requests in the first 5 days and 50 a month after that. Applying changes starts on AdPlug Pro at $29 a month.
Does the same connector work in Claude, Grok Bot or Claude Code?
Yes. https://api.adplug.app/mcp/google-analytics is a standard MCP server, so the same AdPlug connection works in Claude, Claude Code, Grok Bot and other MCP clients.

Try it on your account.

Connect Google Analytics to ChatGPT through AdPlug in a few minutes. Free plan, no card needed.