calendar Last updated: 18 November 2026
ga4 to chatgpt windsor mcp
Data integration
Data Pipelines
Google Analytics
Google Analytics 4
How to's

How to Connect GA4 to ChatGPT Automatically (2 Steps, No Code)

Try It Free

Connect your data in 1 min. Free forever plan

Got insights from this post? Give it a boost by sharing with others!

Connect Google Analytics 4 (GA4) to ChatGPT with the Windsor.ai plugin and you can ask about traffic, landing pages and key events in plain language. You don’t need to build an Exploration or export a report first. Windsor.ai reads your GA4 property through the GA4 Data API.

🚀 Connect GA4 to ChatGPT with Windsor.ai. Start free → onboard.windsor.ai/app/googleanalytics4

Once GA4 is connected, you can ask questions such as:

  • Which landing pages get paid traffic but no key events?
  • Where do users drop off in the checkout funnel, and is it different on mobile?
  • Which source/medium rows bring many sessions with almost no engagement time?
  • Which channels bring returning users, and which bring one-time visitors?
  • How did traffic and the key event rate change after the latest site update?

Is there an official Google Analytics app for ChatGPT?

No. Google has not published a GA4 plugin in ChatGPT. Google publishes its own MCP server for GA4, but its setup guide covers Claude Desktop, Claude Code, Cursor and Antigravity, not ChatGPT. Each route below works with ChatGPT, with a note on when it fits.

  • Windsor.ai plugin: reads your GA4 property with 482 fields, including key events and custom events. Use it for ongoing questions, or to ask about GA4 together with Google Ads, Search Console or other sources in one chat. The steps below cover this route.
  • Google Analytics 4 by Windsor plugin: a separate, read-only Windsor.ai plugin for GA4 data only. It does not include ad cost data. It fits if GA4 is the only source you want in ChatGPT.
  • Google’s Analytics MCP server: free and open source. You run it on your own computer, or host it yourself (for example on Google Cloud Run), with a Google Cloud project, the Analytics APIs and your own credentials. To use it in ChatGPT, host it with a public HTTPS endpoint, or connect the local server through OpenAI’s Secure MCP Tunnel, and add it in Plugins as a custom MCP server. Custom MCP servers need ChatGPT Business, Enterprise or Edu, or ChatGPT Pro with read-only tools (OpenAI’s help article). Its tools read reports by default. Write tools (annotations, custom dimensions and key events) need the --allow-write flag, which only the GitHub README documents. See Google’s developer page and the GitHub repository. It fits developers who want Google’s own code. Our Google Analytics MCP guide has the setup.
  • Other plugins: other vendors also list GA4 plugins in the ChatGPT plugin directory. Compare the fields, the other sources they carry and the price before you choose.
  • CSV export: export a GA4 report or Exploration and upload the file to a chat. It fits one question about a fixed period. The file does not update, and a different cut of the data needs a new export.
  • Google Sheets or BigQuery: send GA4 data to a sheet or a warehouse table on a schedule with Windsor.ai (GA4 to Google Sheets, GA4 to BigQuery). Analyze that copy in a dashboard, or in ChatGPT by connecting the sheet or table to Windsor.ai as a source. It fits shared reports that keep their own history.
  • GA4 Data API and your own script: build your own connection to the GA4 Data API. It gives full control but needs engineering work and upkeep.

Steps to connect GA4 to ChatGPT with Windsor.ai

Connecting GA4 to ChatGPT takes two steps and no code. Step 1 connects GA4 to Windsor.ai, and step 2 adds the Windsor.ai plugin in ChatGPT.

Windsor.ai’s documentation has the ChatGPT setup too: how to add Windsor.ai to ChatGPT.

Prerequisites

Before you connect GA4 to ChatGPT, make sure you have:

  • A Windsor.ai account: the free forever plan (no credit card) lets you test several sources free for the first 30 days. After that, it keeps 1 data source and 1 account with 30 days of history. Paid plans start at $19/month (billed annually) for 3 sources. See pricing.
  • Access to a GA4 property: the Viewer role is enough.
  • A ChatGPT account: we used ChatGPT’s Free plan for the steps on this page.

Step 1. Connect GA4 to Windsor.ai

Go to onboard.windsor.ai/app/googleanalytics4 and select Google Analytics 4 as your data source.

Sign in with the Google account that has access to your GA4 property and approve the connection. Then select the properties you want to analyze in ChatGPT.

