Connect Google Analytics 4 to ChatGPT
Connect your Google Analytics 4 data to ChatGPT using the Windsor.ai plugin.
Ask about sessions, channels, landing pages and key events in plain language, and find where visitors leave without converting.
Connect data in minutes. No code required.
Find where visitors drop off with the Google Analytics 4 to ChatGPT integration
The Windsor.ai plugin lets ChatGPT answer questions from your GA4 data without exports or dashboards.
Find what changed between periods
Ask ChatGPT to compare two date ranges by device category, session default channel group or landing page, with the change in sessions, engagement rate and session key event rate. The first example below compares devices, and the second compares the AI Assistant and Organic Search channels.
Get test ideas for pages where key events fell
For example, ask ChatGPT: “List the 10 landing pages with at least 100 sessions in each period where session key event rate fell most, comparing the 7 days up to the day before yesterday with the 7 days before that. Suggest one change to test on each.”
Discover valuable traffic sources
Ask ChatGPT to rank session source and medium by session key event rate and list the sources that bring few sessions but a high rate. To compare whole channels, use the Organic Search and Paid Search prompt below.
Optimize landing pages
Ask ChatGPT for the landing pages with a high engagement rate but a low session key event rate, split by session source and medium. To see where visitors drop off on those pages, ask it to compare item views, add to carts, checkouts and purchases for each one. For AI Assistant visits, the last prompt below asks which landing pages those sessions start on.
Using Windsor.ai to connect data from Google Analytics 4 to ChatGPT
Windsor.ai pulls your GA4 data through the GA4 Data API and passes it to ChatGPT.
First example: changes by device
We asked ChatGPT, through the Windsor.ai plugin: “For the GA4 property ga4 windsor.ai 2, compare 18 to 31 October 2026 with 4 to 17 October 2026 by device category: 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. Where did engagement move most?”
- Sessions: up 8.02% on desktop, 11.98% on mobile and 16.84% on tablet in 18 to 31 October compared with 4 to 17 October.
- Engagement rate: mobile gained most among the main devices, 1.44 percentage points, ahead of desktop at 1.02 and tablet at 0.10. ChatGPT also flagged that Smart TV’s 10-point drop is based on very few sessions.
- Session key event rate: tablet rose 1.33 points and desktop 0.80, while mobile fell 0.20.
We checked every change against the same two periods pulled from GA4 through Windsor.ai, without ChatGPT, and they matched.
Second example: AI Assistant and Organic Search
We ran a second GA4 test in ChatGPT on 17 November 2026, on ChatGPT’s Go plan. Through the Windsor.ai plugin, we asked: “For the GA4 property ga4 windsor.ai 2, compare the AI Assistant and Organic Search channels (session default channel group) for 3 to 16 November 2026 against 20 October to 2 November 2026. For each channel give the engagement rate, average session duration and session key event rate in both periods, and the change: percentage points for the rates, percent for duration. Show only rates, durations and changes, no session counts. Which channel’s engagement changed more?”
- Engagement rate: AI Assistant rose 1.26 percentage points, from 65.09% to 66.35%. Organic Search fell 0.91 points, from 63.31% to 62.40%. ChatGPT answered that AI Assistant engagement changed more.
- Session key event rate: AI Assistant rose 4.10 points, from 18.36% to 22.46%. Organic Search fell 0.20 points, from 9.95% to 9.75%.
- Average session duration: down 3.22% for AI Assistant and up 1.89% for Organic Search.
We checked every figure against the same dates pulled from GA4 through Windsor.ai, without ChatGPT. They matched to 0.01 percentage point for the rates and to the second for the durations ChatGPT gave. Both periods were inside the free forever plan’s 30 days of history on 17 November 2026.
In this run, we opened ChatGPT from the plugin page’s Try in chat button. Clearing the sample prompt also removed the Windsor.ai plugin from the message box. Typing @Windsor.ai and picking it from the menu added it back.
Average session duration was above one hour for both channels in both periods, in GA4 as well as in ChatGPT’s answer.

