ga4-report

Retrieves and analyzes GA4 property report data into JSON summaries and recommendations.

Updated Aug 27, 2026
One-click install
npx skills add https://github.com/takimoto-sketch/medica-agent --skill ga4-report
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: ga4-report
Source: https://github.com/takimoto-sketch/medica-agent/tree/main/.claude/skills/ga4-report
Command: npx skills add https://github.com/takimoto-sketch/medica-agent --skill ga4-report

SYSTEM DOCUMENTATION & REQUIREMENTS

What problem does it solve?

Quickly converts natural-language requests into GA4 property report retrieval and analysis so analysts and product owners do not need to manually craft API queries or parse raw JSON output.

Core Features & Use Cases

  • Preset Reports: Run overview, landing-pages, traffic-source, page-performance, device-breakdown, and geo presets to get common analytics slices.
  • Flexible Queries: Accepts custom date ranges, metrics, dimensions, limits, and orderBy parameters for bespoke analysis.
  • Access Controls & Safety: Honors GA4_PROPERTY_IDS from .env.project to restrict which properties the agent can query.
  • Practical Output: Parses JSON stdout into concise Japanese summaries covering top/bottom items, trends, anomalies, and actionable recommendations for stakeholders.

Quick Start

Run the ga4-report skill to analyze property 123456789 for the last 30 days and return a concise summary, trend analysis, top pages, anomalies, and recommended actions.

Frequently Asked Questions about ga4-report

High-intent search queries and answers about installing and using this skill.

FAQPage Schema
How do I retrieve GA4 report data and get a summary without parsing raw JSON?

Use a GA4 reporting tool to execute bun-based report commands that retrieve property data, parse JSON output, and deliver concise summaries with top pages, trends, and recommendations. This bypasses manual API query crafting and raw JSON parsing for Google Analytics 4 reporting.

What preset reports can I run for Google Analytics 4 property analysis?

Available GA4 preset reports include overview, landing-pages, traffic-source, page-performance, device-breakdown, and geo presets. These provide common analytics slices for quick period-based analysis without requiring custom metric and dimension configuration.

Can I run custom date range queries with specific metrics and dimensions in GA4?

Yes, custom GA4 queries accept flexible date ranges, metrics, dimensions, limits, and orderBy parameters for bespoke analysis. This allows you to tailor Google Analytics 4 property report retrieval beyond standard presets to meet specific reporting requirements.

How does access control work when querying Google Analytics 4 properties?

Access control honors GA4_PROPERTY_IDS from a .env.project file to restrict which Google Analytics 4 properties the agent can query. This ensures secure property retrieval by explicitly defining allowed property identifiers before executing report commands.

What insights are included in the GA4 report analysis output?

The GA4 report analysis output includes concise summaries, time-series trends, top and bottom rankings, anomaly detection, and practical recommendations. These parsed insights from JSON stdout are suitable for stakeholders and downstream automation tasks.