💡 Pro tip: if you manage several GA4 properties (regions, brands, or a staging and a production site), connect each one to Windsor.ai and compare them in the same chat. After the first 30 days, more than one property needs a paid plan.

connect google analytics 4

Step 2. Add the Windsor.ai plugin in ChatGPT

Open the Windsor.ai plugin page in ChatGPT and select Install plugin. You can also select Plugins in the ChatGPT sidebar and search for Windsor.ai. Then sign in to Windsor.ai to give ChatGPT access to your account.

Windsor.ai plugin page in ChatGPT with the Install plugin button

ChatGPT now calls these plugins. Older guides that say “apps” or “connectors” describe the same thing. Pick the plugin named Windsor.ai (not the GA4-only one), which reads every source you connect in Windsor.ai. To remove the plugin later, open Settings, then Plugins, select Windsor.ai and select Uninstall.

Start a chat and check the connection with a quick test prompt:

List the data sources connected to my Windsor.ai account.
Do you see Google Analytics 4 there?

When ChatGPT lists your GA4 property, you can start asking about traffic, user behavior and key events.

If ChatGPT answers without your GA4 data in a new chat, choose the plugin in that chat: select + and choose Windsor.ai, or type @Windsor.ai.

Example: two weeks of our GA4 traffic compared in ChatGPT

For our windsor.ai GA4 property, we asked ChatGPT through the Windsor.ai plugin: “Compare 18 to 31 October 2026 with 4 to 17 October 2026 by session default channel group: percentage change in sessions, and the change in engagement rate and session key event rate in percentage points. Show only the changes, no session counts and no share of sessions. Which channels changed most?”

ChatGPT comparing two weeks of GA4 traffic by channel with Windsor.ai: change in sessions, engagement rate and key events per session

ChatGPT answered with a table. We checked its session changes against the same two periods pulled from Windsor.ai directly, and they matched.

Among channels with more than 1,000 sessions in both periods, Unassigned sessions rose 16.72%, Referral 14.46%, Direct 8.49%, AI Assistant 8.05% and Organic Search 4.46%. Paid Search sessions fell 20.48%. Of these channels, AI Assistant gained most in engagement rate (+4.13 points) and key events per session (+1.59 points). ChatGPT listed the small channels too, such as Cross-network at +92.12%, and said their volumes are too small to draw conclusions from.

The summary under the table named Mobile Push Notifications as the largest engagement gain (+5.13 points) and left out Paid Social (+17.14 points on a few sessions). Read the table before you quote a line from the summary.

Example: a landing page audit of our GA4 property in ChatGPT

The landing page audit in this example ran on our windsor.ai GA4 property for 19 October to 17 November 2026. We chose Windsor.ai from the + menu in ChatGPT and sent this prompt:

For our GA4 property "ga4 windsor.ai 2", from 19 October to 17 November 2026: for all landing pages with more than 200 sessions, show landing page, sessions, engaged sessions, engagement rate, average engagement time per session (seconds), key events and session key event rate. Sort by sessions, highest first. Flag any landing page where engagement rate is below 40%, average engagement time is under 15 seconds, or session key event rate is more than 50% below the site average.

For the 5 landing pages with the lowest engagement rate:
1. What is their main session default channel group?
2. Does the low engagement come from the page, or from the traffic sent to it?

What ChatGPT found in our landing pages

ChatGPT returned 110 landing pages with more than 200 sessions, the same count as a direct Windsor.ai pull. Its largest flag was (not set), with 234,548 sessions and a 5.55% engagement rate. ChatGPT called this a measurement problem, not a page problem, because GA4 recorded no entry page for those sessions. It suggested checking referral setup, redirects, consent and tagging before changing content.

For /instagram-followers-tracking-dashboard (39.06% engagement rate), 85% of the page’s 361 sessions came from Organic Search. ChatGPT put the low engagement down to the page or the search intent, since visitors may expect a working follower tracker. Every page and channel figure in the answer matched Windsor.ai’s data.

ChatGPT listing the five GA4 landing pages it ranked lowest on engagement rate, with each page’s main channel, using Windsor.ai

Three mistakes in ChatGPT’s landing page audit

