GA4 Deep Dive for Openclaw

A powerful analytics engine that extracts comprehensive GA4 data to provide health scores, cohort analysis, and automated performance reports.

fcavalcantirj
v1.0.3
Feb 28, 2026
0
252
0

Install & Download

1. ClawHub CLI

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

npx clawhub@latest install ga-deep-dive

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 ga-deep-dive 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 GA4 Deep Dive?

The GA4 Deep Dive skill serves as a high-performance analytics war room for your product or website. By leveraging the GA4 Data API, this tool from the Openclaw Skills collection provides a deep-layered analysis that goes far beyond standard dashboard views. It synthesizes complex metrics into seven core health scores—including engagement, traffic diversity, and retention—giving you an immediate snapshot of your digital health. Whether you need an executive summary or a deep-dive behavioral analysis, this skill automates the data extraction process to deliver actionable insights directly to your terminal or inbox.

GA4 Deep Dive Use Cases

  • Monitoring website health through multi-metric scoring systems.
  • Tracking user behavior such as scroll depth and site search queries.
  • Automating stakeholder reporting with scheduled bi-weekly emails.
  • Auditing traffic quality and geographic performance for better localization.
  • Integrating Search Console data with GA4 for a unified organic growth view.

How GA4 Deep Dive Works

  1. The skill initializes a connection with the Google Analytics Data API using OAuth 2.0 credentials.
  2. It retrieves granular data points across multiple dimensions including users, sessions, and events.
  3. The engine processes these metrics to calculate weighted health scores and cohort retention tables.
  4. Detailed analysis scripts like deep_dive_v4.py extract advanced behavioral and demographic data.
  5. The results are formatted into readable CLI summaries or dispatched as HTML reports via email.

GA4 Deep Dive Setup

First, prepare your local environment by installing the required Python dependencies:

cd ~/.openclaw/skills/ga-deep-dive
python3 -m venv .venv
source .venv/bin/activate
pip install -r requirements.txt

Next, you must set up your Google Cloud project. Enable the Google Analytics Data API and create an OAuth 2.0 Client ID for a desktop application. Download the JSON file and save it as ~/.config/ga-deep-dive/credentials.json. Finally, run the analysis script with your GA4 Property ID to complete the initial authentication flow.

GA4 Deep Dive Data Schema & Taxonomy

The skill organizes extracted data into specialized reports and configuration files:

Data Type Description
Credentials credentials.json for OAuth and token.json for session management.
Health Scores Normalized scores (0-100) for Engagement, Retention, and Growth metrics.
Behavior Data Detailed tables for scroll depth, outbound links, and site search events.
User Data Demographic breakdowns including age, interests, and geographic reach.
Reports Local or emailed summaries featuring actionable insights based on data trends.

GA4 Deep Dive Advanced Features

  • Multi-property management using simple aliases for rapid switching between different GA4 accounts.
  • Automated bi-weekly email reporting using the AgentMail integration.
  • Support for custom analysis periods to track performance over 30, 60, or 90-day windows.
  • Cron-compatible execution for headless, automated data monitoring and alerts.

SKILL.md


Loading

Related Openclaw Skills

METADATA

Github Stars: 0
forks: 0

Featured*