← 返回 Skills 市场
adamkristopher

GA4 Analytics

作者 adamkristopher · GitHub ↗ · v1.0.0
cross-platform ⚠ suspicious
7742
总下载
12
收藏
27
当前安装
1
版本数
在 OpenClaw 中安装
/install 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.
安全使用建议
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.
功能分析
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.
能力评估
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.
如何使用
  1. 确保已安装 OpenClaw(本地或 Docker 部署)
  2. 在对话框中输入安装命令:/install ga4-analytics
  3. 安装完成后,直接呼叫该 Skill 的名称或使用 /ga4-analytics 触发
  4. 根据 Skill 的参数说明提供必要输入,即可获得结构化输出
版本历史
v1.0.0
Initial release — GA4 Analytics, Search Console, and Indexing API toolkit with 30+ functions
元数据
Slug ga4-analytics
版本 1.0.0
许可证
累计安装 263
当前安装数 27
历史版本数 1
常见问题

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. 它是一个面向 Claude Code / OpenClaw 的 AI Agent Skill 插件,目前累计下载 7742 次。

如何安装 GA4 Analytics?

在 OpenClaw 或 Claude Code 对话框中运行命令「/install ga4-analytics」即可一键安装,无需额外配置。

GA4 Analytics 是免费的吗?

是的,GA4 Analytics 完全免费(开源免费),可自由下载、安装和使用。

GA4 Analytics 支持哪些平台?

GA4 Analytics 跨平台运行,可在任意部署了 OpenClaw / Claude Code 的环境中使用(cross-platform)。

谁开发了 GA4 Analytics?

由 adamkristopher(@adamkristopher)开发并维护,当前版本 v1.0.0。

💬 留言讨论