We checked ChatGPT’s landing page audit against the same property and dates pulled from Windsor.ai and found three mistakes:

  • The five weakest pages: ChatGPT left out /app/data-preview, the second lowest at 35.82%, although its own table flagged that page. It listed /app/x_organic (44.49%) instead.
  • The site average: ChatGPT worked out the site-wide session key event rate from its channel totals (19.17%) and flagged pages below 9.59%. The property total is 21.82%, which puts the cutoff at 10.91%, so pages such as /app/facebook_organic (10.43%) went unflagged. So did /app/google_ads (9.46%), below ChatGPT’s own cutoff.
  • The sort order: the lower rows were not strictly sorted by sessions. ChatGPT said so in a note under the table.

What to check in your own landing page audit

The landing page audit’s mistakes were in the selection and the benchmark, not in the figures. Check the ranking and any average ChatGPT calculates itself, or ask it to pull the site total from GA4 instead of adding up rows.

How we ran both examples: both ran in ChatGPT with the Windsor.ai plugin on our windsor.ai GA4 property. The landing page audit ran on 18 November 2026. We checked both examples’ figures against a direct Windsor.ai pull, on 17 November 2026 for the two-week comparison and 18 November 2026 for the audit.

What GA4 data Windsor.ai makes available in ChatGPT

Windsor.ai connects to the GA4 Data API and gives ChatGPT access to 482 GA4 data fields. The main data types are:

  • Sessions and traffic: sessions, engaged sessions, engagement rate, and sessions by channel and source/medium.
  • Users: active users, new and returning users, sessions per user.
  • Acquisition: session default channel group, source, medium and campaign (Google Ads campaign names and your utm_campaign values).
  • Pages and screens: views, landing page, page path and title, and scrolled users (users who reached 90% of the page).
  • Events: every event in your property with its event count, standard and custom events alike.
  • Key events: key event counts, session key event rate and user key event rate, by channel and page.
  • E-commerce: purchases, purchase revenue, transactions, items viewed, add to carts and checkouts, for properties with GA4 e-commerce tracking.
  • Device and geography: device category, operating system, browser, country, region and city.
  • Organic Google Search: clicks, impressions, click-through rate and average position from Search Console, for properties with an active Search Console link.
  • Site search terms: what users searched for on your own site. Google search queries come from Search Console through the Search Console connector.

Key Google Analytics 4 metrics and dimensions you can use in ChatGPT

The GA4 field names below are the ones Windsor.ai uses. You can name them in a prompt, or describe the metric in plain words.

1. Acquisition and traffic source

GA4’s acquisition fields show how users found your website or app.

  • Dimensions: session_default_channel_group, session_source_medium, source, medium, campaign, first_user_source, landing_page.
  • Metrics: sessions, newusers, active_users, totalusers.
  • Search Console metrics (active Search Console link needed): organic_google_search_clicks, organic_google_search_impressions, organic_google_search_click_through_rate, organic_google_search_average_position.

2. User engagement and behavior

GA4’s engagement fields show what users do once they arrive and how long they stay.

  • Dimensions: page_path, pagetitle, event_name, hostname, devicecategory, browser, operating_system, new_vs_returning.
  • Metrics: engagement_rate, bounce_rate, average_session_duration, engaged_sessions, screen_page_views, scrolled_users, user_engagement_duration.

3. E-commerce and revenue

GA4’s e-commerce fields matter for online stores that track sales and products.

  • Dimensions: item_id, item_name, item_category, transactionid, order_coupon.
  • Metrics: purchase_revenue, totalrevenue, transactions, ecommerce_purchases, add_to_carts, checkouts, average_purchase_revenue.

4. Key events

GA4 renamed conversions to key events. Windsor.ai keeps the field id conversions for the key event count.

  • Dimensions: event_name, session_default_channel_group.
  • Metrics: conversions (key events), session_conversion_rate (session key event rate), user_conversion_rate (user key event rate).

5. Geography and demographics

GA4’s geography and demographic fields describe where your users are and, where Google signals allow it, who they are.

  • Dimensions: country, region, city, language, age, gender.

What you can do with GA4 data in ChatGPT

Replace the property names, page paths, event names and date ranges in the GA4 prompts below with your own.

More prompt ideas for GA4 and other sources are in the Windsor.ai prompt library.

1. Traffic and acquisition

GA4’s Traffic acquisition report shows engagement and key events by channel. In ChatGPT you can ask for the same table with new users added and the channels ranked, in one prompt. For two periods side by side, adapt the prompt from the two-week example above.

Channel quality comparison: which channels send users who engage?

Using GA4 data for the last 30 days, for each session_default_channel_group, show:
- Sessions
- New users
- Engaged sessions
- Engagement rate (engaged sessions / sessions)
- Average engagement time per session (seconds)
- Key events
- Session key event rate

