google-analytics
Google Analytics API integration with managed OAuth. Manage accounts, properties, and data streams (Admin API). Run reports on sessions, users, page views, and conversions (Data API). Use this skill when users want to configure or query Google Analytics. For other third party apps, use the api-gateway skill (https://clawhub.ai/byungkyu/api-gateway).
Why use this skill?
Connect OpenClaw to Google Analytics via Maton's API gateway. Automate reports, manage accounts, and track metrics with ease using this powerful integration skill.
Install via CLI (Recommended)
clawhub install openclaw/skills/skills/rich-song/google-analytics-apiWhat This Skill Does
The google-analytics skill provides seamless integration between OpenClaw and the Google Analytics API. It acts as a bridge using Maton's managed OAuth, allowing users to perform administrative tasks via the Admin API and generate data insights through the Data API. By handling authentication tokens automatically, the skill enables developers and analysts to interact with accounts, properties, data streams, and reporting metrics without managing complex OAuth flows manually. It simplifies complex API interactions into accessible, actionable requests.
Installation
To install this skill, use the OpenClaw command-line interface. Run the command: clawhub install openclaw/skills/skills/rich-song/google-analytics-api. After installation, ensure you have your MATON_API_KEY set as an environment variable. Navigate to https://ctrl.maton.ai to establish the necessary google-analytics-admin and google-analytics-data connections. Without these active connections, the agent will be unable to authenticate with Google's servers.
Use Cases
This skill is designed for data-driven professionals. Common use cases include:
- Automating the retrieval of daily session statistics and page view counts to populate internal dashboards.
- Managing Google Analytics infrastructure programmatically, such as listing all available properties or data streams under a specific account.
- Configuring automated reporting schedules where the agent queries the API to pull conversion data for specific marketing campaigns.
- Auditing existing analytics setups across multiple client accounts by listing account summaries.
Example Prompts
- "List all my Google Analytics properties and their associated data streams so I can verify my tracking setup."
- "Run a report for the last 30 days showing total active users by city for my primary web property."
- "Check if I have an active connection for the Google Analytics Data API and if not, help me set it up."
Tips & Limitations
The Admin and Data APIs require separate, distinct connections in the Maton control panel. Ensure you have authorized both if you intend to perform both management tasks and reporting. Note that this skill proxies requests to Google’s native APIs; therefore, standard Google Analytics rate limits and quota restrictions apply. If your reporting queries are too complex, you may encounter latency. Always ensure your environment variable MATON_API_KEY is securely stored and never hardcoded in shared scripts.
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-rich-song-google-analytics-api": {
"enabled": true,
"auto_update": true
}
}
}Tags(AI)
Flags: external-api