engagement-analytics-tracker

Use this skill whenever the user needs help with behavioral analytics, engagement tracking, or data collection across any digital touchpoint. Trigger for: website behavioral analytics (scroll depth, form abandonment, session tracking, GTM setup, GA4 custom events), email engagement tracking (open/click/attribution via Klaviyo, Mailchimp, or custom platforms), social media engagement monitoring (owned and competitor), mobile app analytics (Firebase, Amplitude, Mixpanel, AppsFlyer), user-level engagement scoring, cohort analysis, conversion tracking, event schema design, data layer setup, attribution modeling, or any request like "track user behavior", "set up analytics", "measure engagement", "build an event schema", "track form abandonment", "email attribution", "app retention analysis", "what events should I track?", or "how do I measure X". Always use this skill — do not guess at tracking implementations from memory; patterns and APIs change.

3,891 stars

Best use case

engagement-analytics-tracker is best used when you need a repeatable AI agent workflow instead of a one-off prompt.

Use this skill whenever the user needs help with behavioral analytics, engagement tracking, or data collection across any digital touchpoint. Trigger for: website behavioral analytics (scroll depth, form abandonment, session tracking, GTM setup, GA4 custom events), email engagement tracking (open/click/attribution via Klaviyo, Mailchimp, or custom platforms), social media engagement monitoring (owned and competitor), mobile app analytics (Firebase, Amplitude, Mixpanel, AppsFlyer), user-level engagement scoring, cohort analysis, conversion tracking, event schema design, data layer setup, attribution modeling, or any request like "track user behavior", "set up analytics", "measure engagement", "build an event schema", "track form abandonment", "email attribution", "app retention analysis", "what events should I track?", or "how do I measure X". Always use this skill — do not guess at tracking implementations from memory; patterns and APIs change.

Teams using engagement-analytics-tracker should expect a more consistent output, faster repeated execution, less prompt rewriting.

When to use this skill

  • You want a reusable workflow that can be run more than once with consistent structure.

When not to use this skill

  • You only need a quick one-off answer and do not need a reusable workflow.
  • You cannot install or maintain the underlying files, dependencies, or repository context.

Installation

Claude Code / Cursor / Codex

$curl -o ~/.claude/skills/engagement-analytics-skill/SKILL.md --create-dirs "https://raw.githubusercontent.com/openclaw/skills/main/skills/abhishekj9621/engagement-analytics-skill/SKILL.md"

Manual Installation

  1. Download SKILL.md from GitHub
  2. Place it in .claude/skills/engagement-analytics-skill/SKILL.md inside your project
  3. Restart your AI agent — it will auto-discover the skill

How engagement-analytics-tracker Compares

Feature / Agentengagement-analytics-trackerStandard Approach
Platform SupportNot specifiedLimited / Varies
Context Awareness High Baseline
Installation ComplexityUnknownN/A

Frequently Asked Questions

What does this skill do?

Use this skill whenever the user needs help with behavioral analytics, engagement tracking, or data collection across any digital touchpoint. Trigger for: website behavioral analytics (scroll depth, form abandonment, session tracking, GTM setup, GA4 custom events), email engagement tracking (open/click/attribution via Klaviyo, Mailchimp, or custom platforms), social media engagement monitoring (owned and competitor), mobile app analytics (Firebase, Amplitude, Mixpanel, AppsFlyer), user-level engagement scoring, cohort analysis, conversion tracking, event schema design, data layer setup, attribution modeling, or any request like "track user behavior", "set up analytics", "measure engagement", "build an event schema", "track form abandonment", "email attribution", "app retention analysis", "what events should I track?", or "how do I measure X". Always use this skill — do not guess at tracking implementations from memory; patterns and APIs change.

Where can I find the source code?

You can find the source code on GitHub using the link provided at the top of the page.

Related Guides

SKILL.md Source

# 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)
```javascript
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]
```

Related Skills

KPI Tracker Skill

3891
from openclaw/skills

Track, analyze, and report on Key Performance Indicators for any business.

Workflow & Productivity

Budget & Expense Tracker — AI Agent Financial Command Center

3891
from openclaw/skills

