← 返回 Skills 市场
abhishekj9621

Engagement Analytics Skill

作者 Abhishekj9621 · GitHub ↗ · v1.0.0 · MIT-0
cross-platform ⚠ suspicious
94
总下载
0
收藏
1
当前安装
1
版本数
在 OpenClaw 中安装
/install engagement-analytics-skill
功能描述
Use this skill whenever the user needs help with behavioral analytics, engagement tracking, or data collection across any digital touchpoint. Trigger for: we...
使用说明 (SKILL.md)

Engagement Analytics Tracker Skill

A comprehensive skill for designing, implementing, and interpreting behavioral analytics across four touchpoint layers: website, email, social, and mobile app.


Four Tracking Modules

Module Reference File Use When
Website Behavioral Analytics references/website-analytics.md GTM, GA4, scroll/form/session tracking
Email Engagement Tracker references/email-analytics.md Klaviyo, Mailchimp, open/click/attribution
Social Media Engagement references/social-analytics.md Owned + competitor social tracking
Mobile App Analytics references/mobile-analytics.md Firebase, Amplitude, Mixpanel, AppsFlyer

Load strategy: Load only the relevant module(s) based on the user's question. For full analytics stack questions ("build me a complete analytics system"), load all four.


Universal Data Principles

These apply across ALL four modules:

Event Naming Convention (Use Everywhere)

object_action
# Examples:
page_viewed          button_clicked       form_abandoned
video_played         product_viewed       email_opened
session_started      feature_used         purchase_completed
  • Always lowercase with underscores
  • Object first, then action
  • Be specific: checkout_form_abandoned not form_event
  • Keep consistent across all platforms — the same action has the same name everywhere

Data Layer Structure (Web)

window.dataLayer = window.dataLayer || [];
dataLayer.push({
  event: 'event_name',           // string — always required
  user_id: 'u_abc123',           // hashed or anonymized
  session_id: 'ses_xyz',
  timestamp: new Date().toISOString(),
  page_path: window.location.pathname,
  // event-specific properties below:
  element_id: 'hero_cta',
  element_text: 'Start Free Trial',
});

Engagement Scoring Formula

A composite score usable across web, email, and app:

Engagement Score = 
  (Sessions × 1) +
  (Pages per session × 2) +
  (Scroll 75%+ events × 3) +
  (CTA clicks × 5) +
  (Email opens × 2) +
  (Email clicks × 5) +
  (App sessions × 3) +
  (Feature completions × 8) +
  (Conversions × 20)

Score tiers:
  0–20:   Cold (re-engagement candidate)
  21–50:  Warming (nurture sequence)
  51–100: Engaged (sales-ready consideration)
  100+:   High Value (priority outreach)

Adjust weights based on business model. Recalculate weekly per user.

Privacy & Compliance Baseline

  • Never collect raw PII in event properties — hash emails/IDs before sending to any platform
  • Implement consent gating: fire tracking tags only after user consents (GDPR)
  • Use server-side tagging (GTM Server-Side) for sensitive data flows
  • Respect Do Not Track headers and browser privacy modes
  • Apple ATT opt-in required for IDFA on iOS — design attribution without assuming access
  • CCPA: provide opt-out mechanism; do not sell behavioral data without consent

Quick Implementation Checklist

New Analytics Setup

  • Define tracking plan: events, properties, naming convention — before touching any tool
  • Set up GTM container (web) or SDK (mobile)
  • Implement dataLayer or SDK event calls
  • Configure GA4 or destination analytics platform
  • Validate all events in debug/preview mode before going live
  • Set up consent management (CMP) gating
  • Create dashboards for key metrics
  • Schedule regular data quality audits

Existing Analytics Audit

  • Are events named consistently? (check for duplicates with different names)
  • Is user_id passed and consistent across sessions and platforms?
  • Are conversion events firing correctly? (test end-to-end)
  • Is there data loss from consent mode, ad blockers, or iOS ATT?
  • Are email UTM parameters correctly attributed in GA4?
  • Are mobile sessions merging correctly with web sessions (cross-device)?

Cross-Channel Attribution Model

When a user touches multiple channels before converting:

Journey: Paid Ad → Email Click → Direct Visit → Converted

Attribution options:
  Last-click:     Direct gets 100% credit (most common, least accurate)
  First-click:    Paid Ad gets 100% credit
  Linear:         All 3 channels get 33% each
  Time-decay:     Direct > Email > Paid Ad (recency-weighted)
  Data-driven:    ML model (GA4 DDA) — most accurate, needs volume

Recommended: Use GA4 Data-Driven Attribution (DDA) when you have 500+ conversions/month. Below that volume, use Linear to avoid bias toward any single channel.

Track cross-channel with UTM parameters on all non-direct traffic:

?utm_source=klaviyo&utm_medium=email&utm_campaign=may_reengagement&utm_content=cta_button

Output Templates

Event Schema Definition

Event Name: [object_action]
Trigger: [when exactly does this fire?]
Properties:
  - property_name (type): description, example value
  - property_name (type): ...
Platform: [GTM / Firebase / Klaviyo / etc.]
Destination: [GA4 / BigQuery / Amplitude / etc.]
Privacy: [PII risk? How handled?]

Analytics Health Report

