← Back to Skills Marketplace
zero2ai-hub

GA4 Analytics Toolkit

by Zero2Ai · GitHub ↗ · v1.0.1
cross-platform ✓ Security Clean
393
Downloads
0
Stars
2
Active Installs
2
Versions
Install in OpenClaw
/install skill-ga4-analytics
Description
Google Analytics 4, Search Console, and Indexing API toolkit. Analyze website traffic, page performance, user demographics, real-time visitors, search querie...
Usage Guidance
This package appears to do what it claims, but it needs Google service‑account credentials (including a private key) and will write results to disk and install npm dependencies. Before installing: (1) verify you trust the skill source (source/homepage unspecified), (2) inspect scripts/package.json for any postinstall or unexpected lifecycle scripts, (3) create a least‑privilege Google service account limited to the GA4, Search Console, and Indexing scopes, (4) never commit the .env or private key to source control, and (5) consider running npm install in an isolated environment (container/VM) if you are unsure. If the registry metadata will be shown to others, ask the publisher to update required env var declarations to avoid confusion.
Capability Analysis
Type: OpenClaw Skill Name: skill-ga4-analytics Version: 1.0.1 The skill bundle is a legitimate toolkit for interacting with Google Analytics 4, Search Console, and the Google Indexing API. The code uses official Google SDKs (@google-analytics/data, googleapis) to perform data retrieval and indexing tasks as described in the documentation. While it handles sensitive credentials (GA4_PRIVATE_KEY) and includes high-privilege operations like URL removal from search indices (indexing.ts), these behaviors are explicitly documented and aligned with the stated purpose of an SEO and analytics management tool.
Capability Assessment
Purpose & Capability
The skill implements GA4, Search Console, and Indexing API functionality and legitimately needs a Google service account, property ID, and site URL. However, the registry metadata declares no required env vars while SKILL.md and the code expect GA4_PROPERTY_ID, GA4_CLIENT_EMAIL, GA4_PRIVATE_KEY, and SEARCH_CONSOLE_SITE_URL — this mismatch is likely an oversight but should be corrected.
Instruction Scope
Runtime instructions are explicit: run npm install in scripts/, create a .env with the service account values, call functions that call Google APIs, and auto-save JSON results to results/*. The code reads only those environment vars and writes results to local files; it does not call unexpected third‑party endpoints or attempt to read unrelated system files.
Install Mechanism
The package is instruction-first with bundled source and a package.json; install is via 'cd scripts && npm install'. This is a normal install path but npm install will fetch third‑party dependencies and could run lifecycle scripts — review scripts and package.json before running npm install.
Credentials
Requested credentials (service account email and private key, GA4 property ID, Search Console site URL) are appropriate for the stated purpose. They are highly sensitive (private key) so the skill's need is proportional but you must protect those secrets and use a least‑privilege service account. The skill expects the private key in .env (dotenv) and replaces escaped newlines; ensure you store and handle the key securely.
Persistence & Privilege
always:false and model invocation is allowed (platform default). The skill auto-saves results to a local results/ directory it creates; it does not request persistent platform-wide privileges or modify other skills. Writing files to results/ is expected behavior for reporting tools.
How to Use
  1. Make sure OpenClaw is installed (local or Docker)
  2. Run the install command in chat: /install skill-ga4-analytics
  3. After installation, invoke the skill by name or use /skill-ga4-analytics
  4. Provide required inputs per the skill's parameter spec and get structured output
Version History
v1.0.1
- Major codebase expansion with 21 new files and 3 updated files. - Added multiple new API modules including bulk lookup, indexing, metadata, realtime, reports, and searchConsole. - Introduced compiled `.js` and type definition `.d.ts` files in the `scripts/dist/` directory. - Included a comprehensive README.md with setup instructions, usage patterns, and function descriptions. - Core structure now supports organized modular APIs and auto-saving of results for analytics operations.
v1.0.0
Initial release of skill-ga4-analytics: a Google Analytics 4, Search Console, and Indexing API toolkit. - Analyze site traffic, content performance, user demographics, real-time visitors, and conversion data with high-level, ready-to-use functions. - Integrate Google Search Console data for top queries, page SEO metrics, and indexing status. - Automate result storage: API results save as timestamped JSON and summarizable markdown reports. - Flexible date range handling and user-driven analysis (shorthand, explicit, GA4-style). - Includes quick start instructions, usage examples, and result management utilities. - Requires a Google Cloud project and service account with GA4/Search Console permissions.
Metadata
Slug skill-ga4-analytics
Version 1.0.1
License
All-time Installs 2
Active Installs 2
Total Versions 2
Frequently Asked Questions

What is GA4 Analytics Toolkit?

Google Analytics 4, Search Console, and Indexing API toolkit. Analyze website traffic, page performance, user demographics, real-time visitors, search querie... It is an AI Agent Skill for Claude Code / OpenClaw, with 393 downloads so far.

How do I install GA4 Analytics Toolkit?

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

Is GA4 Analytics Toolkit free?

Yes, GA4 Analytics Toolkit is completely free (open-source). You can download, install and use it at no cost.

Which platforms does GA4 Analytics Toolkit support?

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

Who created GA4 Analytics Toolkit?

It is built and maintained by Zero2Ai (@zero2ai-hub); the current version is v1.0.1.

💬 Comments