analytics-tracking

analytics-tracking is a skill for Claude Code, Codex from L-LesterYu/OpenClaw-hot-skills-zh. It costs 104 tokens per session (2,922 once invoked), scanned A, original, MIT.

A guide for planning, setting up, improving, and reviewing product and marketing measurement. It covers tools such as Google Analytics 4, Mixpanel, and Amplitude, along with events, conversions, and campaign labels.

In plain words
What is it for?
Use it to create a tracking plan, choose events and properties, define naming rules, and review an existing setup. It can also help plan tracking for page views, clicks, forms, sign-ups, purchases, and other milestones.
Why use it?
It helps avoid collecting data without a clear purpose or using inconsistent names. It connects tracked actions to the decisions the data should support and includes checks for data quality.

Skill for Claude CodeCodex

Written for no agent in particular: nothing here depends on one.

Good fit Use it to create a tracking plan, choose events and properties, define naming rules, and review an existing setup. It can also help plan tracking for page views, clicks, forms, sign-ups, purchases, and other milestones.

Compare 6 skills from other repositories ↓
Install with agentmods
npx agentmods add skills/l-lesteryu/openclaw-hot-skills-zh/analytics-tracking
Install

Getting it into your agent

One page per mod, every tool's command on it. A separate URL per tool would split the same page into five that compete with each other.

Any agent
npx skills add L-LesterYu/OpenClaw-hot-skills-zh --skill analytics-tracking
Clone the repo
git clone --depth 1 https://github.com/L-LesterYu/OpenClaw-hot-skills-zh

Made for: Claude Code, Codex.

Wrote this? Show the measurements

A badge with what this costs and how it scanned, read live from this page, so it follows the numbers instead of freezing them. Markdown for a README, HTML for a documentation site or a project page.

agentmods badge for analytics-tracking

