Google Analytics 4 Connector for AI agents.
12 live capabilities
Query GA4 web and app traffic data for custom reports and conversion funnels.
Waiting for input…
Why people use Google Analytics 4
Google Analytics for GA4 Traffic Analysis
With this Connector, you can just ask your agent for the data. It pulls the numbers and gives you the answer in seconds. You get a clear picture of your performance without the manual labor.
What Vinkius changes
You get instant access to GA4 data without ever touching a dashboard.
Use it from Claude, ChatGPT, Cursor or another AI client you already have.
One account · 5,900+ Connectors
- Real-world use case 01
Finding traffic sources for a new launch
A marketing manager asks for a breakdown of traffic by channel and country for the last 7 days.
- Real-world use case 02
Identifying checkout friction
A product lead wants to see why people aren't finishing their purchases.
- Real-world use case 03
Troubleshooting a specific user issue
A support agent uses get_user_activity to see the pages a frustrated customer visited before opening a ticket to provide better context.
Complete set · 12capabilities
The complete Google Analytics 4 capability set.
These are the exact actions your AI can choose when you ask it to work with Google Analytics 4.
01—04
4 capabilities in this set.
Part of 12 available through Google Analytics 4.
- 01 Capability
Batch run reports
Run multiple report configurations in one call to load several data points at once. This is great for loading large dashboards quickly.
- 02 Capability
Check compatibility
Verify if your chosen metrics and dimensions can work together before you run a report. This helps you avoid wasted API calls and errors.
- 03 Capability
Get audience export
Check the current status of a specific audience extraction job. Use this to see if your user lists are ready for activation.
- 04 Capability
Get metadata
See every metric and dimension available for your specific GA4 property. This helps you discover what data you can actually query.
05—08
4 capabilities in this set.
Part of 12 available through Google Analytics 4.
- 05 Capability
List accounts
See all the Google Analytics accounts you have access to. Use this to find the right account before drilling down into properties.
- 06 Capability
Get property
View the full configuration details for a specific GA4 property. This is useful for inspecting your measurement stream settings.
- 07 Capability
Get user activity
Fetch the interaction history for a specific user ID to map out their journey. This is perfect for support investigations and user research.
- 08 Capability
List audience exports
View a list of all your current audience export jobs and their statuses. This helps you manage large-scale user segment extractions.
09—12
4 capabilities in this set.
Part of 12 available through Google Analytics 4.
- 09 Capability
List properties
Find the unique property IDs for all your websites and apps. You need these IDs to run any specific reports or queries.
- 10 Capability
Run funnel report
Identify exactly where users drop off in a multi-step conversion path. This helps you find friction in your checkout or signup flows.
- 11 Capability
Run realtime report
Get a snapshot of what's happening on your site over the last 30 to 60 minutes. See live user counts and current traffic sources.
- 12 Capability
Run report
Execute a custom report using your choice of metrics, dimensions, and date ranges. This is the primary way to query your GA4 data.
Set up in minutes
One URL. Then ask Google Analytics 4 to work.
Claude and ChatGPT only need the Connector URL. Copy it once, add it in settings, and use Google Analytics 4 from the conversation.
Choose your client
Live previewAdvanced clients IDE · CLI
Claude · Web + desktop
Connector URL · ready to paste
Streamable HTTPhttps://edge.vinkius.com/vk_preview_v8thcnqdwIs5ecz18LHuEc3p1uB6nf8I9CCTGT2t/mcp - Step 01
Open Connectors
In Claude Web or Claude Desktop, open Settings and choose Connectors.
- Step 02
Add the URL
Choose Add custom connector, name it Google Analytics 4, and paste the URL above.
- Step 03
Turn it on in chat
Select +, open Connectors, and enable Google Analytics 4 for the conversation.
ChatGPT · Web + desktop
Connector URL · ready to paste
Streamable HTTPhttps://edge.vinkius.com/vk_preview_v8thcnqdwIs5ecz18LHuEc3p1uB6nf8I9CCTGT2t/mcp - Step 01
Open MCP settings
On desktop, open Settings and MCP servers. On web, open your workspace app or connector settings.
- Step 02
Add the URL
Choose Add server with Streamable HTTP, or create a custom MCP app, then paste the Google Analytics 4 URL.
- Step 03
Save and start
Save the connection and enable Google Analytics 4 in your conversation. Desktop may ask you to restart once.
Cursor · IDE configuration
Advanced setup
{
"mcpServers": {
"google-analytics": {
"url": "https://edge.vinkius.com/vk_preview_v8thcnqdwIs5ecz18LHuEc3p1uB6nf8I9CCTGT2t/mcp"
}
}
} - Step 01
Open MCP Settings
Press Cmd+Shift+P (macOS) or Ctrl+Shift+P (Windows/Linux) → search "MCP Settings"
- Step 02
Add the server config
Paste the JSON configuration above into the mcp.json file that opens
- Step 03
Save the file
Cursor will automatically detect the new Connector
- Step 04
Start using Google Analytics 4
Open Agent mode in chat and ask: "Using Google Analytics 4, help me...". 12 tools available
VS Code Copilot · IDE configuration
Advanced setup
{
"mcpServers": {
"google-analytics": {
"url": "https://edge.vinkius.com/vk_preview_v8thcnqdwIs5ecz18LHuEc3p1uB6nf8I9CCTGT2t/mcp"
}
}
} - Step 01
Create MCP config
Create a .vscode/mcp.json file in your project root
- Step 02
Add the server config
Paste the JSON configuration above
- Step 03
Enable Agent mode
Open GitHub Copilot Chat and switch to Agent mode using the dropdown
- Step 04
Start using Google Analytics 4
Ask Copilot: "Using Google Analytics 4, help me...". 12 tools available
Windsurf · IDE configuration
Advanced setup
{
"mcpServers": {
"google-analytics": {
"url": "https://edge.vinkius.com/vk_preview_v8thcnqdwIs5ecz18LHuEc3p1uB6nf8I9CCTGT2t/mcp"
}
}
} - Step 01
Open MCP Settings
Go to Settings → MCP Configuration or press Cmd+Shift+P and search "MCP"
- Step 02
Add the server
Paste the JSON configuration above into mcp_config.json
- Step 03
Save and reload
Windsurf will detect the new server automatically
- Step 04
Start using Google Analytics 4
Open Cascade and ask: "Using Google Analytics 4, help me...". 12 tools available
Cline · IDE configuration
Advanced setup
{
"mcpServers": {
"google-analytics": {
"url": "https://edge.vinkius.com/vk_preview_v8thcnqdwIs5ecz18LHuEc3p1uB6nf8I9CCTGT2t/mcp"
}
}
} - Step 01
Open Cline MCP Settings
Click the Connectors icon in the Cline sidebar panel
- Step 02
Add remote server
Click "Add Connector" and paste the configuration above
- Step 03
Enable the server
Toggle the server switch to ON
- Step 04
Start using Google Analytics 4
Ask Cline: "Using Google Analytics 4, help me...". 12 tools available
Claude Code · Terminal command
Advanced setup
claude mcp add google-analytics --transport http "https://edge.vinkius.com/vk_preview_v8thcnqdwIs5ecz18LHuEc3p1uB6nf8I9CCTGT2t/mcp" - Step 01
Install Claude Code
Run npm install -g @anthropic-ai/claude-code if not already installed
- Step 02
Add the Connector
Run the command above in your terminal
- Step 03
Verify the connection
Run claude mcp to list connected servers, or type /mcp inside a session
- Step 04
Start using Google Analytics 4
Ask Claude: "Using Google Analytics 4, show me...". 12 tools are ready
Where the request belongs
Work Google Analytics 4 can move forward.
This is for the marketing and product folks who are tired of digging through dashboards to find simple answers. It's for the people who need to move fast and want their data delivered in plain English.
Marketing Manager
Pulls geographic and channel reports to see which ads are actually driving traffic during a campaign.
Product Manager
Analyzes signup funnels to find exactly where users get stuck or frustrated in the onboarding flow.
Data Analyst
Validates metric combinations and pulls batch data for deeper processing in other business capabilities.
Customer Support
Looks up specific user activity by ID to see what a customer did before reaching out for help.
When one Connector is not enough
Carry the request into a workflow.
Combine Google Analytics 4 with the systems that finish the task.
View all recipesAudit Agency Websites Using Connectors
Your agency manages 15 client Webflow sites but nobody checks if last month's landing page update actually improved conversions , the designer shipped it, the PM marked it done, and the page sits there with a 0.4% conversion rate that nobody measures
MCP Recipe for Agency SEO Dashboards
Your SEO manager manually exports Google Analytics data for 8 clients every Monday morning , and by the time the last client report is done, the first client's data is already a week old
MCP Recipe for Email Campaign Attribution
Your email campaign got a 24% open rate and 3.8% click rate , which tells the client nothing about how many people actually visited the site, filled out a form, or became a paying customer from that email
MCP Recipe to Track Social Media ROI
Your social media manager posts 40 times per week across 8 client accounts but has no idea which posts drive website traffic , they report on likes and shares while the client asks 'but did anyone actually visit our site?'
Build the capability set
Add more capabilities.
Each Connector adds new actions and data without changing how you work.
Browse ConnectorsGoogle Analytics 4
Understand your website and app traffic with event-based analytics that reveal user behavior, conversions, and growth trends.
Matomo
Track website traffic, analyze visitor behavior, and generate detailed analytics reports directly from your AI agent.
Umami Cloud
Privacy-focused web analytics alternative to Google Analytics.
Adobe Analytics
Customer journey insights. retrieve reports, manage segments, and audit metrics via AI.
Simple Analytics
Privacy-first web analytics without cookies. Fetch aggregated stats, export raw data, and manage your websites directly from your AI agent.
Countly
Manage product analytics via Countly. track user sessions, record custom events, and query deep behavioral metrics directly from your AI agent.
Bring your own AI
Change the model, client or framework. Keep Google Analytics 4 connected.
-
Claude -
ChatGPT -
Gemini -
Cursor -
VS Code -
Windsurf -
ZCode -
Cline -
Zed -
Continue -
Kiro -
Roo Code -
Zencoder -
Goose -
Void -
Augment Code -
Amp -
Qodo -
Tabnine -
Pieces -
Sourcegraph Cody -
JetBrains -
Warp -
Amazon Q -
Antigravity -
BoltAI -
Raycast -
Jan -
LM Studio -
AnythingLLM -
Open WebUI -
Msty -
Cherry Studio -
LibreChat -
TypingMind -
Chorus -
5ire -
n8n -
LangChain -
LlamaIndex -
CrewAI -
Vercel AI SDK
Before you connect
Questions about Google Analytics 4.
The practical details behind the request, access and result.
Can I use Google Analytics MCP to see real-time traffic?
Yes, you can see what's happening on your site right now, including live user counts and top pages from the last 30 to 60 minutes.
Does Google Analytics MCP support custom reports?
It does. You can ask for any combination of metrics like sessions or events with dimensions like city, device category, or channel grouping.
How do I see where people drop off in my checkout?
You can ask the agent to run a funnel report. It will break down each step of your flow and show you the exact conversion rate between them.
Can I use Google Analytics MCP to look up specific user journeys?
Yes, if you have a user ID, you can pull their activity history to see every pageview and event they triggered.
Can I check if my report will work before I run it?
You can use the compatibility check to see if your chosen metrics and dimensions are allowed to be used together.
Does Google Analytics MCP work for both web and apps?
Yes, it connects to your GA4 property, which covers both your website and mobile app measurement streams.
How do I get a Google Analytics API key and what type of credentials do I need?
You need an API Key from Google Cloud Console. Go to console.cloud.google.com → Select or create a project → Enable the Google Analytics Data API v1 → Navigate to APIs & Services > Credentials → Click Create Credentials > API Key. Copy the key (starts with AIzaSy...). Then, in Google Analytics Admin, add the service account email with Viewer or Analyst role to your GA4 property. Paste the API key below.
What metrics and dimensions are available in GA4 and how do I find them?
Use the get_metadata capability with your property_id to list all available metrics and dimensions. Common metrics include: activeUsers, screenPageViews, sessions, eventCount, engagementRate, averageSessionDuration, conversions. Common dimensions include: city, country, deviceCategory, sessionDefaultChannelGrouping, pageTitle, pagePath, streamName. The metadata response shows descriptions, types, and whether each field is a metric or dimension.
Can I get realtime data and how far back does it go?
Yes! Use the run_realtime_report capability to get data from the last 30-60 minutes. Realtime reports show active users, events, and traffic sources as they happen on your site. This is useful for monitoring campaign launches, tracking live events, or checking if tracking is working correctly. Unlike standard reports which can take 24-48 hours to process, realtime data is available within minutes.
How do I analyze funnel conversion rates and identify drop-off points?
Use the run_funnel_report capability with a funnel_spec JSON object defining your conversion steps. Each step includes a stepName, filterExpression (e.g., eventName equals 'page_view'), and optional breakdown settings. The response shows how many users entered each step, how many completed it, and where the biggest drop-offs occurred. This helps identify friction points in checkout flows, signup processes, or any multi-step user journey.
One connection away
Give your agent a direct line to Google Analytics 4.
Connect Google Analytics 4 once. Keep it beside 5,900+ managed Connectors when the next task needs more.
Explore every Connector No credit card required · Free tier available