Event Analytics 标志

Event Analytics

组织
LeadMagic
event-analytics

覆盖所有 GTM 系统的客户事件分析,包括 Intercom、Zendesk、Salesforce、HubSpot、Segment、Amplitude、Mixpanel、PostHog 和自定义事件管道。涵盖事件分类设计、跟踪实施、事件驱动工作流和统一客户视图。适用于实施事件跟踪、构建客户数据管道或设计事件驱动的 GTM 自动化。触发词:“event analytics”“customer events”“event tracking”“product analytics”“Segment setup”“event pipeline”。

Add to TypingMind

概览

发布者LeadMagic
代码仓库gtm-skills
技能名称event-analytics
星标数
72
复刻数
18
附带文件
3
许可协议MIT
链接
  • Markdown 格式的指令

    模型按需加载 SKILL.md 文件,因此只有在请求确实与该技能匹配时才会消耗 Token。

  • 兼容任何大语言模型

    AI 技能采用纯 Markdown,而非特定提供商的代码,因此可搭配 GPT、Claude、Gemini、Grok 或本地模型使用。

  • 3 个附带文件

    模型执行任务时可读取的脚本、模板和参考资料。这些文件为只读文件,绝不会被执行。

  • 开源

    由 LeadMagic 发布于 GitHub。请在安装前查看技能的源文件。

安装

在 TypingMind 中安装 Event Analytics AI 技能,即可搭配任意大语言模型使用;也可以将其放入其他支持读取 SKILL.md 的智能体中。

1

安装到 TypingMind

TypingMind 可直接从 GitHub 文件夹安装技能:读取 SKILL.md,打包资源文件,并将结果保存在本地。

  1. 打开应用,前往“插件 → 技能”。
  2. 选择“从 GitHub 安装”。
  3. 粘贴下方的技能文件夹 URL 并确认。
    https://github.com/LeadMagic/gtm-skills/tree/main/skills/analytics/event-analytics
  4. 请在每个需要使用该技能的聊天中启用它。
依次选择“插件 → 技能 → 添加技能 → 从 GitHub URL 导入”,然后粘贴文件夹 URL 并点击“继续”。
2

安装到其他智能体

任何支持 Agent Skills 格式的智能体都可以使用此技能,只需将文件夹复制到该智能体的技能目录中。

Claude Code — .claude/skills
git clone --depth 1 https://github.com/LeadMagic/gtm-skills.git /tmp/gtm-skills
mkdir -p .claude/skills
cp -r /tmp/gtm-skills/skills/analytics/event-analytics .claude/skills/event-analytics
复制后,请重启 Claude Code,以加载新技能。

在 TypingMind 中使用此技能

在任意 TypingMind 聊天中启用 Event Analytics,后续即可交由模型处理。技能的名称和描述会放在系统提示词中,一旦请求匹配,模型就会自动加载完整指令,无需您手动调用,且在实际使用前不会消耗 Token。

一旦请求与技能匹配,模型就会自动加载 Event Analytics。

兼容任何 AI 模型

AI 技能是纯 Markdown 指令,而非特定提供商的代码,因此 Event Analytics 不局限于最初适配的模型。只需在 TypingMind 中安装一次,即可搭配 GPT-5、Claude、Gemini、Grok、DeepSeek、Mistral、Llama 或您自行运行的本地模型使用,全程使用您自己的 API 密钥。

  • 仅在需要时加载

    系统提示词中仅包含技能名称和描述。首次遇到匹配的请求时才会加载完整指令,因此技能未使用时,这些指令不会消耗 Token。

  • 在聊天中切换模型

    技能是指令而非代码,因此切换模型不会导致技能失效,新模型会读取同一个 SKILL.md。

技能指令

这是模型会加载的 SKILL.md 内容。请在安装前阅读,因为技能就是模型将遵循的指令。

Event Analytics

Overview

Events are the atomic unit of customer understanding. Every signup, click, feature use, upgrade, and cancellation is an event. The mistake: tracking events haphazardly ("track everything!") with no taxonomy, creating a data swamp instead of a data pipeline. This skill covers event analytics across every GTM system — how to design an event taxonomy, implement tracking, and unify event data across your stack to build a complete customer picture.

