Google Analytics 4
Google Analytics 4 MCPAnalys62 actions

Google Analytics 4 MCP Server

Let your AI agents run Google Analytics 4 for you, safely.

  • Enable or disable every action, per account. Block your agent from doing dangerous actions.

  • Ask in plain English. Pull reports, find insights and take action in Google Analytics 4.

  • 62 read and write actions. Every Google Analytics 4 task your agent needs, from reporting to making changes.

  • Built for teams. Invite your team and share one connected account.

Fungerar med
ChatGPTChatGPTClaudeClaudeClaude CodeClaude CodeCodexCodexGemini CLIGemini CLICursorCursorMistralMistralOpenClawOpenClawHermesHermesPerplexityGrokn8nWindsurfVS CodeZed
ChatGPT
Google Analytics 4
ChatGPT
connected to Google Analytics 4 MCP
Online
ChatGPT
Actions

Tillgängliga åtgärder

62 tillgängliga åtgärder för att automatisera dina arbetsflöden i Google Analytics 4 .

62 actions

Google Analytics 4
Skriv

Acknowledge User Data Collection

Attest the User Data Collection acknowledgement on a property, which GA4 requires before Measurement Protocol secrets can be created.

Google Analytics 4
Skriv

Archive Audience

Archive an audience so it stops collecting members.

Google Analytics 4
Skriv

Archive Custom Dimension

Archive a GA4 custom dimension (frees a slot; not a hard delete).

Google Analytics 4
Skriv

Archive Custom Metric

Archive a GA4 custom metric (frees a slot; not a hard delete).

Google Analytics 4
Skriv

Create Audience

Create an audience from a set of filter clauses.

Google Analytics 4
Skriv

Create Bigquery Link

Link a GA4 property to a BigQuery project for raw event export.

Google Analytics 4
Skriv

Create Channel Group

Create a custom channel group from grouping rules.

Google Analytics 4
Skriv

Create Custom Dimension

Create a GA4 custom dimension from an event parameter.

Google Analytics 4
Skriv

Create Custom Metric

Create a GA4 custom metric from an event parameter.

Google Analytics 4
Skriv

Create Data Stream

Create a web, Android or iOS data stream on a GA4 property.

Google Analytics 4
Skriv

Create Google Ads Link

Link a Google Ads account to a GA4 property.

Google Analytics 4
Skriv

Create Key Event

Create a GA4 key event (conversion) for an event name.

Google Analytics 4
Skriv

Create Measurement Protocol Secret

Create a Measurement Protocol secret so server-side events can be sent to a stream.

Google Analytics 4
Skriv

Create Property

Create a new GA4 property under an account.

Google Analytics 4
Skriv

Delete Bigquery Link

Remove a BigQuery export link.

Google Analytics 4
Skriv

Delete Channel Group

Delete a custom channel group.

Google Analytics 4
Skriv

Delete Data Stream

Delete a data stream from a GA4 property.

Google Analytics 4
Skriv

Delete Google Ads Link

Unlink a Google Ads account from a GA4 property.

Google Analytics 4
Skriv

Delete Key Event

Delete a GA4 key event (conversion).

Google Analytics 4
Skriv

Delete Measurement Protocol Secret

Delete a Measurement Protocol secret, revoking server-side sends that use it.

Google Analytics 4
Skriv

Delete Property

Soft-delete (trash) the connected GA4 property.

Google Analytics 4
Läs

Ecommerce

E-commerce performance data including transactions, revenue, and product metrics

Google Analytics 4
Läs

Events

Event tracking data including event names, counts, and user engagement

Google Analytics 4
Läs

Geo

Geographic performance data including country, region, city, and language

Google Analytics 4
Läs

Get Audience

Get one audience, including its filter clauses.

Google Analytics 4
Läs

Get Bigquery Link

Get one BigQuery export link.

Google Analytics 4
Läs

Get Channel Group

Get one channel group, including its grouping rules.

