surendranb

Compatible Combinations — Development skill for Claude Code

Development community

Compatible Dimension and Metric Combinations.

How to install Compatible Combinations

Installs to ~/.claude/skills/surendranb-google-analytics-mcp-compatible-combinations/SKILL.md

Terminal
mkdir -p ~/.claude/skills/surendranb-google-analytics-mcp-compatible-combinations && curl -fsSL https://raw.githubusercontent.com/surendranb/google-analytics-mcp/HEAD/skills/compatible-combinations.md -o ~/.claude/skills/surendranb-google-analytics-mcp-compatible-combinations/SKILL.md

Restart Claude Code, or start a new session, for it to be picked up.

What Compatible Combinations does

Compatible Dimension and Metric Combinations

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."

The core rule

GA4 data is scoped at three levels: **event**, **session**, and **user**. Mixing dimensions and metrics from incompatible scopes causes errors.

Scope Example dimensions Example metrics
Event eventName, `customE

Alternatives in Development

  • North Star Metric — Define North Star Metric and input metrics constellation 7.8k ★
  • Browser Tools MCP — Monitor browser logs directly from Cursor and other MCP compatible IDEs 7.2k ★
  • Pi Skills — Skills for pi coding agent (compatible with Claude Code and Codex CLI) 1.3k ★

Full documentation available on GitHub

View Source Repository