← Back to Skills Marketplace
🔌

Google Analytics

by OOMOL · GitHub ↗ · v1.0.0 · MIT-0
cross-platform ✓ Security Clean
30
Downloads
0
Stars
0
Active Installs
1
Versions
Install in OpenClaw
/install oo-google-analytics
Description
Google Analytics (analytics.google.com). Use this skill for ANY Google Analytics request — reading, creating, and updating data. Whenever a task involves Goo...
README (SKILL.md)

Google Analytics

Operate Google Analytics through your OOMOL-connected account. This skill calls the google_analytics connector with the oo CLI; OOMOL injects credentials server-side, so you never handle raw tokens.

Category: Data & Analytics, Marketing. Exposes 28 action(s).

Running an action

Assume the user has already installed the oo CLI, signed in, and connected Google Analytics. Do not run oo auth login or open the connection URL proactively — just run the action. Fall back to First-time setup only when a command actually fails with an auth or connection error.

1. Inspect the contract to get the authoritative input/output schema before building a payload:

oo connector schema "google_analytics" --action "\x3Caction_name>"

2. Run the action with a JSON payload that matches the input schema:

oo connector run "google_analytics" --action "\x3Caction_name>" --data '\x3Cjson>' --json
  • --data takes a JSON object string or @path/to/file.json; omit it to send {}.
  • The response is { "data": ..., "meta": { "executionId": "..." } }; the execution id lives under meta.executionId.

Each action below links to a reference file with its purpose and exact commands. Read the linked file, then fetch the live schema with oo connector schema before constructing --data.

Available actions

  • archive_custom_dimension — Archive a Google Analytics custom dimension that should no longer be available for reporting configuration.
  • archive_custom_metric — Archive a Google Analytics custom metric that should no longer be available for reporting configuration.
  • batch_run_pivot_reports — Run up to five Google Analytics Data API pivot reports in one batch request for a single property.
  • batch_run_reports — Run up to five Google Analytics Data API reports in one batch request for a single property.
  • check_compatibility — Check whether selected Google Analytics dimensions and metrics can be queried together.
  • create_custom_dimension — Create a Google Analytics custom dimension so reporting can use a business-specific event, user, or item attribute.
  • create_custom_metric — Create a Google Analytics custom metric so reports can measure business-specific event values.
  • get_metadata — Get available dimensions and metrics for a Google Analytics property before building reports.
  • get_property_overview — Get the key setup details for a Google Analytics property before choosing reports.
  • get_property_quotas_snapshot — Get the Google Analytics Data API quota snapshot for a property without running a report.
  • list_account_summaries — List Google Analytics accounts and property summaries visible to the connected Google account.
  • list_custom_dimensions — List custom dimensions configured on a Google Analytics property.
  • list_custom_metrics — List custom metrics configured on a Google Analytics property.
  • list_data_streams — List data streams configured on a Google Analytics property.
  • list_properties — List Google Analytics properties visible to the connected account as user-selectable options. Use this first when the user does not know their GA4 propertyId.
  • list_properties_filtered — List Google Analytics properties matching a known Admin API filter such as parent:accounts/123. Use list_properties first when the account or propertyId is unknown.
  • run_acquisition_report — Run a Google Analytics acquisition report showing where sessions and users came from.
  • run_engagement_report — Run a Google Analytics engagement trend report for users, sessions, and engagement quality.
  • run_events_report — Run a Google Analytics events report for event volume, users, key events, and value.
  • run_geography_report — Run a Google Analytics geography report for users, sessions, and key events by location.
  • run_key_events_report — Run a Google Analytics key events report for key event volume and conversion rates.
  • run_pages_report — Run a Google Analytics pages report for page views, users, sessions, and engagement.
  • run_pivot_report — Run a Google Analytics Data API pivot report for cross-tabbed reporting views.
  • run_realtime_report — Run a Google Analytics realtime report for currently active users and events.
  • run_report — Run a Google Analytics Data API report for selected dimensions, metrics, and date ranges.
  • run_technology_report — Run a Google Analytics technology report for device, browser, and operating system performance.
  • update_data_retention_settings — Update Google Analytics property data retention settings for event data and user activity reset behavior.
  • update_property — Update Google Analytics property settings such as display name, industry category, time zone, or currency.

Safety

  • Read actions (get / list / search) are safe to run directly.
  • Create, update, send, or post actions change Google Analytics state — confirm the exact payload and effect with the user before running.
  • Delete or remove actions are destructive — always confirm the target and get explicit approval first.