Rank by session key event rate, highest first.

1. Which channels have many sessions but a below-average engagement rate?
2. Which channels have few sessions but a high engagement rate and key event rate?

A channel in the first group sends volume that doesn’t engage. A channel in the second group may be worth growing.

The channel quality prompt also works by source/medium. Replace session_default_channel_group with session_source_medium and ask which rows bring many sessions with almost no engagement time. Those rows often come from mislabeled UTM tags or bot traffic.

2. Landing page performance

The landing page decides whether a paid click, an organic visit or an email click turns into an engaged session. GA4’s Landing page report can add the channel as a secondary dimension or a comparison. In ChatGPT you can ask for paid and organic traffic on each landing page, with engagement and key events, in one prompt.

Landing page audit: which entry pages lose visitors first?

The landing page audit prompt is the one in the landing page audit example above. Replace the dates with your own and name your GA4 property at the start, if you connected more than one.

Paid and organic traffic on the same landing pages

Compare landing page performance for sessions where session_default_channel_group is 'Paid Search' and where it is 'Organic Search'.

For the top 10 landing pages by Paid Search sessions, show for each channel:
- Engagement rate
- Session key event rate
- Average engagement time

1. On which pages does paid traffic engage much less than organic traffic?
2. Which pages do as well or better for paid traffic?

A page where paid traffic engages much less than organic traffic often doesn’t match what the ad promises. Pages that do as well for paid traffic are your strongest ad destinations.

3. Funnel and key event analysis

GA4’s funnel Explorations show drop-off, but you build each funnel by hand. In ChatGPT you can ask for the same steps from your event counts.

E-commerce funnel: from product view to purchase

Using GA4 e-commerce events for the last 30 days, build a funnel:
Step 1: view_item
Step 2: add_to_cart
Step 3: begin_checkout
Step 4: add_payment_info
Step 5: purchase

For each step, show:
- Event count
- Drop-off from the previous step (%)
- Share of step 1 that reached this step (%)

1. Which step has the highest drop-off?
2. Is checkout drop-off different by devicecategory?
3. Which landing pages have many add_to_cart events but a low ratio of begin_checkout to add_to_cart, and is that ratio lower on mobile than on desktop?

The funnel uses event counts, so a user who adds to the cart twice counts twice. For a user-level funnel, build a funnel Exploration in GA4.

Key events over time: is the trend going up or down?

This prompt covers 12 weeks, so it needs a paid plan.

Using GA4 data for the last 12 weeks, grouped by week:

For each key event in my property (for example purchase, generate_lead or sign_up):
- Weekly key event count
- Weekly session key event rate
- Week-on-week change in both

1. Is the session key event rate going up, staying flat or going down?
2. In which weeks did the key event rate drop while sessions stayed about the same?
3. Which key event has the least stable week-on-week rate?

A week where the key event rate drops while sessions stay flat usually points to a site change, a checkout problem or a tracking change.

4. Content and SEO audit

GA4 shows how content performs after the click: engaged sessions, engagement time and scroll depth. In ChatGPT you can ask for engagement, scroll depth and key events on your organic landing pages in one prompt.

Organic content performance: which pages hold search visitors?

Filter GA4 data to sessions where session_default_channel_group is 'Organic Search', for the last 14 days.

For each landing page with more than 50 organic sessions, show:
- Organic sessions
- Engaged sessions and engagement rate
- Average engagement time (seconds)
- Scrolled users (users who reached 90% of the page)
- Key events

1. Which pages get the most organic sessions but have an engagement rate below 50%?
2. Which pages get few organic sessions but have a high engagement rate and key event rate?

Pages in the first group may not match what searchers want. Pages in the second group are good candidates for more SEO work.

New content: how are recent pages doing?

This prompt compares 120 days, so it needs a paid plan.

Compare sessions by page_path for the last 60 days with the 60 days before.
Treat pages with sessions in the last 60 days and none in the 60 days before as new pages.

For those new pages, show:
- Sessions
- Engagement rate
- Session key event rate
- Main session_default_channel_group

1. Do the new pages get organic traffic, or does their traffic come only from Direct and Referral?
2. Which new pages have the best engagement rate?

5. New and returning users

Compare new and returning users to see whether the traffic you pay for comes back.

For the last 7 days, compare new and returning users (new_vs_returning).

