跳到正文
Skillpedia
分析与电子表格55k · #3292

analytics

它能做什么

这个工具可以帮你设置并改进网站和应用的数据追踪。它能确保你收集到正确的信息,从而了解用户如何与你的产品互动,并做出更好的决策。

适用场景

  • ✓当你想知道用户最常点击哪些按钮时。
  • ✓当你想了解访客来自哪里(比如 Google、社交媒体)时。
  • ✓当你上线新功能,想看看有没有人在使用时。

技能链接

https://github.com/coreyhaines31/marketingskills/blob/main/skills/analytics/SKILL.md

复制后粘贴给你的 AI(Claude、ChatGPT 或 Cursor),让它按照说明操作。

使用方法

最简单的方法:复制下面的消息,粘贴给你的 AI。它会读取这个技能并按说明操作。

可直接粘贴的消息

请用这个技能帮我:https://github.com/coreyhaines31/marketingskills/blob/main/skills/analytics/SKILL.md 阅读该链接中的 SKILL.md 文件,并在我的任务中按照它的说明来做。
想让你的 AI 自己找到这样的技能吗?安装免费的 Skillpedia MCP:只需一行,每次任务前它都会在 15,000+ 个技能中搜索。1 分钟完成安装 →

可以这样问 AI

“我该如何设置追踪,才能知道我网站上有多少人完成了购买?”

每周 5 个新技能,1 分钟读完。

工作原理

它会先了解对你的业务来说哪些信息最重要,然后建议你如何配置 Google Analytics 或 Google Tag Manager 等工具,以有条理且可靠的方式收集这些数据。

技术内容(原始 SKILL.md)

作者在 GitHub 上的英文原文。

Analytics Tracking

You are an expert in analytics implementation and measurement. Your goal is to help set up tracking that provides actionable insights for marketing and product decisions.

Initial Assessment

Check for product marketing context first: If .agents/product-marketing.md exists (or .claude/product-marketing.md, or the legacy product-marketing-context.md filename, in older setups), read it before asking questions. Use that context and only ask for information not already covered or specific to this task.

Before implementing tracking, understand:

  1. Business Context - What decisions will this data inform? What are key conversions?
  2. Current State - What tracking exists? What tools are in use?
  3. Technical Context - What's the tech stack? Any privacy/compliance requirements?

Core Principles

1. Track for Decisions, Not Data

  • Every event should inform a decision
  • Avoid vanity metrics
  • Quality > quantity of events

2. Start with the Questions

  • What do you need to know?
  • What actions will you take based on this data?
  • Work backwards to what you need to track

3. Name Things Consistently

  • Naming conventions matter
  • Establish patterns before implementing
  • Document everything

4. Maintain Data Quality

  • Validate implementation
  • Monitor for issues
  • Clean data > more data

5. Compute, Don't Eyeball

  • Derive every total, rate, and delta from row-level data with a script or spreadsheet — never by scanning rows and summing mentally. One silently dropped row corrupts every figure downstream of it.
  • Cross-check each headline figure a second, independent way (a reconciliation total, a recomputation from a different grouping) before reporting it, and chase any mismatch to the exact row.
  • When a claim is about one segment — a single campaign, ad set, channel, or week — report that segment's own numbers. Never fold it into a neighboring group and let the group's total speak for it.

6. Match Observation Windows

  • A rate or efficiency metric divides a numerator and denominator that cover the same closed observation window. Never divide a full period's spend by a partial period's conversions or revenue — restate both over the weeks that actually have data, and say which weeks those are.
  • Cohort rates use only cohorts whose observation window has ended. A trial or signup still inside its window is pending, not failed — exclude it from the denominator and label it as pending rather than counting it against the rate.

7. Recommend Against the Stated Goal

  • Analysis ends in a recommendation, and the recommendation must be argued from the goal the brief states — the launch target, audience, revenue, or positioning objective — not only from what is operationally easiest. Name which stated goal each option serves and what it trades away.

Tracking Plan Framework

Structure

Event Name | Category | Properties | Trigger | Notes
---------- | -------- | ---------- | ------- | -----

Event Types

Type Examples
Pageviews Automatic, enhanced with metadata
User Actions Button clicks, form submissions, feature usage
System Events Signup completed, purchase, subscription changed
Custom Conversions Goal completions, funnel stages

For comprehensive event lists: See references/event-library.md


Event Naming Conventions

Recommended Format: Object-Action

signup_completed
button_clicked
form_submitted
article_read
checkout_payment_completed

Best Practices

  • Lowercase with underscores
  • Be specific: cta_hero_clicked vs. button_clicked
  • Include context in properties, not event name
  • Avoid spaces and special characters
  • Document decisions
  • Keep provider-defined names when using automatic or recommended events (e.g. GA4 click, view_search_results, purchase). Map internal business names explicitly; naming a custom event does not make the provider collect it automatically.

Essential Events

Marketing Site

Event Properties
cta_clicked button_text, location
form_submitted form_type
signup_completed method, source
demo_requested -

Product/App

Event Properties
onboarding_step_completed step_number, step_name
feature_used feature_name
purchase_completed plan, value

…

常见问题

什么是“事件”(events)?

事件是指网站或应用中发生的特定操作,比如点击按钮、提交表单或完成购买。

为什么追踪数据很重要?

追踪数据可以帮你了解用户行为、找出哪些做法有效、哪些无效,从而基于事实做出决策,改进你的产品或营销。

什么是“UTM 参数”?

这是你添加到链接中的代码,用来识别访客来自哪个广告活动、哪个来源或哪种媒介。它有助于衡量你的营销效果。

详情

作者的原始描述

When the user wants to set up, improve, or audit analytics tracking and measurement. Also use when the user mentions "set up tracking," "GA4," "Google Analytics," "conversion tracking," "event tracking," "UTM parameters," "tag manager," "GTM," "analytics implementation," "tracking plan," "how do I measure this," "track conversions," "Mixpanel," "Segment," "are my events firing," or "analytics isn'

repo: coreyhaines31/marketingskills

热度

GitHub 星标
55k
排名
#3292
许可证
MIT
更新时间
2026/10/15

这个技能有用吗?

0

登录 后即可投票。

评论

  • …

同一仓库的更多技能

相似技能