A technical skill to query Google Analytics 4 metrics and dimensions directly via the Analytics Data API without third-party proxies.
The fastest way to install a skill directly from the registry.
npx clawhub@latest install native-google-analytics
Copy the skill folder to one of these locations
~/.openclaw/skills/ <project>/skills/ Priority: Workspace > Local > Bundled
Copy this prompt to OpenClaw to install it automatically.
Help me install native-google-analytics using Clawhub. If Clawhub is not installed, install it first (npm i -g clawhub).
Get the raw skill files in a ZIP archive.
The Google Analytics 4 skill for Openclaw Skills provides a robust interface for interacting with the Google Analytics Data API. It allows developers and data analysts to extract granular website performance data, including user behavior, acquisition sources, and conversion metrics, directly within their AI agent workflows. By utilizing official Google Cloud credentials, this skill ensures secure, direct access to analyticsdata.googleapis.com, bypassing the need for middleware.
This integration is essential for those using Openclaw Skills who require real-time or historical data insights to drive decision-making. Whether you are tracking specific event counts or auditing landing page performance, this skill translates complex GA4 schemas into actionable, human-readable tables or machine-parseable JSON formats.
To get started with this skill in Openclaw Skills, follow these steps:
console.cloud.google.com.https://www.googleapis.com/auth/analytics.readonly scope.pip install google-auth-oauthlib
python3 -c "from google_auth_oauthlib.flow import InstalledAppFlow; flow = InstalledAppFlow.from_client_config({'installed': {'client_id': 'YOUR_CLIENT_ID', 'client_secret': 'YOUR_CLIENT_SECRET', 'auth_uri': 'https://accounts.google.com/o/oauth2/auth', 'token_uri': 'https://oauth2.googleapis.com/token'}}, scopes=['https://www.googleapis.com/auth/analytics.readonly']); creds = flow.run_local_server(port=0); print('REFRESH TOKEN:', creds.refresh_token)"
GA4_PROPERTY_ID, GOOGLE_CLIENT_ID, GOOGLE_CLIENT_SECRET, and GOOGLE_REFRESH_TOKEN.The skill interacts with the GA4 schema and outputs data in the following structure:
| Attribute | Description |
|---|---|
| Metrics | Numerical data such as sessions, totalUsers, conversions, and engagementRate. |
| Dimensions | Descriptive attributes like pagePath, sessionSource, landingPage, and date. |
| Date Ranges | Support for --start and --end flags (YYYY-MM-DD format). |
| Filtering | Regex-based filtering on dimensions (e.g., pagePath=~/blog/). |
| Output Format | Default tabular stdout; can be converted to JSON using ` |
Loading
A Python-powered interface for AI agents to read and query Airtable bases, tables, and records via the official API.

A high-performance AI agent skill for fetching web content and Google search results past anti-bot protections and geo-restrictions.

A secure communication bridge that enables China Telecom users to interact with Openclaw Skills through Quantum Secret Instant Messaging.

A professional toolkit for building and managing official Zalo Bot API workflows and personal automation scripts.

A comprehensive tool for querying and managing HubSpot CRM data including contacts, companies, deals, and tickets.

A direct GraphQL API integration for managing Linear issues, teams, projects, and cycles through an AI-ready interface.








