Authoritative Foundations

  • Segment — Customer Data Platform (CDP) and event taxonomy
  • Amplitude — Behavioral analytics and event design
  • Mixpanel — Product analytics and event-based reporting
  • Intercom — Event-driven messaging and automation
  • Avo — Event taxonomy and governance
  • Snowplow — Open-source event pipeline

When to Use

Trigger phrases: "event analytics setup", "customer event tracking", "implement Segment", "Amplitude setup for SaaS", "event taxonomy design", "customer data pipeline", "product analytics events", "Intercom events", "event-driven workflows"

Step-by-Step Process

Phase 1: Event Taxonomy Design

The 4 event types (Segment spec):

  1. Identify: Who is the user? identify(userId, traits)
  2. Track: What did they do? track(eventName, properties)
  3. Page: What page did they view? page(name, properties)
  4. Group: What account/workspace are they in? group(groupId, traits)

Event naming convention (object-action framework):

Format: [Object] [Action] (Past tense. Write events as things that HAPPENED.)

Good: "Project Created" "Invoice Paid" "Campaign Sent"
Bad: "createProject" "user_clicked_button" "page3-conversion-v2"

Rules:
- Title case: "Signed Up" not "signed_up"
- Past tense: "Viewed" not "View"
- Object first: "Report Exported" not "Exported Report"
- No technical jargon: "Payment Completed" not "stripe_webhook_200"

Event taxonomy — core events every SaaS should track:

ACCOUNT EVENTS:
- Signed Up (properties: plan, source, referrer, UTM params)
- Subscription Started (properties: plan, price, billing period)
- Subscription Upgraded (properties: from_plan, to_plan, reason)
- Subscription Downgraded (properties: from_plan, to_plan, reason)
- Subscription Canceled (properties: plan, reason, tenure_days)
- Trial Started / Trial Converted / Trial Expired

USAGE EVENTS:
- Feature Used (properties: feature_name, context, duration)
- Search Performed (properties: query, results_count)
- Integration Connected (properties: integration_name)
- Invite Sent / Invite Accepted (properties: role)
- File Uploaded / Exported (properties: type, size)

ENGAGEMENT EVENTS:
- Email Opened / Clicked (properties: email_type, campaign_id)
- Notification Viewed / Clicked
- Support Ticket Created / Resolved (properties: category, priority)
- NPS Submitted (properties: score, comments)
- QBR Attended (properties: attendees)

REVENUE EVENTS:
- Invoice Created / Paid / Overdue
- Credit Card Added / Updated / Failed
- Refund Processed

MILESTONE EVENTS:
- Activation Complete (properties: time_to_activate_hours)
- First Value Achieved (properties: milestone, time_to_value_days)
- 7-Day Active / 30-Day Active
- Power User Threshold Reached

Phase 2: Implementation Strategy

Source → CDP → Destinations architecture:

Your App (client/server)
    │
    ▼
Segment (or Rudderstack / mParticle / Snowplow)
    │
    ├── Amplitude (product analytics)
    ├── Mixpanel (product analytics)
    ├── Intercom (event-triggered messaging)
    ├── Salesforce / HubSpot (CRM events)
    ├── Google Analytics (web analytics)
    ├── Data Warehouse (Snowflake / BigQuery / Redshift)
    └── Webhook → custom integrations

Implementation pattern (server-side preferred):

javascript
// Identify on login
analytics.identify(userId, {
  email: user.email,
  name: user.name,
  plan: user.plan,
  createdAt: user.createdAt,
  company: { id: workspace.id, name: workspace.name }
});

// Group for B2B (account-level context)
analytics.group(workspaceId, {
  name: workspace.name,
  plan: workspace.plan,
  employees: workspace.employeeCount,
  mrr: workspace.mrr
});

// Track key events
analytics.track('Feature Used', {
  feature: 'Email Finder',
  source: 'dashboard',
  credits_remaining: user.credits
});

Phase 3: System-Specific Event Analytics

Intercom Events:

  • Use as event triggers for: onboarding tours (if user does X, show tour Y), email sequences (if user reaches milestone, send email), chat targeting (if user is stuck, offer help), in-app messages (if feature unused, promote it)
  • Intercom('track', 'Feature Used', { feature: 'Reports' })

Salesforce Events (via Platform Events):

  • Track: Lead Status Changed, Opportunity Stage Changed, Task Completed
  • Use for: real-time dashboards, Slack alerts on key deals, enrichment triggers