DATE: [date]
COVERAGE: [% of key user actions being tracked]
DATA QUALITY: [issues found — missing events, duplicates, naming inconsistencies]
TOP INSIGHTS THIS PERIOD: [what the data shows]
ACTION ITEMS: [what to fix or investigate]
安全使用建议
This skill is a detailed, practical guide for implementing analytics across web, email, mobile, and social — which is consistent with its name. However, it also contains runnable examples that would transmit user-level or device-level data to many third-party services (analytics providers, scrapers, and an LLM) if followed. Before installing or enabling this skill: - Confirm which external APIs you or the agent will actually call and only provide the minimum-scoped credentials necessary. Do not supply global or multi-account keys. - Enforce consent gating and PII controls in code paths (the doc advises hashing PII, but examples sometimes show plaintext) and validate hashing/consent is implemented before any external transmission. - Decide data residency and retention policies for sensitive signals (user IDs, device info, stack traces) and avoid sending raw identifiers to third parties. - Be cautious with recommended scrapers (Apify) — scraping may have legal/ToS implications and can collect third-party personal data. - If the agent can call the skill autonomously, restrict or audit outbound calls so the agent cannot silently create webhooks or post events to external endpoints without explicit, per-use authorization. If you need this skill's guidance but want lower risk, use it as a read-only reference (do not grant it credentials or network access) and have developers implement the instrumentation with careful secrets management and privacy reviews.
功能分析
Type: OpenClaw Skill Name: engagement-analytics-skill Version: 1.0.0 The engagement-analytics-skill bundle is a comprehensive resource for implementing behavioral tracking across web, mobile, email, and social platforms. It provides legitimate code templates and architectural guidance for industry-standard tools like GA4, Klaviyo, Firebase, and the Meta Graph API. The skill includes explicit instructions for data privacy and compliance (e.g., PII hashing, GDPR consent gating), and the AI instructions in SKILL.md are strictly functional for guiding the agent's behavior toward the stated purpose. No evidence of data exfiltration, malicious execution, or harmful prompt injection was found.
能力评估
Purpose & Capability
The name/description and the SKILL.md align: this is an analytics/engagement tracking guide covering website, email, social, and mobile analytics. The modules and recommended APIs (GTM, GA4, Klaviyo, Mailchimp, Firebase, Amplitude, Mixpanel, AppsFlyer, Meta Graph, LinkedIn) are coherent with the stated purpose.
Instruction Scope
The SKILL.md goes far beyond high-level advice: it includes concrete code snippets that show collecting and pushing user-level data (user_id, session_id, email examples, navigator.userAgent, stack_trace_id, fields touched in forms), webhook configuration, scraping actors (Apify), and using an LLM (Anthropic) for sentiment analysis. While many recommendations are standard for analytics, the instructions give operational detail that would cause data to be transmitted to many external endpoints if followed. The document lacks strict, enforceable runtime constraints (e.g., explicit rules to never send hashed IDs to third parties, examples of safe secret handling) and sometimes shows plaintext PII in examples. That increases the risk of accidental exposure or misuse if an agent or implementer follows the examples without controls.
Install Mechanism
Instruction-only skill with no install spec and no code files to execute. This minimizes disk-write and supply-chain risk.
Credentials
The skill declares no required environment variables or credentials, yet contains many examples that require API keys/tokens (Klaviyo, Mailchimp, Meta Graph, LinkedIn, Apify, Amplitude, Mixpanel, AppsFlyer, Anthropic). That mismatch means the skill will not itself request credentials but the instructions assume access to many third-party keys; users should confirm which credentials an agent (or implementation) will actually use and restrict them appropriately.
Persistence & Privilege
No 'always: true', no install actions, and no claims of modifying other skills or system settings. Autonomous invocation is allowed (platform default) but not combined with other high privileges in this package.
如何使用
  1. 确保已安装 OpenClaw(本地或 Docker 部署)
  2. 在对话框中输入安装命令:/install engagement-analytics-skill
  3. 安装完成后,直接呼叫该 Skill 的名称或使用 /engagement-analytics-skill 触发
  4. 根据 Skill 的参数说明提供必要输入,即可获得结构化输出
版本历史
v1.0.0
Initial release of the Engagement Analytics Tracker skill. - Provides modular analytics tracking guidance for web, email, social, and mobile app touchpoints. - Includes standardized event naming conventions, data layer structure, and universal engagement scoring formula. - Features privacy and compliance best practices for GDPR, CCPA, and ATT. - Supplies implementation checklists for both new setups and audits. - Offers attribution model options and UTM tracking recommendations. - Delivers clear output templates for event schemas and analytics health reports.
元数据
Slug engagement-analytics-skill
版本 1.0.0
许可证 MIT-0
累计安装 1
当前安装数 1
历史版本数 1
常见问题

Engagement Analytics Skill 是什么?

Use this skill whenever the user needs help with behavioral analytics, engagement tracking, or data collection across any digital touchpoint. Trigger for: we... 它是一个面向 Claude Code / OpenClaw 的 AI Agent Skill 插件,目前累计下载 94 次。

如何安装 Engagement Analytics Skill?

在 OpenClaw 或 Claude Code 对话框中运行命令「/install engagement-analytics-skill」即可一键安装,无需额外配置。

Engagement Analytics Skill 是免费的吗?

是的,Engagement Analytics Skill 完全免费,采用 MIT-0 许可证,可自由下载、安装和使用。

Engagement Analytics Skill 支持哪些平台?

Engagement Analytics Skill 跨平台运行,可在任意部署了 OpenClaw / Claude Code 的环境中使用(cross-platform)。

谁开发了 Engagement Analytics Skill?

由 Abhishekj9621(@abhishekj9621)开发并维护,当前版本 v1.0.0。

💬 留言讨论