Token导航 LogoToken导航TokenDH.com
研究检索external-servicegithub未标认证来源可访问clear审计通过

analytics-tracking分析跟踪

Agent Skill

用于辅助数据整理、表格处理、CSV/Excel 分析、指标计算和图表准备。它适合让 Agent 清洗字段、汇总数据、发现异常、生成统计口径或把分析结果转成可读说明。使用时需要确认数据来源、字段含义和时间范围,避免把样本数据当全量事实;涉及敏感数据、导出文件或批量写回时,应先确认权限和脱敏边界。

总安装

326

周安装

14

GitHub Stars

公开资料未说明

下载量

114
CodexClaudeCursorGemini CLI

安装说明

本站只整理中文说明和来源信息,不托管安装包,也不代用户安装。

GitHub

来源数

3

许可证

MIT

最后核验

2026-05-01

来源状态

来源可访问

安装方式

通过对话安装

复制提示词发给支持本地命令或 Skills 的 AI 助手,先确认命令和权限,再让它执行。

请帮我安装这个 Agent Skill:analytics-tracking(分析跟踪)
来源仓库:https://github.com/alexwelcing/copy
仓库路径:skills/analytics-tracking
安装命令:
npx skills add https://github.com/alexwelcing/copy --skill analytics-tracking
安装前请先检查当前环境是否支持对应 CLI,并向我确认将要执行的命令、安装目录、联网范围和文件读写权限;确认后再执行。

命令行安装

复制命令到本机终端执行。不同来源提供的安装方式可能略有差异;本站展示可直接复制的安装命令,安装前请核对来源页面。

skills.shnpx skills
npx skills add https://github.com/alexwelcing/copy --skill analytics-tracking

简介

用于营销数据分析框架搭建与追踪标签实施指导,覆盖 GA4、GTM 等主流工具链。

  • 适合在 Codex、Claude、Cursor、Gemini CLI 中构建可操作的测量体系与归因模型。
  • 使用时需区分核心 KPI 与支撑维度,确保数据整理粒度匹配业务决策需求。
  • 安装方式:通过 npx skills add 命令从指定 GitHub 仓库添加,支持跨平台部署使用。
  • 涉及用户行为数据时应注意隐私合规要求,避免收集非必要个人信息或敏感字段。

SKILL.md

Analytics Tracking Skill

You are an expert in marketing analytics and tracking implementation. Your goal is to help create measurement frameworks that provide actionable insights for optimization.

Analytics Fundamentals

Measurement Hierarchy

  1. Business objectives: Revenue, growth, retention
  2. KPIs: Metrics that indicate progress
  3. Supporting metrics: Diagnostic details
  4. Dimensions: How to slice data

Common Tools

Web Analytics: GA4, Mixpanel, Amplitude, Heap Tag Management: GTM, Segment, Tealium Attribution: UTM tracking, multi-touch Heatmaps: Hotjar, FullStory, Microsoft Clarity A/B Testing: Optimizely, VWO, LaunchDarkly

Tracking Architecture

Event-Based Model

Modern analytics uses events:

Event: signup_completed
Properties:
  - method: google_sso
  - plan_selected: pro
  - referral_source: twitter
  - device_type: mobile

Event Naming Convention

Format: object_action or action_object

Examples:

  • page_viewed
  • button_clicked
  • form_submitted
  • signup_completed
  • purchase_made

Rules:

  • Lowercase with underscores
  • Past tense for completed actions
  • Consistent across product
  • Documented in tracking plan

Tracking Plan Template

Document Structure

# Tracking Plan: [Product Name]
Last Updated: [Date]

## Event Inventory

### Page Views
| Event | Properties | Trigger |
|-------|------------|---------|
| page_viewed | page_name, page_url, referrer | On page load |

### User Actions
| Event | Properties | Trigger |
|-------|------------|---------|
| button_clicked | button_name, button_location | On click |
| form_submitted | form_name, form_fields | On submit |

### Conversions
| Event | Properties | Trigger |
|-------|------------|---------|
| signup_completed | method, plan | After signup |
| purchase_completed | amount, product | After payment |

## User Properties
| Property | Description | When Set |
|----------|-------------|----------|
| user_id | Unique identifier | On signup |
| plan_type | Current plan | On signup/upgrade |
| signup_date | First signup | On signup |

## UTM Parameters
| Parameter | Usage |
|-----------|-------|
| utm_source | Traffic source (google, twitter) |
| utm_medium | Marketing medium (cpc, email) |
| utm_campaign | Campaign name |
| utm_content | Creative variant |
| utm_term | Search keywords |

Essential Events

Acquisition Events

  • page_viewed - Page loads
  • cta_clicked - Marketing CTA clicks
  • utm_captured - Attribution data

Activation Events

  • signup_started - Began registration
  • signup_completed - Finished registration
  • onboarding_step_completed - Each step
  • activation_event - Your key activation

Engagement Events

  • feature_used - Key feature usage
  • session_started - Return visits
  • content_consumed - Content engagement

Revenue Events

  • trial_started - Free trial begins
  • upgrade_initiated - Started upgrade
  • purchase_completed - Transaction done
  • subscription_renewed - Renewal

Retention Events

  • return_visit - Came back
  • churn_risk_signal - Inactivity
  • feedback_submitted - User feedback

UTM Tracking

Structure

https://site.com/page?utm_source=google&utm_medium=cpc&utm_campaign=spring_sale&utm_content=banner_a

Best Practices

  • Consistent naming convention
  • Lowercase only
  • No spaces (use underscores)
  • Document all campaigns
  • Use URL builder tools

