Google Analytics MCP

Google Analytics MCP from surendranb/google-analytics-mcp.

by @surendranb 15 skills

Skills in this plugin

15
  1. ▌
    Ua To Ga4 · surendranb
    Universal Analytics (UA) and GA4 use different names for equivalent concepts. UA was sunset on 2023-07-01; models trained before or around then guess UA field names that no longer exist in the GA4 Data API. On 2024-05-06 GA4 also renamed "conversions" to "key events" (see the conversions rows below). If a name feels obviously right but returns "Invalid metric/dimension", assume your training predates the change and verify with `search_schema`. This skill gives the correct GA4 Data API name for every common UA metric and dimension.
    244 repo stars
  2. ▌
    Date Ranges · surendranb
    How to specify date ranges in `get_ga4_data` and how to structure period-over-period comparisons.
    244 repo stars
  3. ▌
    Ga4 Limitations · surendranb
    What this MCP **cannot** do via the GA4 Data API, and where to go instead. Attempting these will either fail or produce meaningless aggregate data.
    244 repo stars
  4. ▌
    Attribution Scope · surendranb
    GA4 has three distinct attribution scopes. Using the wrong scope gives misleading results. Choose based on the question you are answering.
    244 repo stars
  5. ▌
    Custom Dimensions · surendranb
    How to find and query property-specific custom dimensions in GA4.
    244 repo stars
  6. ▌
    Filter Structures · surendranb
    The correct shape for `dimension_filter` in `get_ga4_data`. Wrong structure returns an "Invalid dimension_filter" error. Use these templates.
    244 repo stars
  7. ▌
    Traffic Diagnosis · surendranb
    Systematically diagnose why traffic changed — spike, drop, or shift in mix. Follow these steps in order. Each step narrows the hypothesis.
    244 repo stars
  8. ▌
    Ecommerce Analysis · surendranb
    Revenue, conversion rate, AOV, and funnel drop-off using GA4 ecommerce events.
    244 repo stars
  9. ▌
    Channel Acquisition · surendranb
    Break down sessions and users by traffic source, medium, and channel group to understand where your audience comes from and which channels perform best.
    244 repo stars
  10. ▌
    Common Metric Names · surendranb
    The correct GA4 Data API names for fields models most often get wrong. Use these before calling `get_ga4_data` — wrong names return a hard error.
    244 repo stars
  11. ▌
    Content Performance · surendranb
    Identify top-performing pages, find underperforming content, and understand engagement patterns across your site.
    244 repo stars
  12. ▌
    AI Referral Analysis · surendranb
    Measure traffic arriving from AI tools — ChatGPT, Claude, Perplexity, Gemini, Copilot, and others — and understand how it behaves compared to other channels.
    244 repo stars
  13. ▌
    Bot Traffic Detection · surendranb
    Identify and exclude bot, scraper, and spam sessions from GA4 data.
    244 repo stars
  14. ▌
    Compatible Combinations · surendranb
    GA4 enforces strict rules about which dimensions and metrics can appear in the same request. Incompatible combinations return a 400 error: "The request's dimensions & metrics are incompatible."
    244 repo stars
  15. ▌
    Geo Device Segmentation · surendranb
    Break down user behaviour by country, city, device category, and OS to understand regional patterns and optimise for your key markets.
    244 repo stars