How to connect Google Analytics 4 to ChatGPT and Claude, step by step

GA4 can answer almost any question about your site, provided you know where to look and how to build the exploration. Once a property is connected to ChatGPT or Claude, you type the question in plain language and the assistant builds the report from your property's data and explains what sits behind the numbers. This guide covers how to connect them and what to ask first.

· 6 min read

What changes once you connect?

Instead of opening the acquisition report, switching the dimension and adding a comparison with the previous period, you type "Where did this month's traffic come from compared with last month, and which source dropped?" and the assistant answers with the numbers and the difference. Then you follow up with "Which landing pages convert best from that source?" without starting over.

The connection runs over MCP (Model Context Protocol), the standard that lets an assistant use outside tools. Go Shift is a hosted MCP server that reads your GA4 property through Google's official sign-in and the official GA4 API, so there is no code to write and no Google Cloud project to set up.

What you need before you start

  • A Google account with access to the GA4 property (Viewer is enough for reading; changing settings needs Editor).
  • A ChatGPT or Claude account that supports adding connectors, or use the assistant built into Go Shift.
  • A Go Shift account. GA4 properties don't count toward your plan's ad account limit.

Step 1: grant Analytics access in Go Shift

  1. Create an account in the Go Shift dashboard with Google or your email.
  2. Open the Connections page, click Connect on the Google Analytics card, sign in with the Google account that has access to the property and approve Analytics access.
  3. Choose the properties the assistant may use. Anything you leave out stays out of reach.

If you already connected Google Ads or Search Console, this is the same Google sign-in, and you only need to grant Analytics access with one click. If a property you expect isn't listed, check you signed in with the right account, then click Refresh accounts.

Step 2: add Go Shift to Claude or ChatGPT

In Claude: open Settings, then Connectors, search for Go Shift and click Connect. If it isn't listed yet, choose Add custom connector and paste the server link: https://mcp.goshift-eg.com/mcp

In ChatGPT: open Settings, then Apps & Connectors, and search for Go Shift or create a custom connector with the same link. Custom connectors may need an account that supports them and developer mode turned on.

Then sign in with your Go Shift account, approve the permissions and enable the connector in the chat. The full steps are in the docs.

Five questions to try first

  • "How did the site do over the last 30 days vs the period before: sessions, users, key events and revenue?"
  • "Break traffic down by source and medium. Which source has the highest engagement rate?"
  • "Which landing pages converted best this month?"
  • "What share of traffic is mobile, and from which countries?"
  • "What were the best-selling products in the last 30 days?"

You can ask about realtime too: "How many users are on the site right now, and from which source?" is useful in the first hour after a campaign launch. And when you need a report none of these cover, ask for a custom report with any dimensions and metrics the property offers, including the custom dimensions your site sends; the assistant checks every field name against the property's own metadata before running it.

Compare ads with what happens on site

This is the part media buyers get the most from. Ask "Compare each Google Ads campaign's cost with its GA4 sessions and key events" and the assistant lines campaigns up by name, so you see one that spends heavily and brings sessions that don't convert, and another that costs more but brings the key events.

It also checks the link itself: are the Google Ads accounts linked to the property, are there paid sessions with no campaign data (which usually points to a problem with auto-tagging or URL parameters), and are key events defined at all? That is where any investigation into "why is Google Ads spending with no conversions" should start.

Changes that need your confirmation

Reads run directly. Any change to the property shows a preview first and only runs after your explicit yes in the chat:

  • Marking an event as a key event, or unmarking it (for example, "Make generate_lead a key event").
  • Linking the property to a Google Ads account.
  • Creating a custom dimension or metric.
  • Creating an audience from events (people who added to cart but didn't purchase, say) and archiving an existing one. GA4 audiences are shared automatically with the Google Ads accounts linked to the property.

More on the security page.

Common problems and fixes

  • Numbers differ slightly from the GA4 interface: check the date range and the property's time zone, and remember that GA4 can take up to two days to finish processing the most recent day.
  • A property isn't listed: check that the Google account you connected has access to it, then click Refresh accounts on the Connections page.
  • The Google Ads comparison comes back empty: usually because the ad account isn't linked to the property. Ask for the tracking check first, then ask for the link from the chat if you want it.
  • The assistant isn't using Go Shift: check that the connector is enabled in the current chat from the tools menu.

What next?

With the same Google sign-in, add Google Tag Manager to fix tags when the check finds a problem, and Search Console for organic traffic next to paid. If Google Ads isn't connected yet, start with how to connect Google Ads to ChatGPT and Claude. Everything the assistant can do in GA4 is on the Google Analytics 4 integration page.

Try it on your own account

Connect your account and ask your first question in minutes.

Get started

FAQ

Is connecting GA4 to ChatGPT free?

No, Go Shift is a paid service with plans starting at Pro, and GA4 properties don't count toward the ad account limit. Your ChatGPT or Claude subscription is separate and follows their terms.

Do I need a Google Cloud project or an API key?

No. You connect with Google's official sign-in, grant Analytics access on the Connections page and add the connector from your assistant's settings.

Will the assistant change GA4 settings without me knowing?

No. Reads run directly; marking a key event, linking Google Ads, or creating an audience or custom definition shows a preview first and only runs after your yes in the chat.

Does it support Universal Analytics?

No, Google has retired it. Go Shift supports GA4 properties only.

Can I connect more than one property?

Yes. On the Connections page you choose the properties the assistant may use, then name the property in your question when you have several, or put it in the client's folder next to their ad accounts.