Agent skill · data analytics · mvanhorn
pp-google-analytics
Google Analytics 4 Printing Press CLI for GA4 raw reports, funnels, acquisition/revenue insights, period comparisons, anomaly scans, and property-access health checks.
Why this skill is useful
Adds specific commands and workflows for extracting and analyzing Google Analytics 4 data that the AI wouldn't reliably generate on its own.
What it needs
Requires google-analytics-pp-cli installed locally. Requires google account access. About 2k tokens when loaded. Last updated 2026-08-06. 1,890 stars on the source repository.
What this skill does
pp-google-analytics Prerequisites: Install the CLI This skill drives the google-analytics-pp-cli binary. You must verify the CLI is installed before invoking any command from this skill. If it is missing, install it first: 1. Install via the Printing Press installer into a user bin directory: 2. Verify: google-analytics-pp-cli --version 3. Ensure ~/.local/bin is on $PATH for the agent/runtime that will invoke this skill. If the npx install fails (no Node, offline, etc.), fall back to a direct Go install (requires Go 1.26.6 or newer). This installs into $GOPATH/bin (default $HOME/go/bin), so add that directory to $PATH instead: If --version reports "command not found" after install, the runtime cannot see the binary directory on $PATH. Do not proceed with skill commands until verification succeeds. When to Use This CLI Use this CLI when an agent needs live GA4 property data, acquisition/revenue summaries, ecommerce diagnostics, funnels, period comparisons, anomaly scans, or property-access diagnostics. Use google-search-console-pp-cli for Search Console. Use google-analytics-pp-cli for GA4-only analytics work. Search Console is covered by google-search-console-pp-cli; do not use the legacy combined GSC/GA4 CLI for new work. Auth and property selection Service account key: --credentials, else GOOGLEAPPLICATIONCREDENTIALS. Scope: https://www.googleapis.com/auth/analytics.readonly. Property: pass --property, or set GA4PROPERTYID. Fleet health checks: health --properties $GA4PROPERTYIDS --agent or set GA4PROPERTYIDS. Durable gotcha: Google Cloud API access is not GA4 property access. The service account must be granted Viewer access inside the GA4 property. If health shows token/admin OK but a property check is 403/404, fix the GA4 property grant rather than rotating credentials. Best commands for agents Raw wrappers report, pivot, batch, realtime, metadata, compatibility, properties, property, and streams are available for low-level escape hatches. …
How to use it
Reference it in AdaL, Claude Code, Cursor or any coding agent — nothing to install:
@skills mvanhorn/google-analytics