HubSpot Events (via Custom Behavioral Events):

  • Track: Form Submission, Meeting Booked, Email Clicked, Page Viewed
  • Use for: lead scoring, workflow triggers, list membership

Amplitude / Mixpanel:

  • Purpose: product analytics — not just what happened, but who did it, how often, and what happened next
  • Key reports: retention curves, funnel analysis, behavioral cohorts, feature adoption, power user curve

Phase 4: Event-Driven GTM Automation

Example workflows:

Event: "Signed Up" → source = Google Ads
  → Add to Ad Conversions in Google Ads
  → Add to HubSpot as Lead
  → Enrich with Clearbit / LeadMagic
  → Route to SDR if ICP match
  → Send welcome email sequence

Event: "Feature Used" → feature = "Reports", 3rd time this week
  → Score: +10 engagement points
  → Trigger Intercom message: "Power user move: try Advanced Reports"

Event: "Trial Expired" → no conversion
  → Send re-engagement email sequence (3 emails over 7 days)
  → If no response: move to nurture list

Event: "NPS Submitted" → score < 6 (Detractor)
  → Create Zendesk ticket: "Follow up with Detractor"
  → Slack alert to CSM
  → Auto-schedule call with customer

Phase 5: Event Governance

Event dictionary (living document — reference per event):

Event NamePropertiesTriggerDestinationsOwner
Signed Upplan, source, referrerPOST /auth/signupSegment → allEng
Feature Usedfeature_name, contextClient-side track callAmplitude, IntercomProduct

Governance rules:

  • New events require: description, properties schema, destination list, owner
  • No "track everything" — each event must have a purpose and an owner
  • Deprecate, don't delete. Keep old events but stop sending them.
  • Review event taxonomy quarterly. Remove unused events. Consolidate duplicates.
  • Every event needs a test. CI/CD should verify events fire correctly.

Tools for event governance:

  • Avo (avo.app) — event taxonomy design, code generation, validation
  • Segment Protocols — enforce event schemas, block malformed events
  • Amplitude Data — govern events within Amplitude's ecosystem

Output Format

EVENT ANALYTICS PLAN — [Company]

CDP: [Segment / Rudderstack / mParticle / Snowplow / Custom]

EVENT TAXONOMY:
[Docs link or table with event name, properties, trigger, destinations]

IMPLEMENTATION:
- Client-side: [SDK / library]
- Server-side: [SDK / webhook pipeline]
- Testing: [how events are validated]

DESTINATIONS:
| Tool | Purpose | Key Events |
|---|---|---|
| Amplitude | Product analytics | Feature Used, Signed Up |
| Intercom | Messaging automation | All usage + milestone events |
| HubSpot | CRM | Account events, revenue events |
| Data Warehouse | Analytics | All events |

EVENT-DRIVEN WORKFLOWS:
1. [Event] → [Action] — [trigger condition]
2. [Event] → [Action] — [trigger condition]

Implementation Checklist

  • Event taxonomy documented with naming convention (Object-Action, past tense)
  • 20+ core events implemented across Account, Usage, Engagement, Revenue
  • Server-side tracking for critical events (not just client-side)
  • Group/account-level context sent for B2B (workspace ID, plan, employees)
  • Event dictionary maintained with owner, properties schema, destinations
  • Event-driven workflows documented (event → action mapping)
  • Event testing in CI/CD (events fire correctly, properties valid)
  • No PII in event properties (email, name, IP — use pseudonymous IDs)

Quality Check

Before delivering, verify:

  • Output matches the user's stated request
  • Named frameworks or sources are reflected in the recommendation
  • The deliverable is specific enough for an agent to execute
  • Any assumptions, risks, or dependencies are explicit
  • No unsupported claims, invented facts, or private/internal references are included

Common Pitfalls

  1. Tracking everything. 500 events, 50 properties each, no one knows what any of them mean. The data swamp. Fix: Every event must have a purpose. Start with 20. Add as needed.

  2. Inconsistent naming. signed_up, userSignup, Sign Up Completed all describe the same thing across different systems. Fix: One taxonomy. Object- action. Past tense. Documented in an event dictionary.

  3. Client-side only tracking. Ad blockers block client-side tracking (30-50% of users). Critical events lost. Fix: Server-side tracking for key events (signup, payment, subscription changes). Client-side for behavioral events.

  4. No group/account context for B2B. Events tracked to individual users but not linked to their company workspace. Can't answer "what are our top 10 accounts doing?" Fix: group() call on login linking user to workspace.

  5. PII in event properties. email: "person@example.com" in event properties is a data privacy violation waiting to happen. Fix: Use user IDs. Store PII in your database, not your event pipeline.

