Technical Specification & Formula
GA4 Data API v1 Tools: ga4_list_properties • ga4_run_report (dimensions: sessionSourceMedium, pagePath, country; metrics: activeUsers, sessions, conversions)
Step-by-Step: Google Analytics 4 (GA4) MCP Server
- Connect GA4 Property via Google OAuth. Authorize read-only GA4 Data API access and select your target property.
- Paste mcpServers Config into Claude or Cursor. Add the generated JSON snippet to claude_desktop_config.json or .cursor/mcp.json.
- Run Cross-Channel Growth Audits. Query week-over-week landing page anomalies, top converting organic pages, and AI referral sources.
Frequently Asked Questions
- Can I query GA4 and Google Search Console together in the same prompt?
- Yes! Because Cerilas Google Marketing MCP unifies GA4, GSC, and Google Ads under a single MCP key, Claude can correlate GSC impressions with GA4 on-site conversion rates in one step.
- Can GA4 MCP track referral traffic from ChatGPT and Perplexity?
- Yes. Ask your AI client to filter sessionSource for chatgpt.com, perplexity.ai, claude.ai, and gemini.google.com to measure AI search referral conversions.
More Connect ChatGPT to Google Analytics & Search Console Workflows
- Full Connect ChatGPT to Google Analytics & Search Console Workspace — Bridge your ChatGPT, Claude Desktop, or Cursor IDE to Google Analytics 4 and Google Search Console using the Model Context Protocol (MCP). Zero coding required.
- Google Search Console MCP Server — Connect Google Search Console to Claude Desktop, Cursor, and Windsurf via MCP. Query live GSC keywords, CTR, impressions, and indexing data with natural language.
Related Free AI Tools
- AI Visibility Checker — Check whether ChatGPT, Gemini and Perplexity cite your website, mention your brand, or recommend competitors instead. Free, no sign-up, results in about a minute.
- Website Email & Department Extractor — Crawl websites to extract verified email addresses mapped into Executive, Sales, HR, Engineering, Support, and Legal units without AI hallucinations.
- Universal Token Counter — Accurately count tokens and estimate API inference costs across OpenAI, Anthropic, Google Gemini, and DeepSeek tokenizer algorithms.
GrowthControl — Track AI Visibility in ChatGPT, Gemini, Perplexity & Claude →
Audit whether AI search engines mention and cite your brand with our free AI Brand Visibility Checker.