Attribution Windows

  • First touch: Credit to first interaction
  • Last touch: Credit to final interaction
  • Linear: Equal credit to all
  • Time decay: More credit to recent

GA4 Implementation

Core Setup

  1. Create GA4 property
  2. Install gtag.js or GTM
  3. Configure data streams
  4. Enable enhanced measurement
  5. Set up conversions

Custom Events

gtag('event', 'signup_completed', {
  'method': 'email',
  'plan': 'pro'
});

Enhanced Ecommerce

gtag('event', 'purchase', {
  'transaction_id': 'T12345',
  'value': 99.00,
  'currency': 'USD',
  'items': [{ ... }]
});

Google Tag Manager Setup

Container Structure

  • Tags: What fires (GA4, Meta Pixel, etc.)
  • Triggers: When it fires (page view, click, etc.)
  • Variables: Data to include

Common Tags

  • GA4 Configuration
  • GA4 Event
  • Meta/Facebook Pixel
  • LinkedIn Insight
  • Google Ads Conversion

Trigger Types

  • Page View (DOM Ready, Window Loaded)
  • Click (All Clicks, Link Clicks)
  • Form Submission
  • Custom Events (dataLayer)
  • Timer
  • Scroll Depth

DataLayer Implementation

// Push events to dataLayer
dataLayer.push({
  'event': 'signup_completed',
  'method': 'google_sso',
  'plan': 'pro'
});

Conversion Tracking

Define Conversions

Primary: Revenue-generating actions Secondary: Engagement milestones

Track Funnel Steps

Page View → Signup Click → Form Start → Form Complete → Activation
   100%        45%           30%           22%            15%

Revenue Attribution

  • Track transaction value
  • Attribute to marketing source
  • Calculate CAC and ROAS
  • Monitor LTV by channel

Dashboard Design

Marketing Dashboard

Acquisition:

  • Traffic by source/medium
  • Campaign performance
  • Landing page conversion

Activation:

  • Signup conversion rate
  • Activation rate
  • Time to activation

Revenue:

  • MRR/ARR
  • Conversion to paid
  • ARPU by segment

Retention:

  • Churn rate
  • Return visitor rate
  • Engagement metrics

QA Checklist

Pre-Launch

  • Tracking plan documented
  • Events match plan
  • Properties capture correctly
  • Test environment verified
  • PII compliance checked

Post-Launch

  • Events firing correctly
  • Data appearing in tool
  • Conversions tracking
  • Segments working
  • Reports accurate

Ongoing

  • Regular data audits
  • Documentation updated
  • New features tracked
  • Team trained

Platform Monitoring (Render MCP)

When the service runs on Render, use the Render MCP server to track infrastructure metrics alongside marketing analytics. These metrics close the gap between "the page loaded" and "the page loaded *fast enough* to convert."

Available Metrics

  • Response counts by status code — track 4xx/5xx error rates that silently kill conversions
  • Response times — correlate slow pages with conversion drop-offs (Professional plan+)
  • CPU/memory usage — detect resource constraints before users notice
  • Outbound bandwidth — monitor API proxy and asset delivery volume
  • Deploy history — correlate deploys with metric changes

Infrastructure-to-Conversion Correlation

Deploy event → Response time spike → Conversion rate drop
                                    ↑
                          This is invisible without
                          platform metrics

Track these as deployment events in your analytics:

// After each deploy, log to your analytics
gtag('event', 'deploy_completed', {
  'deploy_id': 'dep-abc123',
  'service': 'frontend',
  'timestamp': '2026-02-21T19:18:15Z'
});

Health Monitoring Checklist

  • Health endpoint returns 200 (/health)
  • Response time p95 < 500ms for marketing pages
  • Error rate (5xx) < 0.1% of total requests
  • No memory/CPU saturation during traffic spikes
  • Deploy success rate tracked over time

Output Format

When setting up tracking, provide:

  1. Tracking plan spreadsheet/document
  2. Implementation spec for developers
  3. GTM container setup instructions
  4. QA checklist with test cases
  5. Dashboard template with key metrics
  6. Documentation for team reference

Related Skills

  • ab-test-setup - For experiment tracking
  • page-cro - For conversion optimization
  • seo-audit - For organic tracking
  • deployment - For deploy verification and infrastructure monitoring

适合场景

01

用户想查找某类 Agent Skill 时

02

需要根据任务场景推荐可安装能力包时

03

需要对比不同来源的安装命令和来源信息时

04

需要参考平台分布和安装热度时

能力概览

能力 1

按任务关键词查找相关 Skills

能力 2

展示可复制的安装命令

能力 3

保留来源站点、仓库和原始说明,方便继续核验

能力 4

补充不同宿主或平台的使用分布数据

能力 5

展示第三方安全扫描或审计结果

安装后应在对应宿主中按原始 README 的触发条件使用;具体调用方式请以来源页面和 README 为准。

平台分布

Claude Code

28.71%
按下载量换算33

OpenCode

21.89%
按下载量换算25

Codex

18.13%
按下载量换算21

Antigravity

12.89%
按下载量换算15

Gemini CLI

7.86%
按下载量换算9

windsurf

3.43%
按下载量换算4

安全审计

Gen Agent Trust Hub

通过

Socket

通过

Snyk

通过

权限和风险

external-service

该 Skill 可能调用第三方服务、云服务或外部模型 API,使用前需要确认账号、额度、数据发送范围和服务条款。

安装前确认

本站仅展示第三方公开信息,不托管安装包,不提供自动安装或运行环境。安装前应自行审查源码、依赖和命令行为。

来源信息

继续浏览同类 Skills