Requirements
- Target platform
- OpenClaw
- Install method
- Manual import
- Extraction
- Extract archive
- Prerequisites
- OpenClaw
- Primary doc
- SKILL.md
Query Google Analytics 4 (GA4) data via the Analytics Data API. Use when you need to pull website analytics like top pages, traffic sources, user counts, ses...
Query Google Analytics 4 (GA4) data via the Analytics Data API. Use when you need to pull website analytics like top pages, traffic sources, user counts, ses...
Hand the extracted package to your coding agent with a concrete install brief instead of figuring it out manually.
I downloaded a skill package from Yavira. Read SKILL.md from the extracted folder and install it by following the included instructions. Tell me what you changed and call out any manual steps you could not complete.
I downloaded an updated skill package from Yavira. Read SKILL.md from the extracted folder, compare it with my current installation, and upgrade it while preserving any custom configuration unless the package docs explicitly say otherwise. Summarize what changed and any follow-up checks I should run.
Query GA4 properties for analytics data: page views, sessions, users, traffic sources, conversions, and more.
Enable Google Analytics Data API: https://console.cloud.google.com/apis/library/analyticsdata.googleapis.com Create OAuth credentials or use existing Google Cloud project Set environment variables: GA4_PROPERTY_ID - Your GA4 property ID (numeric, e.g., "123456789") GOOGLE_CLIENT_ID - OAuth client ID GOOGLE_CLIENT_SECRET - OAuth client secret GOOGLE_REFRESH_TOKEN - OAuth refresh token (from initial auth flow)
This skill only connects to Google Analytics Data API endpoints. It does NOT write to or modify your GA4 property โ read-only queries only. It does NOT store or transmit credentials beyond the current session. It requires OAuth credentials (client ID, secret, refresh token) set as environment variables.
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
python3 scripts/ga4_query.py --metric screenPageViews --dimension pagePath --filter "pagePath=~/blog/"
Common metrics: screenPageViews, sessions, totalUsers, newUsers, activeUsers, bounceRate, averageSessionDuration, conversions, eventCount
Common dimensions: pagePath, pageTitle, landingPage, sessionSource, sessionMedium, sessionCampaignName, country, city, deviceCategory, browser, date
Default: Table format Add --json for JSON output Add --csv for CSV output
Code helpers, APIs, CLIs, browser automation, testing, and developer operations.
Largest current source with strong distribution and engagement signals.