← 返回 Skills 市场
zero2ai-hub

GA4 Analytics Toolkit

作者 Zero2Ai · GitHub ↗ · v1.0.1
cross-platform ✓ 安全检测通过
393
总下载
0
收藏
2
当前安装
2
版本数
在 OpenClaw 中安装
/install skill-ga4-analytics
功能描述
Google Analytics 4, Search Console, and Indexing API toolkit. Analyze website traffic, page performance, user demographics, real-time visitors, search querie...
安全使用建议
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.
功能分析
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.
能力评估
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.
如何使用
  1. 确保已安装 OpenClaw(本地或 Docker 部署)
  2. 在对话框中输入安装命令:/install skill-ga4-analytics
  3. 安装完成后,直接呼叫该 Skill 的名称或使用 /skill-ga4-analytics 触发
  4. 根据 Skill 的参数说明提供必要输入,即可获得结构化输出
版本历史
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.
元数据
Slug skill-ga4-analytics
版本 1.0.1
许可证
累计安装 2
当前安装数 2
历史版本数 2
常见问题

GA4 Analytics Toolkit 是什么?

Google Analytics 4, Search Console, and Indexing API toolkit. Analyze website traffic, page performance, user demographics, real-time visitors, search querie... 它是一个面向 Claude Code / OpenClaw 的 AI Agent Skill 插件,目前累计下载 393 次。

如何安装 GA4 Analytics Toolkit?

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

GA4 Analytics Toolkit 是免费的吗?

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

GA4 Analytics Toolkit 支持哪些平台?

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

谁开发了 GA4 Analytics Toolkit?

由 Zero2Ai(@zero2ai-hub)开发并维护,当前版本 v1.0.1。

💬 留言讨论