Execution Artifacts

  • references/framework-notes.md — named frameworks, citation anchors, and operating assumptions
  • templates/output-template.md — copy-paste deliverable structure for the user
  • scripts/check-output.py — local checklist validator for required sections This skill includes lightweight artifacts the agent can load on demand: Use the artifacts when the user asks for an implementation-ready deliverable, a repeatable workflow, or a quality check rather than generic advice.

Related Skills

  • cs-analytics-dashboards — CS health scores and dashboards
  • gtm-metrics — SaaS metrics stack
  • campaign-analytics — Campaign performance analysis
  • 1p-tagging-pixels — First-party tracking implementation
  • a-b-testing — Experiment design and analysis
  • attribution — Multi-touch attribution models

附带文件

技能加载后,模型会按需读取这些文件。它们仅作为可读文件提供,绝不会被执行。

常见问题

Event Analytics AI 技能有什么作用?

覆盖所有 GTM 系统的客户事件分析,包括 Intercom、Zendesk、Salesforce、HubSpot、Segment、Amplitude、Mixpanel、PostHog 和自定义事件管道。涵盖事件分类设计、跟踪实施、事件驱动工作流和统一客户视图。适用于实施事件跟踪、构建客户数据管道或设计事件驱动的 GTM 自动化。触发词:“event analytics”“customer events”“event tracking”“product analytics”“Segment setup”“event pipeline”。

为什么在 TypingMind 中使用 Event Analytics?

因为您只需安装一次,就能搭配任何模型使用。Event Analytics 采用纯 Markdown 格式,而非特定提供商专用的代码,因此同一技能可用于 GPT-5、Claude、Gemini、Grok 或本地模型。您甚至可以在聊天中途切换模型,而不会影响技能的正常使用。TypingMind 使用您自己的 API 密钥,因此您直接向提供商付费,而不是按席位订阅;您的技能和聊天记录也都保留在您自己的存储空间中。

如何在 TypingMind 中安装 Event Analytics?

在 TypingMind 中打开“插件 → 技能 → 从 GitHub 安装”,然后粘贴 https://github.com/LeadMagic/gtm-skills/tree/main/skills/analytics/event-analytics。TypingMind 会读取其中的 SKILL.md,打包相关文件,并将其安装为技能,供您在各个聊天中按需启用。

哪些 AI 模型可以使用 Event Analytics?

您在 TypingMind 中连接的任何模型都可以。AI 技能采用纯 Markdown 指令,而非特定提供商专用的代码,因此 GPT、Claude、Gemini、Grok 和本地模型都能在请求匹配时加载此技能。

Event Analytics 可以搭配多少个 AI 模型使用?

数量不限。只要模型支持技能,您就可以将它与 Event Analytics 搭配使用。GPT、Claude、Gemini、Grok、DeepSeek、Mistral、Llama 等模型都可以通过您自己的 API 密钥接入 TypingMind。

Event Analytics AI 技能免费吗?

是的。LeadMagic 已在 GitHub 上根据 MIT 许可证发布了该技能。您只需向自己的 AI 提供商支付所用 Token 的费用。

什么是 AI 技能?

AI 技能是一组可复用的指令,用于教会 AI 模型完成某项特定任务。它遵循开放的 Agent Skills 格式:包含名称和描述的 SKILL.md 文件,以及模型可能需要的脚本、模板或参考文件。模型仅在您的请求与技能匹配时才会读取这些指令,因此已安装的技能在使用前不会产生任何费用。

AI 技能与插件或 MCP 服务器有何不同?

插件或 MCP 服务器为模型提供可调用的新工具,也就是在某处运行并返回结果的代码。AI 技能则为模型提供知识和流程:如何处理任务、遵循哪些步骤,以及怎样的输出才算优质。技能采用纯 Markdown 格式,因此不需要服务器、API 密钥或运行时环境,并且适用于任何模型。

查看全部

立即创建您自己的 AI 工作区

订阅我们的电子简报,获取新功能和后续赠奖活动的通知 👇