← Back to Skills Marketplace
adamkristopher

GA4 Analytics

by adamkristopher · GitHub ↗ · v1.0.0
cross-platform ⚠ suspicious
10057
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 least-privilege Google service account limited to the intended GA4 property and Search Console site, avoid invoking removeFromIndex unless you explicitly want a URL removed from Google indexing, keep the results directory private, and update/audit the npm dependencies before using this with sensitive analytics data.
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
⚠ Credentials
The skill's need for Google service-account credentials and Google API network access is disclosed and coherent, but the indexing scope is high-impact and the code does not validate that requested indexing or removal URLs are limited to the configured site.
ℹ Install Mechanism
Setup is a simple npm install under scripts with standard npm registry dependencies and no custom root package lifecycle script, but the lockfile contains scanner-flagged transitive dependency versions and install-script packages that should be updated or audited.
ℹ Instruction Scope
I found no instruction hijacking, hidden role changes, or automatic unsafe execution; use is by documented imports or commands, but destructive indexing actions lack an explicit confirmation or site-ownership guard in the skill instructions.
⚠ Persistence & Privilege
Automatic plaintext saving to results/ is disclosed, but it is enabled by default without retention or restrictive permission handling, and exported storage utilities allow category traversal and arbitrary JSON file loading beyond the intended results directory.
⚠ Purpose & Capability
GA4, Search Console, realtime, and re-indexing functions are implemented and purpose-aligned, but the exported removeFromIndex function submits URL_DELETED notifications and is only documented in the API reference, making it broader than the top-level re-indexing and inspection description.
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 10057 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