网站流量转化分析
用 maton 命令行登录 Google Analytics,既能拉取会话与转化报表,也能在明确确认后管理账号、属性和数据流。
功能与用途
这个 Skill 覆盖 Google Analytics 的两套接口:只读的 Data API 用来跑报表,可写的 Admin API 用来管理账号、属性和数据流。默认只做读取,任何写操作都要先列出目标资源并让用户点头,删连接这类不可逆动作更是要人工确认。凭据由系统凭据库托管,代理全程不接触密钥本身。前置是装好 maton CLI 并完成一次 OAuth 登录。
适用场景
- 常规只看报表,想用一条命令直接拉会话和转化数据,不去碰管理接:常规只看报表,想用一条命令直接拉会话和转化数据,不去碰管理接口
- GA 属性越建越多、命名混乱,需要一次性清理和规范化数据流配:GA 属性越建越多、命名混乱,需要一次性清理和规范化数据流配置
- 交接时要把 GA 管理权限的授权收回,需要列出并删除多余的 :交接时要把 GA 管理权限的授权收回,需要列出并删除多余的 Admin 连接
适用人群
- 营销数据运营
- 网站分析工程师
- 负责 GA 资产配置的增长负责人
使用步骤
- 安装 maton CLI(npm 全局或 Homebrew),用 maton login --oauth 完成浏览器授权
- 用 maton whoami 确认当前身份是 OAuth 而不是长期 API Key
- 列出并确认要操作的连接与资源标识(账号、属性、数据流)
- 只读报表直接调 Data API;需要写操作时先展示目标资源、取得批准后再执行
开始使用
将需求和 Skill 名称发送给已连接 SkillPX MCP 的 AI 助手,核对适用工具和安装要求。
技术信息
- 分类
- 商业运营
- 适用工具
- Codex、Claude Code、OpenClaw、Hermes、国内 Agent
- 使用难度
- 进阶
- 版本
- 1.2.3
- 最近更新
- 2026-09-04
- 文件数
- 3
- 安装包大小
- 自动生成 ZIP
- 安全检查
- 基础检查通过
Google Analytics API integration with managed OAuth. This skill includes two separate APIs: the Admin API (write-capable — can create, update, and delete accounts, properties, and data streams) and the Data API (read-only — runs reports on sessions, users, page views, and conversions). Prefer the Data API connection for reporting-only tasks. Use the Admin API only when administrative changes are explicitly needed. All Admin API write operations require explicit user approval with specific resource identifiers before execution. For other third party apps, use the api-gateway skill (https://clawhub.ai/byungkyu/api-gateway). Calls run through the `maton` CLI with OAuth login, or over raw HTTP with a Maton API key where the CLI cannot be installed. The endpoints documented here are the intended surface, not a technical limit — the `maton api` passthrough can reach others the connection permits. Default to read and list calls, and confirm every write or new connection with the user.
使用前准备
- 需要 Maton 账号并安装 maton CLI,能完成浏览器 OAuth 授权与网络访问
- 写操作需要用户逐次确认。
依赖与权限
- MATON_API_KEY
- 读取用户主动提供的内容