Google Analytics 4
Läs

Get Custom Dimension

Get a single GA4 custom dimension by id.

Google Analytics 4
Läs

Get Custom Metric

Get a single GA4 custom metric by id.

Google Analytics 4
Läs

Get Data Retention Settings

Read a GA4 property's event and user data retention settings.

Google Analytics 4
Läs

Get Data Stream

Fetch one data stream, including its Measurement ID.

Google Analytics 4
Läs

Get Enhanced Measurement Settings

Read the enhanced measurement settings of a web data stream.

Google Analytics 4
Läs

Get Key Event

Get a single GA4 key event by id.

Google Analytics 4
Skriv

Get Measurement Protocol Secret

Get one Measurement Protocol secret, including its secret value.

Google Analytics 4
Läs

Get Property

Fetch a GA4 property's settings (name, time zone, currency, industry).

Google Analytics 4
Läs

Get Report

Execute GA4 runReport with arbitrary metrics and dimensions.

Google Analytics 4
Skriv

List Accounts

List the GA4 accounts this connection can administer.

Google Analytics 4
Läs

List Audiences

List the audiences on a property.

Google Analytics 4
Läs

List Bigquery Links

List the BigQuery export links on a property.

Google Analytics 4
Läs

List Channel Groups

List the channel groups on a property.

Google Analytics 4
Läs

List Custom Dimensions

List the GA4 custom dimensions on a property.

Google Analytics 4
Läs

List Custom Metrics

List the GA4 custom metrics on a property.

Google Analytics 4
Läs

List Data Streams

List a GA4 property's data streams (web, Android, iOS).

Google Analytics 4
Läs

List Google Ads Links

List the Google Ads accounts linked to a GA4 property.

Google Analytics 4
Läs

List Key Events

List the GA4 key events (conversions) on a property.

Google Analytics 4
Skriv

List Measurement Protocol Secrets

List the Measurement Protocol secrets on a data stream.

Google Analytics 4
Läs

Pages

Page-level performance data including views, engagement, and user behavior

Google Analytics 4
Läs

Tech

Technology breakdown data including browser, device, OS, and platform

Google Analytics 4
Läs

Traffic Sources

Traffic acquisition data including source, medium, campaign, and channel groupings

Google Analytics 4
Skriv

Update Audience

Rename an audience or change its description.

Google Analytics 4
Skriv

Update Bigquery Link

Change what a BigQuery export link exports.

Google Analytics 4
Skriv

Update Channel Group

Change a channel group's name, description, rules, or primary flag.

Google Analytics 4
Skriv

Update Custom Dimension

Update a GA4 custom dimension's display name / description.

Google Analytics 4
Skriv

Update Custom Metric

Update a GA4 custom metric's display name / description.

Google Analytics 4
Skriv

Update Data Retention Settings

Set how long a GA4 property retains event and user data.

Google Analytics 4
Skriv

Update Data Stream

Update a data stream's display name or default URI.

Google Analytics 4
Skriv

Update Enhanced Measurement Settings

Turn enhanced measurement events (scrolls, outbound clicks, site search, video, downloads) on or off.

Google Analytics 4
Skriv

Update Google Ads Link

Update a Google Ads link's personalized-advertising setting.

Google Analytics 4
Skriv

Update Key Event

Update a GA4 key event's counting method or default value.

Google Analytics 4
Skriv

Update Measurement Protocol Secret

Rename a Measurement Protocol secret.

Google Analytics 4
Skriv

Update Property

Update a GA4 property's display name, time zone, currency or industry.

Google Analytics 4
Läs

User Demographics

User demographic data including age, gender, interests, and user type

Overview

What you can do with the Google Analytics 4 MCP

Google Analytics 4 MCP-servern ansluter dina GA4-egendomar direkt till Claude AI. Hoppa över det krångliga GA4-gränssnittet och ställ frågor till Claude om din webbplats- och appanalys på vanlig svenska.

