ga4
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, sessions, conversions, or any GA4 metrics/dimensions. Supports custom date ranges and filtering.
Why use this skill?
Use the GA4 OpenClaw skill to query website traffic, user metrics, and conversion data directly from Google Analytics 4 with simple conversational prompts.
Install via CLI (Recommended)
clawhub install openclaw/skills/skills/jdrhyne/ga4What This Skill Does
The ga4 skill acts as a powerful bridge between OpenClaw and your Google Analytics 4 (GA4) property. It leverages the Google Analytics Data API to execute read-only queries against your website data. Whether you are trying to understand high-level traffic trends, identify top-performing content, or analyze conversion paths, this tool abstracts the complexity of API calls into simple, conversational interactions. It supports a wide array of metrics (such as active users, sessions, and bounce rates) and dimensions (like page paths, devices, and traffic sources), making it a comprehensive solution for data-driven decision-making within your workflow.
Installation
To install this skill, use the ClawHub CLI command: clawhub install openclaw/skills/skills/jdrhyne/ga4. Once installed, you must perform a one-time configuration in your environment. You will need to enable the Google Analytics Data API in the Google Cloud Console and generate OAuth credentials. Finally, ensure the following environment variables are securely set: GA4_PROPERTY_ID, GOOGLE_CLIENT_ID, GOOGLE_CLIENT_SECRET, and GOOGLE_REFRESH_TOKEN. Once these are configured, the agent will automatically authenticate your requests.
Use Cases
- Content Performance Analysis: Determine which blog posts or landing pages drive the most engagement.
- Marketing Attribution: Identify which sources or campaigns are responsible for the most incoming traffic.
- User Segmentation: Analyze audience behavior by device, city, or country to tailor your content strategy.
- Periodic Reporting: Automate the generation of weekly or monthly traffic reports without needing to manually log into the GA4 dashboard.
- Conversion Tracking: Monitor key event counts and conversion metrics to evaluate the effectiveness of call-to-actions.
Example Prompts
- "What were the top 10 most visited pages on our site last week, and how many unique users did each receive?"
- "Show me the session breakdown by traffic source for the month of January 2026."
- "List the top 20 landing pages that resulted in a conversion for our blog section."
Tips & Limitations
- The skill is strictly read-only; it cannot modify or delete your analytics data, making it safe for organizational use.
- Ensure your date ranges follow the YYYY-MM-DD format to avoid query errors.
- For large data sets, use the
--jsonor--csvoutput flags to pipe the results into other analytical tools for deeper processing. - Always keep your refresh tokens secure; do not share your environment files.
Metadata
Not sure this is the right skill?
Describe what you want to build — we'll match you to the best skill from 16,000+ options.
Find the right skillPaste this into your clawhub.json to enable this plugin.
{
"plugins": {
"official-jdrhyne-ga4": {
"enabled": true,
"auto_update": true
}
}
}Tags(AI)
Flags: external-api
Related Skills
nutrient-openclaw
OpenClaw-native PDF/document processing skill for Nutrient DWS. Best for OpenClaw users who need PDF conversion, OCR, text/table extraction, PII redaction, watermarking, digital signatures, and API credit checks via built-in `nutrient_*` tools. Triggers on OpenClaw tool names (`nutrient_convert_to_pdf`, `nutrient_extract_text`, etc.), "OpenClaw plugin", "Nutrient OpenClaw", and document-processing requests in OpenClaw chats. For non-OpenClaw environments, use the Universal Nutrient Document Processing skill instead.
todo-tracker
Persistent TODO scratch pad for tracking tasks across sessions. Use when user says "add to TODO", "what's on the TODO", "mark X done", "show TODO list", "remove from TODO", or asks about pending tasks. Also triggers on heartbeat to remind about stale items.
sysadmin-toolbox
Tool discovery and shell one-liner reference for sysadmin, DevOps, and security tasks. AUTO-CONSULT this skill when the user is: troubleshooting network issues, debugging processes, analyzing logs, working with SSL/TLS, managing DNS, testing HTTP endpoints, auditing security, working with containers, writing shell scripts, or asks 'what tool should I use for X'. Source: github.com/trimstray/the-book-of-secret-knowledge
munger-observer
Daily wisdom review applying Charlie Munger's mental models to your work and thinking. Use when asked to review decisions, analyze thinking patterns, detect biases, apply mental models, do a "Munger review", or run the Munger Observer. Triggers on scheduled daily reviews or manual requests like "run munger observer", "review my thinking", "check for blind spots", or "apply mental models".
jira
Use when the user mentions Jira issues (e.g., "PROJ-123"), asks about tickets, wants to create/view/update issues, check sprint status, or manage their Jira workflow. Triggers on keywords like "jira", "issue", "ticket", "sprint", "backlog", or issue key patterns.