Google Analytics for Openclaw

A powerful integration for managing Google Analytics accounts and automating data reporting through a secure, CLI-driven interface.

membranedev
v1.0.0
Mar 7, 2026
0
296
0

Install & Download

1. ClawHub CLI

The fastest way to install a skill directly from the registry.

npx clawhub@latest install google-analytics-integration

2. Manual Installation

Copy the skill folder to one of these locations

Global
~/.openclaw/skills/
Workspace
<project>/skills/

Priority: Workspace > Local > Bundled

3. Prompt Installation

Copy this prompt to OpenClaw to install it automatically.

Help me install google-analytics-integration using Clawhub. If Clawhub is not installed, install it first (npm i -g clawhub).

Prefer to download?

Get the raw skill files in a ZIP archive.

What is Google Analytics?

The Google Analytics skill for Openclaw Skills provides a robust bridge between your development environment and the GA4 API. By leveraging the Membrane framework, this skill eliminates the complexity of OAuth2 authentication and token management, allowing developers to focus on data extraction and property configuration. Whether you are managing multiple accounts or building automated reporting pipelines, this tool ensures secure and efficient communication with Google Analytics services.

Utilizing this skill within the Openclaw Skills ecosystem enables seamless integration of web traffic insights into your broader automation workflows. It provides pre-built actions for common tasks like listing properties, managing data streams, and running complex reports, while also offering a flexible proxy for direct API requests when specialized endpoints are required.

Google Analytics Use Cases

  • Automating the setup of new GA4 properties and web data streams for client onboarding.
  • Generating and exporting custom event reports for periodic business intelligence reviews.
  • Monitoring real-time website traffic and event data via automated terminal commands.
  • Auditing account permissions and property settings across large-scale Google Analytics environments.
  • Integrating live analytics data into custom dashboards or external data processing pipelines.

How Google Analytics Works

  1. Initialize the environment by installing the Membrane CLI to facilitate communication between Openclaw Skills and Google services.
  2. Authenticate the tenant using a secure login flow that handles credential storage server-side.
  3. Identify and establish a connection to the Google Analytics connector to authorize specific account access.
  4. Use intent-based searching to discover the correct action IDs for tasks like reporting or property management.
  5. Execute actions with JSON-formatted parameters to retrieve data or modify account configurations.

Google Analytics Setup

To begin using this skill with Openclaw Skills, first install the required CLI:

npm install -g @membranehq/cli

Authenticate your environment:

membrane login --tenant

Connect your Google Analytics account by searching for the connector and authorizing the link:

# Find the connector ID
membrane search google-analytics --elementType=connector --json

# Create the connection
membrane connect --connectorId=CONNECTOR_ID --json

Google Analytics Data Schema & Taxonomy

The skill interacts with the Google Analytics hierarchical data model. Results are typically returned in a structured JSON format suitable for further automation.

Level Component Description
1 Account The highest level of organization for GA4 data.
2 Property Represents a specific website or app data container.
3 Data Stream The source of data (Web, iOS, or Android) within a property.
4 Events/Reports Individual data points and aggregated metrics returned by queries.

Google Analytics Advanced Features

  • Seamless credential lifecycle management with automatic token refreshing for Openclaw Skills agents.
  • Intent-driven action discovery which reduces token consumption and improves accuracy for AI agents.
  • Headless login support for server-side environments and CI/CD pipelines.
  • High-level proxy support for manual REST API calls with automatic header injection.
  • Integrated support for GA4 Realtime reports and custom metric creation.

SKILL.md


Loading

Related Openclaw Skills

METADATA

Github Stars: 0
forks: 0

Featured*