Loading skill
Install any skill in seconds. Free to start, no credit card required.
Get Started Free →Queries Google Analytics 4 properties via the Analytics Data API for pageviews, sessions, users, traffic sources and conversions.
45% 86%+41 ptsof test cases passed
Passed 19 of 22 test cases with the skill, and 10 of 22 without it.
3 of 3 safety checks passed
Not used yet
Query GA4 properties for analytics data: page views, sessions, users, traffic sources, conversions, and more.
GA4_PROPERTY_ID - Your GA4 property ID (numeric, e.g., "123456789")GOOGLE_CLIENT_ID - OAuth client IDGOOGLE_CLIENT_SECRET - OAuth client secretGOOGLE_REFRESH_TOKEN - OAuth refresh token (from initial auth flow)python3 scripts/ga4_query.py --metric screenPageViews --dimension pagePath --limit 30
python3 scripts/ga4_query.py --metrics screenPageViews,sessions,totalUsers --dimension pagePath --limit 20
python3 scripts/ga4_query.py --metric sessions --dimension sessionSource --limit 20
python3 scripts/ga4_query.py --metric sessions --dimension landingPage --limit 30
python3 scripts/ga4_query.py --metric sessions --dimension pagePath --start 2026-01-01 --end 2026-01-15
Skills that do similar work, with their benchmark result.
Next to this one in the catalogue, plus more from the same author.