Skip to content
Research
Skill

/ga4-limitations

GA4 Data API boundaries: 10-dimension limit, 100,000 row caps, hourly token quotas, and sampling thresholds. How to query safely within API limits.

From plugin
google-analytics-mcp
24417 skills

Claude Code

$ npx -y skills add surendranb/google-analytics-mcp --skill ga4-limitations --agent claude-code

SKILL.md

ga4-limitations.SKILL.md
name: ga4-limitations
titleTag: "GA4 API Quotas, Token Limits & Cardinality Guard"
description: "GA4 Data API boundaries: 10-dimension limit, 100,000 row caps, hourly token quotas, and sampling thresholds. How to query safely within API limits."

GA4 API Limitations, Quotas & Cardinality Boundaries

What the Google Analytics 4 Data API can and cannot do, where to find alternate data sources, and how to query within Google Cloud quota boundaries.

Capabilities & Workaround Matrix

| Analytical Requirement | Available in GA4 Data API? | Recommended Alternative | |---|---|---| | **Multi-Step Funnel Visualizations** | Partial (Aggregate e-commerce metrics only) | **GA4 UI β†’ Explore β†’ Funnel Exploration** | | **Cohort Retention Over Time** | No (API does not expose `runCohortReport`) | **GA4 UI β†’ Explore β†’ Cohort Exploration** | | **Individual User Clickstreams / Journeys** | No (API returns aggregated rows only) | **BigQuery Export (Raw Event Tables)** | | **Segment Overlap / Venn Diagrams** | No (Aggregate dimension cuts only) | **BigQuery or GA4 Explore Comparisons** | | **Realtime User Event Streams** | Limited (Last 30-minute summary only) | **GA4 UI β†’ Realtime Report** | | **Google Search Console Clicks & Queries** | Separate API (Not in GA4 Data API) | **Google Search Console MCP Server** | | **Historical Data Prior to GA4 Migration** | No (Universal Analytics data is separate) | **BigQuery UA Archive Tables** |

---

Technical API Limits & Guardrails

When querying GA4 through an agent, keep requests within Google's structural limits:

1. **Maximum Dimensions per Request:** 10 dimensions. Attempting to pass 11 dimensions returns an API validation error. 2. **Maximum Metrics per Request:** 10 metrics. 3. **Maximum Rows Returned:** 100,000 rows per query response (subject to client memory limits). 4. **Hourly Token Quotas:** Standard properties receive 25,000 tokens per hour; GA4 360 properties receive 250,000 tokens per hour.

---

When to Use BigQuery vs. GA4 MCP

  • **Use GA4 MCP** for conversational exploration, executive reporting, attribution channel audits, e-commerce summaries, and ad-hoc troubleshooting inside Claude, Cursor, or your terminal.
  • **Use BigQuery Export** when you require row-level user journey tracking, machine learning feature engineering, joining analytics with CRM database tables, or querying data older than GA4's 14-month user data retention limit.
Read more
@surendranb
Ships withgoogle-analytics-mcp

Model Context Protocol (MCP) server for Google Analytics 4: real-time query exploration, schema discovery, metric aggregation, and audience insights for AI agents. 🌐 Live Documentation & Web Portal:

Stars on GitHub

Momentum

stars in total
244
Star history of surendranb/google-analytics-mcp on GitHub, a chart by star-history.com

Other skills on google-analytics-mcp.

More skills from other plugins.

academic-paper-review

academic-paper-review

Use this skill when the user requests to review, analyze, critique, or summarize academic papers, research articles, preprints,…

deer-flow10d85k
@bytedance@bytedanceInstall Skill
last30days

last30days

Research what people actually say about any topic in the last 30 days. Pulls posts and engagement from Reddit, X, YouTube,…

@mvanhorn@mvanhornInstall Skill

Questions about ga4-limitations.

Which coding agents can use ga4-limitations?
ga4-limitations installs in Claude Code, Codex, Cursor, Gemini CLI, GitHub Copilot, OpenCode and Windsurf with the skills CLI, using each agent's flag shown on this page. Flowy's auto-invocation, which fires a skill when your prompt matches, runs in Claude Code only.