README.md
[![agentmods](https://agentmods.dev/badge/skills/l-lesteryu/openclaw-hot-skills-zh/analytics-tracking/github.svg)](https://agentmods.dev/skills/l-lesteryu/openclaw-hot-skills-zh/analytics-tracking)
Your own site
<a href="https://agentmods.dev/skills/l-lesteryu/openclaw-hot-skills-zh/analytics-tracking"><img src="https://agentmods.dev/badge/skills/l-lesteryu/openclaw-hot-skills-zh/analytics-tracking/github.svg" alt="Measured on agentmods" height="20"></a>

Or the 80×15 button, for a site that already has a row of RSS and ATOM ones. Only the verdict fits; the numbers stay here.

agentmods 80×15 button for analytics-tracking

Your own site · 80×15
<a href="https://agentmods.dev/skills/l-lesteryu/openclaw-hot-skills-zh/analytics-tracking"><img src="https://agentmods.dev/badge/skills/l-lesteryu/openclaw-hot-skills-zh/analytics-tracking.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 104 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 2,922 The whole file, excluding the scripts and references it only reads on demand.
Security scan A 0 findings. A grade says what 26 rules found in the file — not that it is safe.
Origin original No closer match found in the catalogue.
Token cost

What it costs to keep this loaded

Counted locally with the o200k_base tokenizer, which is exact for GPT models; Claude uses its own tokenizer and its counts differ. Treat this as one consistent yardstick across the catalogue rather than a bill. Prices are per million input tokens.

ModelPer sessionOnce invoked
Fable 5.1 $0.00104 $0.02922
Opus 5 $0.00052 $0.01461
Sonnet 5 $0.00021 $0.00584
Haiku 4.5 $0.00010 $0.00292

Measured 12d ago against content hash 83e4ec3bacd1, method: parsed. Prices are Anthropic first-party input rates as of 2026-09-11, from the pricing page.

Security

Grade A, and why

analytics-tracking scanned grade A with 0 findings against 26 rules in 11 categories — prompt injection, anti-refusal, data exfiltration, privilege escalation, supply chain, agent snooping, system-prompt leakage, SSRF and excessive agency — measured 12d ago.

A static scan of the body, not an audit. Every finding is printed with the line that produced it so you can judge whether it matters here. A mod is markdown that instructs an agent; that is exactly why what it instructs is worth reading.

Nothing flagged

None of the 26 patterns this scan looks for appear in this file: no shell pipes, no recursive deletes, no credential paths, no hidden text, no instruction-override or anti-refusal phrasing, no agent-config snooping. That is not a guarantee, it is the absence of the things that are checkable.

skills/marketing-skills-zh/references/analytics-tracking/SKILL.md · 540 lines

How it starts

The opening of the file, as written. The whole thing — 540 lines — stays where its author put it; the contents beside it link to each section on GitHub.

分析跟踪

你是分析实施和测量的专家。你的目标是帮助设置跟踪,为营销和产品决策提供可操作的洞察。

初始评估

在实施跟踪之前,了解:

  1. 业务背景

    • 这些数据将影响什么决策?
    • 关键的转化行为是什么?
    • 需要回答什么问题?
  2. 当前状态

    • 存在什么跟踪?
    • 正在使用什么工具(GA4、Mixpanel、Amplitude 等)?
    • 什么有效/无效?
  3. 技术背景

    • 技术栈是什么?
    • 谁将实施和维护?
    • 有隐私/合规要求吗?

核心原则

1. 为决策跟踪,而非为数据跟踪

  • 每个事件都应该影响决策
  • 避免虚荣指标
  • 质量 > 数量

2. 从问题开始

  • 你需要知道什么?
  • 你将基于这些数据采取什么行动?
  • 反向推导你需要跟踪什么

3. 一致地命名事物

  • 命名约定很重要
  • 在实施前建立模式
  • 记录一切

4. 维护数据质量

  • 验证实施
  • 监控问题
  • 干净的数据 > 更多的数据

跟踪计划框架

结构

事件名称 | 事件类别 | 属性 | 触发器 | 备注
-------- | -------- | ---- | ------ | ----

事件类型

页面浏览

  • 大多数工具中自动
  • 通过页面元数据增强

用户行为

  • 按钮点击
  • 表单提交
  • 功能使用
  • 内容交互

系统事件

  • 注册完成
  • 购买完成
  • 订阅变更
  • 错误发生

自定义转化

  • 目标完成
  • 漏斗阶段
  • 业务特定的里程碑

事件命名约定

格式选项

对象-行为(推荐)

signup_completed
button_clicked
form_submitted
article_read

行为-对象

click_button
submit_form
complete_signup

类别_对象_行为

checkout_payment_completed
blog_article_viewed
onboarding_step_completed

最佳实践

  • 小写加下划线
  • 要具体:cta_hero_clicked vs. button_clicked
  • 在属性中包含上下文,而非事件名称
  • 避免空格和特殊字符
  • 记录决策

要跟踪的基本事件

营销网站

导航

  • page_view(增强)
  • outbound_link_clicked
  • scroll_depth(25%、50%、75%、100%)

参与

  • cta_clicked(button_text、location)
  • video_played(video_id、duration)
  • form_started
  • form_submitted(form_type)
  • resource_downloaded(resource_name)

转化

  • signup_started
  • signup_completed
  • demo_requested
  • contact_submitted

产品/应用

引导

  • signup_completed
  • onboarding_step_completed(step_number、step_name)
  • onboarding_completed
  • first_key_action_completed

核心使用

  • feature_used(feature_name)
  • action_completed(action_type)
  • session_started
  • session_ended

变现

  • trial_started
  • pricing_viewed
  • checkout_started
  • purchase_completed(plan、value)
  • subscription_cancelled

电子商务

浏览

  • product_viewed(product_id、category、price)
  • product_list_viewed(list_name、products)
  • product_searched(query、results_count)

购物车

  • product_added_to_cart
  • product_removed_from_cart
  • cart_viewed

Read the full file on GitHub · 540 lines

Changes

What this file has done since we first saw it

Hashed on every crawl. A supply-chain change to an agent config is a question of when, not whether, so the history is kept rather than the latest state alone.

  1. 12d ago First seen · 540 lines · 104 tokens per session scan A 83e4ec3bacd1

Subscribe to this mod's changes

analytics-tracking is a skill published in the GitHub repository L-LesterYu/OpenClaw-hot-skills-zh (54 stars, last pushed 5mo ago), licensed MIT. It adds 104 tokens to every session and 2,922 once invoked, about $0.0005 per session on Opus 5. A static security scan graded it A with 0 findings. No closer match exists in the catalogue, so it is treated as the original; first seen 2026-08-30.

Related

Other skills, from other repositories

systematic-debugging

Use when encountering any bug, test failure, or unexpected behavior, before proposing fixes.

obra/superpowers · 21 tokens

local-ai-agents

Build local-first AI agents that run entirely on a developer workstation with Microsoft Foundry Local and Qwen function-calling models. Covers Small Language Models (SLMs), the OpenAI-compatible local endpoint, sandboxed local tools, local RAG with Chroma, local MCP servers, hybrid cloud/local routing, and the…

microsoft/ai-agents-for-beginners · 200 tokens

next-cache-components-adoption

Turn on Cache Components in a Next.js app and resolve the blocking routes it surfaces. Use when the user wants to enable, adopt, or migrate to Cache Components, flip the cacheComponents flag, work through a flood of blocking-prerender / instant validation errors, run the cache-components-instant-false codemod, or…

vercel/next.js · 95 tokens

insight-error-page

Write or audit an insight-kind error page for the Next.js dev overlay. Use when creating a new errors/ .mdx page, auditing an existing one, or checking that a page matches the framework fix cards. Covers page structure, title alignment, FixCard cards with Copy prompt button, code snippets, terminology verification…

vercel/next.js · 83 tokens

next-cache-components-optimizer

Drive a Next.js route to instant navigation by setting up an agentic loop, under Cache Components / PPR, on initial load (hard navigation) and client-side navigation (soft navigation). Encode the goal as a failing @next/playwright instant() e2e and work it to green, one verified route at a time; the shipped test then…

vercel/next.js · 170 tokens

next-partial-prefetching-adoption

Turn on Partial Prefetching in a Next.js app and work through the insights it surfaces. Use when the user wants to enable or adopt Partial Prefetching, flip the partialPrefetching flag, opt routes in with export const prefetch = 'partial', audit Link prefetch={true} behavior, preserve existing prefetched UI with…

vercel/next.js · 103 tokens