Track every dollar, enforce budgets, spot spending patterns, and build wealth — all through natural conversation with your AI agent.

General Utilities

marketing-analytics

3891
from openclaw/skills

Analyze marketing campaign data to generate performance reports and optimization recommendations

Marketing Analytics

game-light-tracker

3891
from openclaw/skills

Track live NFL, NBA, NHL, or MLB games and automatically change Hue light colors based on which team is leading. Use when user wants to sync smart lights with live sports scores for visual game tracking. Supports NFL, NBA, NHL, and MLB games with customizable team colors.

General Utilities

ml-experiment-tracker

3891
from openclaw/skills

Plan reproducible ML experiment runs with explicit parameters, metrics, and artifacts. Use before model training to standardize tracking-ready experiment definitions.

Data & Research

pitch-follow-up-tracker

3891
from openclaw/skills

Track outreach pitches and draft contextual follow-up emails. Monitors a pitch tracker (Google Sheet or local markdown), checks Gmail for replies, flags stale pitches, and drafts tiered follow-ups (Day 3, Day 7, Day 14) that reference the original pitch content. Use when you need to check on pitch follow-ups, draft follow-up emails, review outreach status, find pitches without replies, or manage an outreach pipeline. Triggers on: 'check follow-ups,' 'who hasn't replied,' 'draft follow-ups,' 'outreach status,' 'pitch tracker,' 'stale pitches,' or any request to manage pitch/outreach follow-up.

github-growth-tracker

3891
from openclaw/skills

Track GitHub repo growth (stars, forks, issues, commits) with periodic digests and trend analysis. Compare your repos against a watchlist. Use when checking repo stats, monitoring growth, setting up a github digest, comparing repos, or managing a repo watchlist. Requires GITHUB_TOKEN environment variable or GitHub PAT (see Credentials).

ad-platform-tracker

3891
from openclaw/skills

Use this skill whenever the user needs to track, analyze, or respond to advertising platform changes across Meta (Facebook/Instagram), Google Ads, or competitor intelligence. Trigger for any of these requests: Meta algorithm updates, Andromeda implications, Google Ads policy changes, Performance Max updates, privacy/compliance tracking (GDPR, CCPA, iOS), competitor ad analysis, campaign impact assessment, ad policy audits, regulatory compliance checks, platform feature rollouts, algorithm behavior changes, creative strategy updates from platform shifts, competitor ad library scraping, or any question like "what changed on Meta/Google?", "how does X update affect my campaigns?", "is my account compliant?", "what are competitors running?". Always use this skill — do not rely on training memory for fast-changing platform details.

alumni-career-tracker

3891
from openclaw/skills

Analyze laboratory alumni career trajectories and outcomes to provide data-driven career guidance for current students and postdocs. Tracks industry vs academia distribution, identifies career pathways, and generates personalized recommendations based on degree level and research interests.

tracker-latest-run-monitor

3891
from openclaw/skills

Monitor the most recent run result of a configured OpenClaw cron job and send a compact Feishu private message with the latest execution time, status, and detail. Use when a user wants a standalone skill for latest-run monitoring, cron status notifications, daily status pings, or Feishu alerts for a tracker/scheduled job regardless of success or failure.

openclaw-deploy-tracker

3891
from openclaw/skills

记录和查询 OpenClaw 生态的部署服务。当需要新增部署、查询现有服务、更新服务状态、检查依赖关系时使用。规范记录格式,提供查询和写入的工作流。无需凭证。

beijing-signed-price-tracker

3891
from openclaw/skills

Track configured Beijing Housing Commission new-home projects from bjjs.zjw.beijing.gov.cn project-detail URLs, read project signed-unit counts, signed area, and average price, crawl building tables including “查看更多” and paginated lists, treat both “已签约” and “网上联机备案” as signed units, estimate the implied average price per m² of newly signed rooms from changes between the previous and current project summaries, cache unsold room metadata locally, persist rows into a Feishu spreadsheet as the single source of truth, and send Feishu DM notifications after each run. Use when asked to monitor one or more Beijing pre-sale projects, update a project mapping, sync newly signed rooms into a Feishu sheet, infer newly signed average price, verify duplicate insertion behavior, or notify on updates.