ga4-limitations

ga4-limitations is a skill for Claude Code from surendranb/google-analytics-mcp. It costs 40 tokens per session (561 once invoked), scanned A, original, MIT.

A reference guide to the limits of the Google Analytics 4 Data API, which provides aggregated website and app usage data. It explains which analyses require the GA4 interface or a BigQuery data export.

In plain words
What is it for?
Use it when planning funnel, cohort, path, real-time, segment-overlap, or event-level analysis in GA4.
Why use it?
It helps prevent attempts to obtain data the API does not expose, such as individual user journeys or raw events.

Skill for Claude Code

Written for Claude Code: shipped in a Claude Code plugin.

Part of the google-analytics-mcp plugin — 18 skills, 1 MCP server shipped together

Good fit Use it when planning funnel, cohort, path, real-time, segment-overlap, or event-level analysis in GA4.

Compare 6 skills from other repositories ↓
Install with agentmods
npx agentmods add skills/surendranb/google-analytics-mcp/ga4-limitations
Install

Getting it into your agent

One page per mod, every tool's command on it. A separate URL per tool would split the same page into five that compete with each other.

Any agent
npx skills add surendranb/google-analytics-mcp --skill ga4-limitations
Clone the repo
git clone --depth 1 https://github.com/surendranb/google-analytics-mcp

Made for: Claude Code.

Or install google-analytics-mcp, the plugin that ships this one along with the rest of its 18 skills, 1 MCP server.

Wrote this? Show the measurements

A badge with what this costs and how it scanned, read live from this page, so it follows the numbers instead of freezing them. Markdown for a README, HTML for a documentation site or a project page.

agentmods badge for ga4-limitations

README.md
[![agentmods](https://agentmods.dev/badge/skills/surendranb/google-analytics-mcp/ga4-limitations/github.svg)](https://agentmods.dev/skills/surendranb/google-analytics-mcp/ga4-limitations)
Your own site
<a href="https://agentmods.dev/skills/surendranb/google-analytics-mcp/ga4-limitations"><img src="https://agentmods.dev/badge/skills/surendranb/google-analytics-mcp/ga4-limitations/github.svg" alt="Measured on agentmods" height="20"></a>

Or the 80×15 button, for a site that already has a row of RSS and ATOM ones. Only the verdict fits; the numbers stay here.

agentmods 80×15 button for ga4-limitations

Your own site · 80×15
<a href="https://agentmods.dev/skills/surendranb/google-analytics-mcp/ga4-limitations"><img src="https://agentmods.dev/badge/skills/surendranb/google-analytics-mcp/ga4-limitations.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 40 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 561 The whole file, excluding the scripts and references it only reads on demand.
Security scan A 0 findings. A grade says what 26 rules found in the file — not that it is safe. Third-party audits
  • NVIDIA SkillSpector pass 7 Sept 2026
How audits are shown
Origin original No closer match found in the catalogue.
Token cost

What it costs to keep this loaded

Counted locally with the o200k_base tokenizer, which is exact for GPT models; Claude uses its own tokenizer and its counts differ. Treat this as one consistent yardstick across the catalogue rather than a bill. Prices are per million input tokens.

ModelPer sessionOnce invoked
Fable 5.1 $0.00040 $0.00561
Opus 5.5 $0.00016 $0.00224
Sonnet 5.5 $0.00008 $0.00112
Haiku 4.5 $0.00004 $0.00056

Measured 23d ago against content hash cc777406846c, method: parsed. Prices are Anthropic first-party input rates as of 2026-10-07, from the pricing page.

Security

Grade A, and why

ga4-limitations scanned grade A with 0 findings against 26 rules in 11 categories — prompt injection, anti-refusal, data exfiltration, privilege escalation, supply chain, agent snooping, system-prompt leakage, SSRF and excessive agency — measured 23d ago.

A static scan of the body, not an audit. Every finding is printed with the line that produced it so you can judge whether it matters here. A mod is markdown that instructs an agent; that is exactly why what it instructs is worth reading.

Nothing flagged

None of the 26 patterns this scan looks for appear in this file: no shell pipes, no recursive deletes, no credential paths, no hidden text, no instruction-override or anti-refusal phrasing, no agent-config snooping. That is not a guarantee, it is the absence of the things that are checkable.

skills/ga4-limitations/SKILL.md · 39 lines

How it starts

The opening of the file, as written. The whole thing — 39 lines — stays where its author put it; the contents beside it link to each section on GitHub.

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 the full file on GitHub · 39 lines

Changes

What this file has done since we first saw it

Hashed on every crawl. A supply-chain change to an agent config is a question of when, not whether, so the history is kept rather than the latest state alone.

  1. 23d ago Changed · +2 lines · +3 tokens per session cc777406846c
  2. 3mo ago First seen · 37 lines · 37 tokens per session scan A e5ed4ba5bd07

Subscribe to this mod's changes

ga4-limitations is a skill published in the GitHub repository surendranb/google-analytics-mcp (242 stars, last pushed 4d ago), licensed MIT. It adds 40 tokens to every session and 561 once invoked, about $0.0002 per session on Opus 5.5. A static security scan graded it A with 0 findings. No closer match exists in the catalogue, so it is treated as the original; first seen 2026-08-30.

Related

ga4-limitations compared with skills from other repositories

ga4-limitations next to 6 skills from other repositories
ModTypeStarsLast pushLicenceScanTokensWorks with
ga4-limitationssurendranb/google-analytics-mcpSkill2424d agoMITA40Claude Code
fastapi-senior-devgeorgekhananaev/claude-skills-vaultSkill329d agoMITA39Claude Code
pydantic-modelgeorgekhananaev/claude-skills-vaultSkill329d agoMITA28Claude Code
sinch-functions-nodesinch/sinch-pluginsSkill64d agoApache-2.0A84Claude Code, Codex
better-authgeorgekhananaev/claude-skills-vaultSkill329d agoMITA62Claude Code
sinch-functions-dotnetsinch/sinch-pluginsSkill64d agoApache-2.0A94Claude Code, Codex
sinch-functions-dotnetsinch/sinch-pluginsSkill64d agoApache-2.0A94Claude Code, Codex