← Back to Skills Marketplace
adamkristopher

GA4 Analytics

by adamkristopher · GitHub ↗ · v1.0.0
cross-platform ⚠ suspicious
7742
Downloads
12
Stars
27
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 do not expose or invoke removeFromIndex() unless you specifically need 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 functions fit the stated SEO/analytics purpose, but the code also exports removeFromIndex(), which publishes URL_DELETED notifications and can affect search visibility.
Instruction Scope
Indexing actions accept arbitrary URL strings and the artifacts do not show same-site validation, allowlisting, or an explicit confirmation step before URL removal.
Install Mechanism
Installation is a simple npm install via scripts/setup.sh with a package-lock present; this is normal for a Node Google API toolkit but still pulls external npm dependencies.
Credentials
The skill requires GA4 and Google service-account credentials and uses Google Analytics, Search Console readonly, and Indexing API scopes; these are expected for the purpose but sensitive.
Persistence & Privilege
Results are automatically saved under a local results/ directory as documented, which may retain business, traffic, query, revenue, and indexing data on disk.
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 263
Active Installs 27
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 7742 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