lucianfialho/gmp-cli/gmp-ga-report
Claude Code and agent skill by lucianfialho/gmp-cli
Trust tier 3
- community
Source check pending
Checking that the SKILL.md file is still in the repository.
GA4: Run analytics reports with dimensions, metrics, filters, and date ranges.
Install
npx vskill@latest install lucianfialho/gmp-cli/gmp-ga-reportSKILL.md
ga report
PREREQUISITE: Read../gmp-shared/SKILL.mdfor auth, global flags, and output formats.
Run a GA4 report with dimensions, metrics, filters, and date ranges.
Usage
Flags
| Flag | Required | Default | Description | |
|---|---|---|---|---|
-p, --property <id> | No* | -- | GA4 property ID (numeric) | |
-m, --metrics <list> | Yes | -- | Comma-separated metrics | |
-d, --dimensions <list> | No | -- | Comma-separated dimensions | |
-r, --date-range <range> | No | 30d | Date range: 30d, 7d, yesterday, 2024-01-01..2024-01-31 | |
-l, --limit <n> | No | 10000 | Row limit | |
--filter <expr> | No | -- | Dimension filter (fieldName==value) | |
--sort <field> | No | -- | Sort by a requested metric or dimension name (server-side, via the API's native orderBys) | |
--order <dir> | No | desc | Sort direction: asc, desc | |
--compare <mode> | No | -- | previous_period (equal-length preceding window) or previous_year (same dates, one year back) | |
-f, --format <fmt> | No | json | Output format: json, table, csv |
\* Falls back to gmp config set property. Errors with a clear message if neither is set. See ../gmp-shared/SKILL.md.
Date Range Formats
| Format | Example | Description | |
|---|---|---|---|
| Relative | 30d, 7d, 90d | Last N days | |
| Keywords | today, yesterday | Single day | |
| Absolute | 2024-01-01..2024-01-31 | Custom range |
Examples
Common Metrics
| Metric | Description | |
|---|---|---|
sessions | Total sessions | |
activeUsers | Active users | |
screenPageViews | Page views | |
bounceRate | Bounce rate | |
averageSessionDuration | Avg session duration | |
conversions | Total conversions | |
totalRevenue | Total revenue |
Common Dimensions
| Dimension | Description | |
|---|---|---|
pagePath | Page path | |
sessionDefaultChannelGroup | Channel (Organic, Paid, etc.) | |
country | Country | |
city | City | |
deviceCategory | Device (desktop, mobile, tablet) | |
date | Date (YYYYMMDD) | |
landingPage | Landing page path | |
sessionSource | Traffic source | |
sessionMedium | Traffic medium |
Tips
- Use
gmp ga metadata -p PROPERTY_IDto discover all available metrics/dimensions. - Use
gmp ga checkto validate combinations before running complex reports. --sortmust name a metric or dimension already in-m/-d-- it errors clearly otherwise. Because sorting and-l/--limitboth happen server-side,--sort sessions -l 10gives a true top-10, not a truncate-then-reorder of whatever the API returned first.--compareadds an implicitdateRangedimension to the output (valuescurrent/previous) -- no need to add it to-dyourself.- Pipe JSON output to
jqfor filtering:gmp ga report ... | jq '.[0:5]' - Export to CSV for spreadsheet analysis:
gmp ga report ... -f csv > report.csv
See Also
- gmp-shared -- Global flags and auth
- gmp-ga -- All GA4 commands
Security
- Security scanPassed, 90 of 100Pattern checks on the skill's files.
- Model reviewPassed
Quality evaluation
- Task evaluationNot runNo evaluation yet. Run one in Skill Studio.
Source
- SKILL.md in the repositoryCheckingskills/gmp-ga-report/SKILL.md
Popularity
- 7-day trend score
- 0
Not refreshed yet.
Works with
Any agent vskill installs to: 56 targets in all. These 39 have a page on this site.
- Claude Code
- Cursor
- GitHub Copilot
- Windsurf
- Codex
- Gemini CLI
- Cline
- Amp
- Roo Code
- Goose
- Continue
- Kilo Code
- Junie
- Trae
- OpenHands
- Qwen Code
- AI Agent
- Tabnine Chat
- Sourcegraph Cody
- Amazon Q
- Firebase Genkit
- Sweep
- Devin
- Phind
- Mentat
- Claude Desktop
- Aider
- GPT Pilot
- Plandex
- bolt.new
- v0
- Replit Agent
- Anse
- TypingMind
- BetterChatGPT
- LibreChat
- Warp AI
- Pieces
- Fig AI
Embed badge
[](https://verified-skill.com/skills/lucianfialho/gmp-cli/gmp-ga-report)