Google Analytics 4 Connector for AI agents.
12 live capabilities
Query your web traffic and conversion data using natural language.
Waiting for input…
Why people use Google Analytics 4
Google Analytics 4 for Real-Time Web Traffic Analysis
This Connector removes that friction. You just ask your AI agent for the numbers. It pulls the data from your property and puts it into a clean summary. You get your answers in seconds instead of minutes.
What Vinkius changes
You get instant answers to complex web analytics questions without ever opening 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
Campaign ROI Check
A marketing manager wants to know if a new LinkedIn campaign is driving sales.
- Real-world use case 02
Friction Point Identification
A product manager wants to see how many people reached the signup page on mobile.
- Real-world use case 03
High-Value Content Discovery
A growth engineer needs to find the top 10 pages with the highest conversion rates.
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
Get page views
Pull a list of the top 25 pages ranked by views for any date range.
- 02 Capability
Get traffic sources
Identify the session sources and mediums driving your website traffic.
- 03 Capability
Get user demographics
Get a breakdown of your audience by country and geographic region.
- 04 Capability
Run pivot report
Generate pivot reports to see data across multiple dimensions at once.
05—08
4 capabilities in this set.
Part of 12 available through Google Analytics 4.
- 05 Capability
Run report
Run a custom report using specific dimensions, metrics, and date ranges.
- 06 Capability
Batch run reports
Execute multiple report requests in a single command to save time.
- 07 Capability
Check compatibility
Verify if your chosen dimensions and metrics work together before running a report.
- 08 Capability
Get conversions
Retrieve counts and revenue data for your specific conversion events.
09—12
4 capabilities in this set.
Part of 12 available through Google Analytics 4.
- 09 Capability
Get device breakdown
See how many users are on desktop, mobile, or tablet.
- 10 Capability
Get metadata
See every dimension and metric available in your property to plan your reports.
- 11 Capability
List audience exports
See a list of your current audience exports.
- 12 Capability
Run realtime report
Get a snapshot of active users and current page views right now.
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_UmO7U4NMjZu3BRjA290BLgRmFALC6u5wgBjY3hkU/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_UmO7U4NMjZu3BRjA290BLgRmFALC6u5wgBjY3hkU/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-4": {
"url": "https://edge.vinkius.com/vk_preview_UmO7U4NMjZu3BRjA290BLgRmFALC6u5wgBjY3hkU/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-4": {
"url": "https://edge.vinkius.com/vk_preview_UmO7U4NMjZu3BRjA290BLgRmFALC6u5wgBjY3hkU/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-4": {
"url": "https://edge.vinkius.com/vk_preview_UmO7U4NMjZu3BRjA290BLgRmFALC6u5wgBjY3hkU/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-4": {
"url": "https://edge.vinkius.com/vk_preview_UmO7U4NMjZu3BRjA290BLgRmFALC6u5wgBjY3hkU/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-4 --transport http "https://edge.vinkius.com/vk_preview_UmO7U4NMjZu3BRjA290BLgRmFALC6u5wgBjY3hkU/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 manager tired of manual reporting, the product lead tracking feature adoption, and the growth engineer hunting for conversion friction.
Marketing Manager
They use this on Tuesday afternoons to see which specific ad campaigns drove the most high-value conversions over the weekend.
Product Manager
They use this to check how many users are actually reaching the new signup page versus dropping off at the pricing screen.
Growth Engineer
They use this to monitor real-time traffic spikes and identify geographic trends to optimize server load and content delivery.
Build the capability set
Add more capabilities.
Each Connector adds new actions and data without changing how you work.
Browse ConnectorsMatomo
Track website traffic, analyze visitor behavior, and generate detailed analytics reports directly from your AI agent.
Google Analytics
Query GA4 analytics data via Google Analytics API. run reports, check realtime data, analyze funnels, and export audiences directly from any AI agent.
Baidu Analytics / 百度统计
China's leading web analytics platform. audit traffic, track visitors, and query site metrics via AI.
Fathom
Privacy-first website analytics. track visitors, monitor real-time traffic, and manage sites and events directly from your AI agent.
Umami Cloud
Privacy-focused web analytics alternative to Google Analytics.
Simple Analytics
Privacy-first web analytics without cookies. Fetch aggregated stats, export raw data, and manage your websites 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 the Google Analytics 4 MCP to see my real-time traffic?
Yes, you can get a live snapshot of active users and current page views. This allows you to monitor site activity as it happens without refreshing the dashboard.
Does the Google Analytics 4 MCP work with my custom conversions?
It can pull conversion counts and revenue data for your specific events. This makes it easy to track how many people are completing your key business goals.
Can I ask about specific dates with the Google Analytics 4 MCP?
Yes, you can query any specific date range for your reports. This is perfect for comparing week-over-week performance or looking at historical data.
Will the Google Analytics 4 MCP show me where my users are coming from?
It pulls session sources and mediums so you can see your traffic origins clearly. You can identify which channels are driving the most engagement.
Can the Google Analytics 4 MCP help me see which pages are the most popular?
It can retrieve the top pages ranked by views for any period. This helps you quickly identify which content is resonating most with your audience.
Can I run custom reports with specific dimensions and metrics?
Yes! The run_report capability accepts a JSON configuration with dateRanges, dimensions (e.g., pagePath, sessionSource), and metrics (e.g., sessions, screenPageViews, conversions). Use get_metadata to list all available dimensions and metrics, and check_compatibility to verify your combination is valid before running.
Does GA4 require two credentials. an access token and a property ID?
Yes. You need a Google OAuth Access Token (for authentication via Bearer header) and a GA4 Property ID (numeric ID identifying your specific GA4 property). The Access Token can be generated via a Google Cloud Service Account with the Analytics Data API enabled. The Property ID is found in GA4 Admin > Property Settings.
Can I see real-time active users on my website?
Yes. The run_realtime_report capability provides current active user data with real-time dimensions and metrics. For pre-built convenience reports, use get_page_views for top pages, get_traffic_sources for session sources, and get_device_breakdown for device distribution.
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