← Back to Skills Marketplace
adamkristopher

GA4 Analytics

by adamkristopher · GitHub ↗ · v1.0.0
cross-platform ⚠ suspicious
9554
Downloads
13
Stars
0
Active Installs
1
Versions
Install in OpenClaw
/install ga4-analytics
Description
Google Analytics 4, Search Console, and Indexing API toolkit. Analyze website traffic, page performance, user demographics, real-time visitors, search queries, and SEO metrics. Use when the user asks to: check site traffic, analyze page views, see traffic sources, view user demographics, get real-time visitor data, check search console queries, analyze SEO performance, request URL re-indexing, inspect index status, compare date ranges, check bounce rates, view conversion data, or get e-commerce revenue. Requires a Google Cloud service account with GA4 and Search Console access.
Usage Guidance
Review before installing. Use a dedicated least-privilege Google service account limited to the intended GA4 property and Search Console site, keep .env and results/ out of version control, and avoid exposing or invoking removeFromIndex() unless you explicitly intend to request URL removal and confirm each URL first.
Capability Analysis
Type: OpenClaw Skill Name: ga4-analytics Version: 1.0.0 The OpenClaw AgentSkills bundle is a Google Analytics 4, Search Console, and Indexing API toolkit. Its core functionality involves making API calls to Google services and saving the results locally to a `results/` directory. Credential handling for Google APIs is done via environment variables (`GA4_PRIVATE_KEY`, `GA4_CLIENT_EMAIL`, etc.), which is a standard and secure practice. The `SKILL.md` provides clear, benign instructions for setup and usage, without any evidence of prompt injection attempts to manipulate the agent into performing unauthorized actions or exfiltrating data. Dependencies listed in `package.json` and `package-lock.json` are standard for a Node.js project interacting with Google APIs, and no suspicious packages or malicious execution patterns (like downloading and executing arbitrary remote payloads) were identified in the provided code.
Capability Assessment
Purpose & Capability
GA4, Search Console, and re-indexing capabilities fit the stated analytics and SEO purpose, but the package also exports removeFromIndex(), which sends URL_DELETED notifications and can reduce or remove page visibility in Google search.
Instruction Scope
The main SKILL.md highlights re-indexing and index-status checks, while URL removal is only surfaced in the lower-level API reference and exported code; the removal path accepts a URL and has no artifact-level confirmation, dry run, or same-site validation.
Install Mechanism
Installation is a simple setup.sh wrapper around npm install with a package-lock and standard Google API dependencies; this is expected for a Node-based Google API toolkit, though it does pull third-party npm packages.
Credentials
The skill reads Google service-account credentials from environment variables and uses GA4, Search Console readonly, and Indexing API scopes, which is proportionate to the stated purpose and disclosed in setup instructions.
Persistence & Privilege
Results are saved by default under a local results/ directory, and this behavior is clearly documented; users should still treat saved analytics, query, revenue, and indexing files as sensitive business data.
How to Use
  1. Make sure OpenClaw is installed (local or Docker)
  2. Run the install command in chat: /install ga4-analytics
  3. After installation, invoke the skill by name or use /ga4-analytics
  4. Provide required inputs per the skill's parameter spec and get structured output
Version History
v1.0.0
Initial release — GA4 Analytics, Search Console, and Indexing API toolkit with 30+ functions
Metadata
Slug ga4-analytics
Version 1.0.0
License
All-time Installs 0
Active Installs 0
Total Versions 1
Frequently Asked Questions

What is GA4 Analytics?

Google Analytics 4, Search Console, and Indexing API toolkit. Analyze website traffic, page performance, user demographics, real-time visitors, search queries, and SEO metrics. Use when the user asks to: check site traffic, analyze page views, see traffic sources, view user demographics, get real-time visitor data, check search console queries, analyze SEO performance, request URL re-indexing, inspect index status, compare date ranges, check bounce rates, view conversion data, or get e-commerce revenue. Requires a Google Cloud service account with GA4 and Search Console access. It is an AI Agent Skill for Claude Code / OpenClaw, with 9554 downloads so far.

How do I install GA4 Analytics?

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

Is GA4 Analytics free?

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

Which platforms does GA4 Analytics support?

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

Who created GA4 Analytics?

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

💬 Comments