How to connect Google Analytics 4 to ChatGPT with Windsor.ai
Watch the video tutorial, or follow the ChatGPT setup guide in our documentation to add the Windsor.ai plugin to ChatGPT. The full steps, with a check of the first answer and fixes for common problems, are in how to connect GA4 to ChatGPT automatically.
Install the Windsor.ai plugin
In ChatGPT, select Plugins in the sidebar and search for Windsor.ai, or open the Windsor.ai plugin page. Select Install plugin, then Connect Windsor.ai. Sign in to Windsor.ai and select Back to ChatGPT.
If you only need GA4, you can install Google Analytics 4 by Windsor instead. It is a GA4-only plugin from Windsor.ai and uses the same Windsor.ai sign-in. When you install it, you tick the GA4 accounts ChatGPT can see.
Query your Google Analytics 4 data in ChatGPT
Open a new chat and ask about your connected GA4 data in plain language. Make sure the plugin is selected: type @ and pick Windsor.ai from the menu (or Google Analytics 4 by Windsor, if you installed that one), or select + and enter the plugin’s name.
FAQs
Which Windsor.ai plugin should I install for GA4?
Install the Windsor.ai plugin if you want GA4 next to other sources, such as Google Ads or Meta Ads spend. Google Analytics 4 by Windsor covers GA4 only, so it cannot add spend from Meta Ads or other ad platforms. Neither plugin can change GA4 settings (see the write actions list). Both plugins use your Windsor.ai account.
Is there an official Google Analytics plugin for ChatGPT?
No. ChatGPT’s plugin directory has no GA4 plugin from Google. Google publishes an open-source Google Analytics MCP server, with setup steps for Gemini CLI, Gemini Code Assist and Claude Code. It runs on your computer by default and is read-only unless you turn on its write tools.
ChatGPT connects to remote MCP servers. To use a server on your computer, you need OpenAI’s Secure MCP Tunnel. Full custom MCP support is for Business, Enterprise and Edu workspaces. Pro accounts can connect custom MCP servers with read and fetch permissions only. The routes are compared in our Google Analytics MCP guide.
What is the GA4 connection in OpenAI Ads Manager?
OpenAI Ads Manager’s GA4 connection is a beta for advertisers who run ads in ChatGPT. OpenAI imports aggregate GA4 reports (event counts, source and medium, campaign names, key events and purchase revenue) to compare its ad results with GA4 and, where eligible, to optimize campaigns. It does not let you ask ChatGPT questions about your GA4 property. For that, use a plugin such as Windsor.ai.
Can I see traffic from ChatGPT in GA4?
Yes. GA4 has an AI Assistant default channel for visits from assistants such as ChatGPT, Gemini, Copilot, DeepSeek and Grok. Through Windsor.ai you can ask ChatGPT which landing pages AI Assistant sessions start on and how their engagement rate compares with Organic Search, as in the last prompt above. The second example on this page compares the two channels’ engagement rate and key event rate across two two-week periods.
Can ChatGPT change my GA4 settings?
No. The GA4 connector has no write actions. ChatGPT reads reports and cannot edit events, key events or property settings (see the write actions list).
Does this integration replace the GA4 interface?
No. You still use the GA4 interface to set up events, key events and the property. In ChatGPT you can ask for the numbers in plain language instead of building a report or Exploration for each question.
Can I blend GA4 data with my ad spend?
Yes. Windsor.ai connects 375+ data sources. Combine GA4 with ad spend from Meta Ads or Google Ads to compare spend with traffic, engagement and conversions by channel. Use the Windsor.ai plugin for this, since the GA4-only plugin cannot add Meta Ads or other ad platform spend. You can test this free for the first 30 days, with up to 10 sources. After that, the free forever plan includes 1 data source, and paid plans start at $19/month, billed annually, for 3 sources.
What GA4 metrics can I analyze in ChatGPT with Windsor.ai?
With Windsor.ai, you can access 482 metrics and dimensions, including:
-
User activity and retention. Track audience size and loyalty with metrics like
active_users,active7_day_users,active28_day_usersanddau_per_mau. -
Conversions and revenue. Measure results with
conversions(GA4’s key events),ecommerce_purchases,gross_purchase_revenue,average_purchase_revenueandaverage_revenue_per_user. -
Audience and device insights. Break down performance by
devicecategory,browser,country,city,audience_nameandageto see who your users are and which devices they use. -
E-commerce behavior. Explore purchase intent and shopping activity with
add_to_carts,checkouts,cart_to_view_rate,item_view_eventsanditem_revenue. -
Traffic. See where users come from with dimensions such as
first_user_source_medium,first_user_default_channel_group,campaign_nameandfirst_user_campaign_name.
What prompts can I use when analyzing Google Analytics 4 data in ChatGPT?
Beyond basic reports, use prompts that combine several metrics. For example:
- Analyze the relationship between
average_session_durationandpurchaser_conversion_rateacross our top 20 landing pages. Group the pages by average session duration and show which group has the highest purchaser rate. - Analyze
item_view_events,add_to_carts,checkoutsandecommerce_purchasesto identify where users drop off in the purchase funnel. Highlight the largest conversion gaps and suggest which step to fix first. - Which traffic sources bring users who are most likely to convert or generate revenue? Compare acquisition channels by key event rate and revenue per session.
- Compare conversions, engagement and session duration across mobile, desktop and tablet devices. Identify which device types generate the most conversions and where engagement or conversion performance drops.
Can ChatGPT help me identify why my conversion rate dropped?
Yes. Instead of comparing date ranges by hand in GA4, ask ChatGPT to compare session key event rate for the 7 days up to the day before yesterday with the 7 days before that, and list the landing pages or traffic sources where it fell most. It can then point out possible causes and weak points in your funnel.
How much does it cost to integrate Google Analytics 4 into ChatGPT using Windsor.ai?
Windsor.ai has a free forever plan, no credit card needed. It covers 1 data source, 1 account and the last 30 days of data, which is enough for one GA4 property. Paid plans start at $19/month, billed annually, and scale by the number of sources and accounts. See the pricing page.
How long does it take to connect Google Analytics 4 to ChatGPT?
The setup takes a few minutes and needs no code.
How current is the GA4 data in ChatGPT?
GA4 takes 24 to 48 hours to finish processing a day’s data. Until then, today’s and yesterday’s figures can still change. Windsor.ai can answer a repeated ChatGPT question from a cached copy of the data, kept for up to 6 hours. Windsor.ai’s free forever and Basic plans have no hourly refresh. On these plans, ChatGPT questions can still use the 6-hour cache, and the scheduled refresh runs once a day. On Windsor.ai’s Standard and Plus plans, you can ask ChatGPT to refresh recent data once an hour. The Professional and Enterprise plans can refresh every 15 minutes.
Which ChatGPT plans can use the Windsor.ai plugin?
We set up the Windsor.ai plugin on ChatGPT’s Free plan, and ran the second example on this page on the Go plan on 17 November 2026. OpenAI says the plugin directory is available across ChatGPT plans, and that installing or using a plugin depends on your plan, workspace, role, region and capabilities. In a Business, Enterprise or Edu workspace, an admin can turn plugins on or off.
Where are the setup guide and the field list?
The step-by-step setup, another example and troubleshooting are in how to connect GA4 to ChatGPT automatically. Every field is in the GA4 field reference, and the same setup in Claude is in how to connect GA4 to Claude.
Tired of manual Google Analytics 4 data exports? Try Windsor.ai today to automate your reporting