For each group, show:
- Sessions, engagement rate
- Sessions per user
- Average engagement time per session
- Session key event rate

1. What share of all sessions comes from returning users?
2. Do returning users have a higher key event rate than new users?
3. Which session_default_channel_group brings the most returning users?

If returning users convert much better than new users, the first visit is the step to work on.

Blending GA4 with other data sources in ChatGPT

GA4 shows what users do on your site. Windsor.ai puts GA4 in the same chat as your ad platforms, store and CRM.

Ads and landing pages

  • GA4 + Google Ads: “Which Google Ads campaigns have a high CTR but an engagement rate below 30% in GA4? What headlines do the ads in those campaigns use?” See how to connect Google Ads to ChatGPT.
  • GA4 + Meta Ads: “Compare engagement rate and engagement time for sessions from Meta Ads and Google Ads. Which Meta Ads campaigns send sessions that leave without engaging?”

Revenue and key events

  • GA4 + Shopify or WooCommerce: “Compare GA4 purchases and purchase revenue with store orders for the same days. On which days is the gap largest?” See how to connect Shopify to ChatGPT.
  • GA4 + Klaviyo or Mailchimp: “Which email campaigns send many sessions but no purchases, and which send fewer sessions with a high engagement rate?”

Search and content

How the Windsor.ai plugin works with GA4 and ChatGPT

Windsor.ai connects to the Google Analytics 4 Data API and returns your traffic, key event and user data to ChatGPT.

  • Data freshness: GA4 can take 24 to 48 hours to finish processing a day. Standard properties usually have the previous day ready within about 12 hours (Google’s data freshness page). Windsor.ai can answer a repeated query from a cached copy. On Standard and higher plans, Windsor.ai can fetch the most recent days again, as often as hourly on Standard and Plus and as often as every 15 minutes on Professional and Enterprise (pricing).
  • Several properties: connect several GA4 properties to one Windsor.ai account, and ChatGPT can compare brands or regional sites in one prompt.
  • Other sources: blend GA4 with 350+ data sources such as Meta Ads, Shopify and Klaviyo. For example: “How did last week’s Meta Ads spend compare with GA4 checkouts from Meta Ads traffic?”
  • Custom events: your custom GA4 events, such as button clicks or specific lead types, come through under their own event names, so ChatGPT can count them like any standard event.
  • Read access only: ChatGPT can read and analyze your GA4 data but cannot change your GA4 setup. The GA4 connector has no write actions.

If something does not work

  • Your property is missing in Windsor.ai: the Google account you signed in with has no access to it. Ask a GA4 admin to add that account with the Viewer role, then connect again.
  • ChatGPT answers without your GA4 data: choose the plugin in that chat as shown in step 2, then ask again.
  • Windsor.ai is missing in a work account: in a Business, Enterprise or Edu workspace, the admin decides which plugins members can use (OpenAI’s admin controls article). Ask your admin to allow Windsor.ai.
  • Today’s numbers look low: GA4 is still processing the day. Ask for dates up to yesterday, and expect yesterday to change slightly for another day.
  • A number differs from the GA4 interface: check the date range, the property time zone and the channel dimension (session_default_channel_group or first_user_default_channel_group) against the report you compare with.

The GA4 to ChatGPT connect page compares the same two periods by device.

Conclusion

The Windsor.ai plugin lets ChatGPT read your GA4 property and put it next to your ad, search and e-commerce data in the same chat. The prompts above cover traffic, landing pages, the checkout funnel, content and returning users. Paste any of them into ChatGPT and change the dates, pages and event names to your own. The free forever plan (no credit card) covers GA4 on its own, and adding other sources after the first 30 days needs a paid plan.

Using Claude instead? Read how to connect GA4 to Claude. Teams on Gemini Enterprise can add the same GA4 data as a Windsor.ai data store: how to connect GA4 to Gemini Enterprise.

🚀 Connect GA4 to ChatGPT in two steps. Get started for free →

FAQs

Can ChatGPT connect to Google Analytics 4?

Yes, through a plugin such as Windsor.ai. ChatGPT cannot sign in to GA4 on its own. After you connect a property in Windsor.ai and add the plugin, ChatGPT reads its sessions, channels, pages, events and key events.

Tired of juggling fragmented data? Get started with Windsor.ai today to create a single source of truth

Let us help you automate data integration and AI-driven insights, so you can focus on what matters, growth strategy.
g logo
fb logo
big query data
youtube logo
power logo
looker logo