[Connect AI to your data](/about/connect-ai-to-marketing-data) November 13, 2026

# Connect Google Analytics to Gemini or Copilot

Gemini and Copilot have no Google Analytics connector, so use Ask Advisor inside GA, Google’s Analytics MCP server or an MCP tool in Copilot Studio.

![](/images/65d75b0ae8d69ef95785a5d6_david-pombar.webp)

**[David Pombar](/authors-guides/david-pombar)** Swiss army knife at Trackingplan

7 min read · 1523 words

> **TL;DR** Not directly. The Gemini app’s Connected Apps don’t include Google Analytics, and Microsoft’s connector catalog has no Google Analytics connector. Inside Google Analytics, ** Ask Advisor** (beta, built on Gemini) answers questions about one property, in English-language properties only. For more than that, use Google’s ** Analytics MCP server** in an MCP client, or add it as a tool to an agent in ** Copilot Studio**.

People search for this expecting a button: open Gemini or Copilot, pick Google Analytics, sign in. That button doesn’t exist yet in either app. What does exist is a Gemini-powered assistant inside GA itself, and an official MCP server that gives AI clients read access to your properties.

This guide is part of a series on [connecting AI assistants to marketing data](/guides/connect-ai-to-marketing-data). It covers what works with Gemini and Copilot today, what doesn’t, and how to set up each route.

![An orange detour sign with a right arrow on a sidewalk, next to four orange traffic delineator posts](/images/connect-google-analytics-to-gemini-copilot-detour.jpg)

No direct road from the chat app to GA4. The detours are signposted. Image: MarkBuckawicki, Wikimedia Commons, CC0

## What exists and what doesn’t

| Route | Gemini | Copilot |
| --- | --- | --- |
| Built-in connector in the chat app | No. Not in the Gemini app’s Connected Apps | No. Not in Microsoft’s connector reference |
| AI inside Google Analytics | Ask Advisor, beta, English-language properties | Not applicable |
| Google’s Analytics MCP server | Runs in Antigravity, Google’s MCP client | Can be added as an MCP tool in Copilot Studio, which Google doesn’t list as a client |

![Four cards: Ask Advisor inside Google Analytics, Google’s Analytics MCP server in MCP clients, an MCP tool in Copilot Studio, and no connector in the Gemini app or Copilot](/images/connect-google-analytics-to-gemini-copilot-routes.webp)

Four cards: Ask Advisor inside Google Analytics, Google’s Analytics MCP server in MCP clients, an MCP tool in Copilot Studio, and no connector in the Gemini app or Copilot

## Ask Advisor: Gemini inside Google Analytics

