返回顶部
a

amplitude振幅分析

Amplitude product analytics — track events, analyze user behavior, run cohort analysis, manage user properties, and query funnel/retention data via the Amplitude API. Understand product usage, measure feature adoption, and analyze user journeys. Built for AI agents — Python stdlib only, zero dependencies. Use for product analytics, user behavior tracking, funnel analysis, retention analysis, and cohort segmentation.

作者: admin | 来源: ClawHub
源自
ClawHub
版本
V 1.0.0
安全检测
已通过
704
下载量
免费
免费
0
收藏
概述
安装方式
版本历史

amplitude

📉 Amplitude

Amplitude 产品分析——通过 Amplitude API 追踪事件、分析用户行为、运行群组分析、管理用户属性以及查询漏斗/留存数据。

功能特性

  • - 事件追踪 — 记录带有属性的用户事件
  • 用户分析 — 活跃用户、会话、参与度
  • 漏斗分析 — 事件序列的转化率
  • 留存分析 — 用户随时间变化的回访率
  • 群组管理 — 创建和管理用户群组
  • 用户属性 — 设置和查询用户属性
  • 收入分析 — LTV、ARPU、收入追踪
  • 细分分析 — 按属性和事件查询
  • 事件细分 — 事件计数和分解
  • 仪表板导出 — 导出图表数据

环境要求

变量必填描述
AMPLITUDEAPIKEYAmplitude 的 API 密钥/令牌
AMPLITUDESECRETKEY
✅ | 用于导出/仪表板 API 的 Amplitude 密钥 |

快速开始

bash

追踪一个事件


python3 {baseDir}/scripts/amplitude.py track {userid:user123,eventtype:purchase,event_properties:{amount:29.99}}

bash

批量追踪事件


python3 {baseDir}/scripts/amplitude.py track-batch events.json

bash

设置用户属性


python3 {baseDir}/scripts/amplitude.py identify {userid:user123,userproperties:{plan:pro,company:Acme}}

bash

获取活跃用户数量


python3 {baseDir}/scripts/amplitude.py active-users --start 2026-01-01 --end 2026-02-01

命令

track

追踪一个事件。 bash python3 {baseDir}/scripts/amplitude.py track {userid:user123,eventtype:purchase,event_properties:{amount:29.99}}

track-batch

批量追踪事件。 bash python3 {baseDir}/scripts/amplitude.py track-batch events.json

identify

设置用户属性。 bash python3 {baseDir}/scripts/amplitude.py identify {userid:user123,userproperties:{plan:pro,company:Acme}}

active-users

获取活跃用户数量。 bash python3 {baseDir}/scripts/amplitude.py active-users --start 2026-01-01 --end 2026-02-01

events

获取事件数据。 bash python3 {baseDir}/scripts/amplitude.py events --start 2026-01-01 --end 2026-02-01 --event purchase

funnel

运行漏斗分析。 bash python3 {baseDir}/scripts/amplitude.py funnel {events:[{eventtype:pageview},{eventtype:signup},{eventtype:purchase}]} --start 2026-01-01 --end 2026-02-01

retention

留存分析。 bash python3 {baseDir}/scripts/amplitude.py retention --start 2026-01-01 --end 2026-02-01

cohorts

列出群组。 bash python3 {baseDir}/scripts/amplitude.py cohorts

cohort-get

获取群组详情。 bash python3 {baseDir}/scripts/amplitude.py cohort-get abc123

revenue

收入分析。 bash python3 {baseDir}/scripts/amplitude.py revenue --start 2026-01-01 --end 2026-02-01

user-search

搜索用户。 bash python3 {baseDir}/scripts/amplitude.py user-search user@example.com

user-activity

获取用户活动。 bash python3 {baseDir}/scripts/amplitude.py user-activity user123

segments

事件细分查询。 bash python3 {baseDir}/scripts/amplitude.py segments --event purchase --group-by platform --start 2026-01-01 --end 2026-02-01

输出格式

所有命令默认输出 JSON 格式。添加 --human 参数可输出可读的格式化内容。

bash

JSON(默认,适用于程序化使用)


python3 {baseDir}/scripts/amplitude.py track --limit 5

可读格式

python3 {baseDir}/scripts/amplitude.py track --limit 5 --human

脚本参考

脚本描述
{baseDir}/scripts/amplitude.py主 CLI — 所有 Amplitude 操作

数据政策

此技能绝不将数据存储在本地。所有请求直接发送至 Amplitude API,结果返回至标准输出。您的数据保留在 Amplitude 服务器上。

致谢


M. Abidi 构建 | agxntsix.ai YouTube | GitHub 属于面向 OpenClaw 代理的 AgxntSix 技能套件 的一部分。

📅 需要帮助为您的企业设置 OpenClaw? 预约免费咨询

标签

skill ai

通过对话安装

该技能支持在以下平台通过对话安装:

OpenClaw WorkBuddy QClaw Kimi Claude

方式一:安装 SkillHub 和技能

帮我安装 SkillHub 和 amplitude-1776419940 技能

方式二:设置 SkillHub 为优先技能安装源

设置 SkillHub 为我的优先技能安装源,然后帮我安装 amplitude-1776419940 技能

通过命令行安装

skillhub install amplitude-1776419940

下载

⬇ 下载 amplitude v1.0.0(免费)

文件大小: 4.33 KB | 发布时间: 2026-4-17 19:07

v1.0.0 最新 2026-4-17 19:07
- Initial release of the Amplitude product analytics skill.
- Track events, analyze user behavior, run cohort and funnel analyses, manage user properties, and perform retention and revenue analysis via the Amplitude API.
- Includes segmentation, event segmentation, dashboard export, and comprehensive CLI commands.
- Requires only Python 3.10+ standard library (no external dependencies).
- Secure: no data stored locally; all operations performed via direct API calls.

Archiver·手机版·闲社网·闲社论坛·羊毛社区· 多链控股集团有限公司 · 苏ICP备2025199260号-1

Powered by Discuz! X5.0   © 2024-2025 闲社网·线报更新论坛·羊毛分享社区·http://xianshe.com

p2p_official_large
返回顶部