ClaudeGoogle Analytics 4Acme StoreRead-only
Ask about your Google Analytics 4 account…
01Trafikanalys

Trafikanalys

Förstå var din trafik kommer ifrån, vilka kanaler som presterar bäst och hur trafiken utvecklas över tid.

See all Google Analytics 4 actions
ClaudeGoogle Analytics 4Acme StoreRead-only
Ask about your Google Analytics 4 account…
02Konverteringsspårning

Konverteringsspårning

Analysera konverteringsgrad, identifiera var användare faller bort och jämför konverteringar mellan olika segment.

See all Google Analytics 4 actions
ClaudeGoogle Analytics 4Acme StoreRead-only
Ask about your Google Analytics 4 account…
03Användarbeteende

Användarbeteende

Utforska hur användare navigerar på din webbplats, vilka sidor som engagerar dem och var de lämnar.

See all Google Analytics 4 actions
62
actions
one server URL
26
read actions
reports, audits, research
36
write actions
create, update, manage
Setup

How to connect the Google Analytics 4 MCP server

Add the server URL to your AI client, then sign in with your InsightfulPipe account to authorize access. The server is hosted, so there is nothing to install.

MCP server URL

https://google-analytics.insightfulmcp.com/

Connect Google Analytics 4 to Claude

Fastest: add InsightfulPipe from the Claude Directory

One click connects the full InsightfulPipe MCP with all your connected accounts. To add a server scoped to Google Analytics 4 only, follow the steps below.

Open Claude Directory

Or add the Google Analytics 4 server manually:

  1. 01
    Copy the server URL:
    https://google-analytics.insightfulmcp.com/
  2. 02
    Open Claude connector settings (Customize > Connectors), click + and then Add custom connector.
  3. 03
    Paste the URL and click Add.
  4. 04
    Click Connect, then click Authorize access in the browser.

Start a new chat, click +, open Connectors and turn the connector on to use it.

The Free plan can add one custom connector. On Team and Enterprise plans, an Owner first adds it under Organization settings > Connectors, then each member clicks Connect in Customize > Connectors.

Watch the setup tutorial

Playbook

Prompts and skills that run on the Google Analytics 4 MCP

Copy a prompt into any connected client, or install a Claude skill that chains the actions for you.

Prompt

“Hur många sessioner hade vi förra veckan jämfört med veckan innan?”

Snabb trafikjämförelse

Skill

Onboarding CRO

Claude skill that improves post-signup onboarding: defines your activation metric, picks onboarding patterns and plans behavior-triggered emails.

Prompt

“Vilka är de främsta trafikkällorna efter konverteringar den här månaden?”

Identifiera de bäst presterande kanalerna

Skill

Page CRO

Claude skill that diagnoses why a landing page, homepage, pricing or feature page is not converting and prioritizes fixes with the ICE framework.

Prompt

“Visa konverteringsgraden per enhetstyp”

Jämför mobil mot desktop

Skill

Signup Flow CRO

Claude skill that optimizes signup and registration flows: fields, social sign-in, email verification, page design and the path to activation.

Prompt

“Vilka landningssidor har högst avvisningsfrekvens?”

Hitta sidor som behöver optimeras

Skill

Cross-Channel Attribution Analyst

Claude skill that analyzes customer journeys across channels, compares attribution models and finds undervalued and overvalued channels.

Prompt

“Hur ser användarresan ut från startsidan till köp?”

Förstå konverteringsvägarna

HAR DU FRÅGOR?

Frequently asked questions

En Google Analytics MCP-server ansluter din GA4-egendom till Claude AI via Model Context Protocol. Det låter dig ställa frågor till Claude om din webbanalys, trafik, konverteringar, användarbeteende, utan att navigera i GA4-gränssnittet eller bygga rapporter.

Redo att ansluta din data?

Gör som hundratals byråer och varumärken som använder InsightfulPipe för att koppla marknadsföringsdata till AI.

Starta en provperiod idag.