If what you want is to ask questions about one property without leaving GA, this is the route. [Google’s help center](https://support.google.com/analytics/answer/16675569) describes it as an “agentic conversational experience in Google Analytics” powered by Gemini models.

You need an eligible account, which Google doesn’t define further, and a property whose language is set to English. Google says other languages are planned. To open it:

1.  Open your property in Google Analytics.
2.  Click the **Ask Advisor** icon at the top right, or click the ** Search** box and select ** Ask Advisor**.
3.  Type your question in the panel that opens on the right.
4.  From a chart card on the Home page or in a report, hover over the card, click its **Ask Advisor** icon and pick one of the suggested questions.

It answers performance summaries, trends in a metric or dimension, “why” questions about a drop or a spike, how-to questions such as building an audience, and configuration lookups such as your measurement ID. It also suggests next steps.

It can’t answer about anything outside that one property. It doesn’t appear while you’re customizing a report. And Google’s page warns that it can make mistakes.

Developers can reach the same assistant through the `chat` method of the Data API. It’s in v1alpha and uses the scope `analytics.chatbot.read`, per [Google’s developer guide](https://developers.google.com/analytics/devguides/reporting/data/v1/advisor-basics).

## The Gemini app has no Google Analytics connection

[Google’s availability table for Connected Apps](https://support.google.com/gemini/table/17434654) lists Google Ads, for personal accounts in English, and Google Business Profile. Google Analytics and Search Console aren’t on it.

[Gemini Enterprise’s connectors page](https://cloud.google.com/gemini-enterprise/connectors) offers BigQuery and the option to connect a custom MCP server. It has no Google Analytics connector either. If your GA4 property already exports to BigQuery, the BigQuery route is open: the [BigQuery guide](/guides/connect-bigquery-to-claude) in this series covers it, and our guide to the [GA4 BigQuery export schema](/guides/ga4-bigquery-export-schema) explains the tables you’ll be querying.

## Google’s Analytics MCP server, in a Gemini client

Google publishes an official MCP server for Google Analytics. [Google’s developer docs](https://developers.google.com/analytics/devguides/MCP) lists Antigravity CLI and Antigravity IDE, Claude Desktop, Claude Code and Cursor as clients. It marks Gemini CLI as deprecated and points to a migration guide for Antigravity. So the Gemini-powered way to use it today is Antigravity.

It suits anyone comfortable editing a config file and running a Python package locally. It reads account and property details, Google Ads links, annotations, custom dimensions and metrics, and reports through the Data API: standard, realtime, funnel and conversions. Google’s page says it’s “available for read requests only”. [Google’s repository](https://github.com/googleanalytics/google-analytics-mcp) now adds three optional write tools, for annotations, custom dimensions and key events. They only load with the `--allow-write` flag and the `analytics.edit` scope.

The setup, from Google’s page:

1.  Install Python 3.10 or later, plus `pipx` or `uv`.
2.  In your Google Cloud project, enable the **Google Analytics Admin API** and the ** Google Analytics Data API**.
3.  Give the user or service account the **Viewer** role on the GA4 property.
4.  Set up Application Default Credentials with the scope `https://www.googleapis.com/auth/analytics.readonly`, either with `gcloud auth application-default login` or a service account key in `GOOGLE_APPLICATION_CREDENTIALS`.
5.  Add the server to your client’s MCP config with the command `pipx run analytics-mcp` and the variables `GOOGLE_APPLICATION_CREDENTIALS` and `GOOGLE_CLOUD_PROJECT`.
6.  Verify the connection in your client: the server’s tools should be listed.

The same server works in Claude and, through a different setup, in ChatGPT. Those steps are in the guides for [Claude](/guides/connect-ga4-to-claude) and [ChatGPT](/guides/connect-ga4-to-chatgpt).

## Copilot: add an MCP tool in Copilot Studio

Microsoft has no Google Analytics connector. The [Power Platform connector reference](https://learn.microsoft.com/en-us/connectors/connector-reference/), which Copilot Studio uses, has Google Calendar, Contacts, Drive, Sheets and Tasks, plus some independent-publisher connectors. Google Analytics isn’t among them.

What Copilot Studio does support is MCP. An agent you build there can call an MCP server as a tool. Two conditions from [Microsoft’s MCP guide for Copilot Studio](https://learn.microsoft.com/en-us/microsoft-copilot-studio/mcp-add-existing-server-to-agent):

-   **The server must be reachable over the Streamable transport.** Copilot Studio dropped SSE after August 2025.
-   **Data policies apply.** MCP access goes through Power Platform connectors, so a policy that governs connectors also governs your server.

Google’s Analytics server can run as an HTTP server (`--transport http`) with its own OAuth sign-in (`--oauth`), according to the repository. Google doesn’t list Copilot Studio as a client, so test it before you share the agent. Then:

1.  Open your agent’s **Tools** page and select ** Add a tool**.
2.  Select **New tool**, then ** Model Context Protocol**.
3.  Fill in **Server name**, ** Server description** and ** Server URL**. The orchestrator reads the description to decide when to call the server, so say what it covers.
4.  Choose the authentication: **None**, ** API key** or ** OAuth 2.0**.
5.  Select **Create**, then ** Create a new connection** and ** Add to agent**.

## What to ask once it’s connected

These work through the MCP server, and most of them in Ask Advisor too:

-   “How did sessions and key events change last week compared with the week before, by default channel group?”
-   “Why did purchases drop on Tuesday? Check device, country and landing page.”
-   “Which landing pages bring the most organic sessions, and how engaged are those sessions?”
-   “List the custom dimensions on this property and which events use each one.”
-   “Which Google Ads accounts are linked to this property?”

## Before you trust the answers

Ask Advisor and the MCP server read what GA4 reported. Neither sees how a number got there. If a tag stopped firing after a release, a purchase is sent twice, or consent signals are lost on one market, GA4 reports the result and the assistant explains it with the same confidence as a correct one. Trackingplan watches the hits, the dataLayer and the consent signals on your real traffic, so a broken event shows up as an issue before it turns into a confident chart. An AI agent can only reason about what it can see, and GA4 never shows it the hits.

If your team also works in Claude, ChatGPT or Cursor, Trackingplan answers there as the Ask Trackingplan tool, through its [MCP endpoint](/docs/mcp-endpoint).

And if what you want to measure is visits from Gemini and Copilot to your site, that’s a different job: see [how to track ChatGPT and AI traffic in GA4](/guides/track-chatgpt-ai-traffic-ga4).

## FAQ

### Can I connect Google Analytics to Gemini?

Not in the Gemini app: Google’s list of Connected Apps includes Google Ads and Google Business Profile, but not Google Analytics. Gemini reaches your GA4 data in two other ways: Ask Advisor, a beta assistant inside Google Analytics for English-language properties, and Google’s Analytics MCP server, which runs in MCP clients such as Antigravity.

### Can I connect Google Analytics to Microsoft Copilot?

Not with a built-in connector: Microsoft’s connector reference has no Google Analytics entry. The documented route is Copilot Studio, where an agent can call an MCP server you host. Google doesn’t list Copilot Studio as a client of its Analytics MCP server, so you set it up and test it yourself.

### What is Ask Advisor in Google Analytics?

A conversational assistant inside Google Analytics, powered by Gemini models and still in beta. You open it from the Ask Advisor icon at the top right of a property. It answers from that property’s data only, and today it works in properties whose language is English.

### Is the Google Analytics MCP server read-only?

By default, yes. Google’s documentation describes it as available for read requests only. The repository adds three optional write tools, for annotations, custom dimensions and key events, which only load with the allow-write flag and the analytics.edit scope.

Part of[Connect Claude or ChatGPT to your marketing data](/guides/connect-ai-to-marketing-data)

On this page

1.  [*01*What exists and what doesn’t](#what-exists-and-what-doesn-t)
2.  [*02*Ask Advisor: Gemini inside Google Analytics](#ask-advisor-gemini-inside-google-analytics)
3.  [*03*The Gemini app has no Google Analytics connection](#the-gemini-app-has-no-google-analytics-connection)
4.  [*04*Google’s Analytics MCP server, in a Gemini client](#google-s-analytics-mcp-server-in-a-gemini-client)
5.  [*05*Copilot: add an MCP tool in Copilot Studio](#copilot-add-an-mcp-tool-in-copilot-studio)
6.  [*06*What to ask once it’s connected](#what-to-ask-once-it-s-connected)
7.  [*07*Before you trust the answers](#before-you-trust-the-answers)
8.  [*08*FAQ](#faq)

**Stop babysitting tags**

Trackingplan audits your real user data around the clock and flags issues before they cost you.

[Start free trial →](https://app.trackingplan.com/signup)

![](/images/65d75b0ae8d69ef95785a5d6_david-pombar.webp)

**David Pombar** Swiss army knife at Trackingplan

Read more from David, a Senior Product Strategist with 18+ years in digital product development and an atypical error detection knack.

Share Copy link [LinkedIn](https://www.linkedin.com/sharing/share-offsite/?url=https%3A%2F%2Fwww.trackingplan.com%2Fguides%2Fconnect-google-analytics-to-gemini-copilot) [X](https://twitter.com/intent/tweet?url=https%3A%2F%2Fwww.trackingplan.com%2Fguides%2Fconnect-google-analytics-to-gemini-copilot&text=Connect%20Google%20Analytics%20to%20Gemini%20or%20Copilot)

Read next

[All Guides →](/guides)

-   [
    
    7 minConnect AI to your dataNovember 13, 2026
    
    ### Connect GA4 to Claude with Google’s MCP server
    
    Set up Google’s Analytics MCP server in Claude Desktop, Claude Code or claude.ai, see what it reads and changes, and the no-code fallback through Sheets.
    
    by **David Pombar**](/guides/connect-ga4-to-claude)
-   [
    
    7 minConnect AI to your dataNovember 13, 2026
    
    ### How to connect GA4 to ChatGPT: three routes
    
    Add Google’s Analytics MCP server to ChatGPT as a custom MCP server, query the GA4 BigQuery export, or upload a report, with the plan each route needs.
    
    by **David Pombar**](/guides/connect-ga4-to-chatgpt)
-   [
    
    7 minConnect AI to your dataNovember 13, 2026
    
    ### Connect BigQuery to Claude: connector, roles and cost caps
    
    Add Google’s BigQuery connector to Claude or run MCP Toolbox on your machine, with read-only roles and a cap on what each query can scan.
    
    by **David Pombar**](/guides/connect-bigquery-to-claude)

Trackingplan

## See everything. Miss nothing.

Your implementations audited around the clock with real-time, real-user data. Real-time alerts about errors or changes in your data, campaigns, pixels, privacy and consent. Let AI flag issues before they cost you.

[Start free trial →](https://app.trackingplan.com/signup) [Book a demo](/demo)