First-time setup

These are one-time steps — do not repeat them on every call. Run a step only when a command fails for the matching reason.

  • oo: command not found — install the oo CLI (other platforms: \x3Chttps://cli.oomol.com/install-guide.md>):

    curl -fsSL https://cli.oomol.com/install.sh | bash    # macOS / Linux
    
    irm https://cli.oomol.com/install.ps1 | iex           # Windows PowerShell
    
  • Not signed in / authentication error — sign in to your OOMOL account once:

    oo auth login
    
  • scope_missing / credential_expired / app_not_ready / app_not_found — Google Analytics is not connected, or the connection expired or lacks a scope. Connect once (auth type: OAuth2) at:

    https://console.oomol.com/app-connections?provider=google_analytics
    
  • HTTP 402 / OOMOL_INSUFFICIENT_CREDIT — billing stop. Recharge at https://console.oomol.com/billing/token-recharge before retrying.

Resources

Usage Guidance
Before installing, understand that this skill can read Google Analytics data and, if your connected account has permission, change GA4 configuration such as custom dimensions, custom metrics, property settings, retention settings, and archived custom definitions. Confirm the exact property and payload before any create, update, or archive action.
Capability Assessment
Purpose & Capability
The skill is explicitly for Google Analytics reporting and GA4 configuration management, and its listed actions match that purpose, including read reports, metadata lookup, custom dimension/metric creation, property updates, data retention updates, and archiving custom definitions.
Instruction Scope
The trigger wording says to use the skill for any Google Analytics request, which is broad, but the runtime instructions are scoped to the OOMOL google_analytics connector, require schema inspection before payload construction, and require user confirmation for create/update/write-style changes. Archive actions should also be treated as state-changing even though their per-action files omit the write-action warning.
Install Mechanism
The skill is markdown-only and allows only Bash commands matching oo *. It documents curl/PowerShell installer commands for the oo CLI as first-time fallback steps only after command-not-found, not as automatic install behavior.
Credentials
Use of an external OOMOL connector and Google Analytics OAuth connection is proportionate to the stated integration purpose, and the artifact states credentials are injected server-side rather than exposing raw tokens to the agent.
Persistence & Privilege
The skill can perform Google Analytics write actions through the connected account, but it does not add local persistence, background workers, broad local indexing, or credential harvesting. Account connection persistence is delegated to OOMOL/Google OAuth setup.
How to Use
  1. Make sure OpenClaw is installed (local or Docker)
  2. Run the install command in chat: /install oo-google-analytics
  3. After installation, invoke the skill by name or use /oo-google-analytics
  4. Provide required inputs per the skill's parameter spec and get structured output
Version History
v1.0.0
- Adds an OOMOL-powered Google Analytics skill for operating GA4 through the `google_analytics` connector without handling raw credentials locally. - Supports account and property discovery, including account summaries, property lists, filtered property lookup, data streams, property overview, metadata, and quota snapshots. - Provides flexible reporting actions for standard, realtime, pivot, and batch reports across selected dimensions, metrics, and date ranges. - Includes focused report helpers for acquisition, engagement, events, key events, pages, geography, and technology analytics. - Supports GA4 configuration management for custom dimensions, custom metrics, property settings, and data retention settings. - Documents safe execution patterns, including schema inspection before each action and confirmation requirements for write or destructive operations.
Metadata
Slug oo-google-analytics
Version 1.0.0
License MIT-0
All-time Installs 0
Active Installs 0
Total Versions 1
Frequently Asked Questions

What is Google Analytics?

Google Analytics (analytics.google.com). Use this skill for ANY Google Analytics request — reading, creating, and updating data. Whenever a task involves Goo... It is an AI Agent Skill for Claude Code / OpenClaw, with 30 downloads so far.

How do I install Google Analytics?

Run "/install oo-google-analytics" in the OpenClaw or Claude Code chat to install it in one step — no extra setup required.

Is Google Analytics free?

Yes, Google Analytics is completely free, licensed under MIT-0. You can download, install and use it at no cost.

Which platforms does Google Analytics support?

Google Analytics is cross-platform and runs anywhere OpenClaw / Claude Code is available (cross-platform).

Who created Google Analytics?

It is built and maintained by OOMOL (@oomol); the current version is v1.0.0.

💬 Comments