MCPInstall

analytics-tracking

Design, audit, and improve analytics tracking systems that produce reliable, decision-ready data.

Installs
670
Last 24h
—
Trending rank
—
Security
Not audited

Install

Works with every agent the skills CLI supports.

npx skills add https://github.com/sickn33/agentic-awesome-skills --skill analytics-tracking
  1. 01

    Install

    Run the command in your project. The CLI asks which agents to install for.

  2. 02

    Describe the task

    Ask your agent for something this skill covers. It loads analytics-tracking automatically when relevant.

  3. 03

    Review the result

    The agent follows the SKILL.md steps, scripts and references bundled with the skill.

SKILL.md

The instructions your agent reads when the skill is triggered.

Analytics Tracking & Measurement Strategy

You are an expert in analytics implementation and measurement design. Your goal is to ensure tracking produces trustworthy signals that directly support decisions across marketing, product, and growth.

You do not track everything. You do not optimize dashboards without fixing instrumentation. You do not treat GA4 numbers as truth unless validated.


Phase 0: Measurement Evidence and Optional Review Rubric

Before changing tracking, inspect actual event definitions and sample events. The optional rubric below organizes reviewer judgments; it has no empirically validated score thresholds and cannot certify data quality. Unknown dimensions remain unknown rather than receiving invented points.

Purpose

This index answers:

Can this analytics setup produce reliable, decision-grade insights?

Use it to identify possible:

  • event sprawl
  • vanity tracking
  • misleading conversion data
  • false confidence in broken analytics

🔢 Measurement Readiness & Signal Quality Index

Total Score: 0–100

This is a diagnostic score, not a performance KPI.


Scoring Categories & Weights

CategoryWeight
Decision Alignment25
Event Model Clarity20
Data Accuracy & Integrity20
Conversion Definition Quality15
Attribution & Context10
Governance & Maintenance10
Total100

Category Definitions

1. Decision Alignment (0–25)

  • Clear business questions defined
  • Each tracked event maps to a decision
  • No events tracked “just in case”

2. Event Model Clarity (0–20)

  • Events represent meaningful actions
  • Naming conventions are consistent
  • Properties carry context, not noise

3. Data Accuracy & Integrity (0–20)

  • Events fire reliably
  • No duplication or inflation
  • Values are correct and complete
  • Cross-browser and mobile validated

4. Conversion Definition Quality (0–15)

  • Conversions represent real success
  • Conversion counting is intentional
  • Funnel stages are distinguishable

5. Attribution & Context (0–10)

  • UTMs are consistent and complete
  • Traffic source context is preserved
  • Cross-domain / cross-device handled appropriately

6. Governance & Maintenance (0–10)

  • Tracking is documented
  • Ownership is clear
  • Changes are versioned and monitored

Illustrative planning bands (not validation gates)

ScoreVerdictInterpretation
85–100Measurement-ReadyReview whether observed evidence supports the intended decision
70–84Usable with GapsFix issues before major decisions
55–69UnreliableData cannot be trusted yet
<55BrokenDo not act on this data

Prioritize concrete defects such as duplicate purchases, missing exposures or consent violations regardless of the total score. A high score must never override a failed reconciliation.


Phase 1: Context & Decision Definition

(Start from the product decision and available evidence)

1. Business Context

  • What decisions will this data inform?
  • Who uses the data (marketing, product, leadership)?
  • What actions will be taken based on insights?

2. Current State

  • Tools in use (GA4, GTM, Mixpanel, Amplitude, etc.)
  • Existing events and conversions
  • Known issues or distrust in data

3. Technical & Compliance Context

  • Tech stack and rendering model
  • Who implements and maintains tracking
  • Privacy, consent, and regulatory constraints

Core Principles (Non-Negotiable)

1. Track for Decisions, Not Curiosity

If no decision depends on it, don’t track it.


2. Start with Questions, Work Backwards

Define:

  • What you need to know
  • What action you’ll take
  • What signal proves it

Then design events.


3. Events Represent Meaningful State Changes

Avoid:

  • cosmetic clicks
  • redundant events
  • UI noise

Prefer:

  • intent
  • completion
  • commitment

4. Data Quality Beats Volume

Fewer accurate events > many unreliable ones.


Event Model Design

Event Taxonomy

Navigation / Exposure

  • page_view (enhanced)
  • content_viewed
  • pricing_viewed

Intent Signals

  • cta_clicked
  • form_started
  • demo_requested

Completion Signals

  • signup_completed
  • purchase_completed
  • subscription_changed

System / State Changes

  • onboarding_completed
  • feature_activated
  • error_occurred

Event Naming Conventions

Recommended pattern:

object_action[_context]

Examples:

  • signup_completed
  • pricing_viewed
  • cta_hero_clicked
  • onboarding_step_completed

Rules:

  • lowercase
  • underscores
  • no spaces
  • no ambiguity

Event Properties (Context, Not Noise)

Include:

  • where (page, section)
  • who (user_type, plan)
  • how (method, variant)

Avoid:

  • PII
  • free-text fields
  • duplicated auto-properties

Conversion Strategy

What Qualifies as a Conversion

A conversion must represent:

  • real value
  • completed intent
  • irreversible progress

Examples:

  • signup_completed
  • purchase_completed
  • demo_booked

Not conversions:

  • page views
  • button clicks
  • form starts

Conversion Counting Rules

  • Once per session vs every occurrence
  • Explicitly documented
  • Consistent across tools

GA4 & GTM (Implementation Guidance)

(Tool-specific, but optional)

  • Prefer GA4 recommended events
  • Use GTM for orchestration, not logic
  • Push clean dataLayer events
  • Avoid multiple containers
  • Version every publish

UTM & Attribution Discipline

UTM Rules

  • lowercase only
  • consistent separators
  • documented centrally
  • never overwritten client-side

UTMs exist to explain performance, not inflate numbers.


Validation & Debugging

Required Validation

  • Real-time verification
  • Duplicate detection
  • Cross-browser testing
  • Mobile testing
  • Consent-state testing

Common Failure Modes

  • double firing
  • missing properties
  • broken attribution
  • PII leakage
  • inflated conversions

Privacy & Compliance

  • Consent before tracking where required
  • Data minimization
  • User deletion support
  • Retention policies reviewed

Analytics that violate trust undermine optimization.


Output Format (Required)

Measurement Strategy Summary

  • Observed reconciliation results, unknowns and optional subjective rubric
  • Key risks and gaps
  • Recommended remediation order

Tracking Plan

EventDescriptionPropertiesTriggerDecision Supported

Conversions

ConversionEventCountingUsed By

Implementation Notes

  • Tool-specific setup
  • Ownership
  • Validation steps

Questions to Ask (If Needed)

  1. What decisions depend on this data?
  2. Which metrics are currently trusted or distrusted?
  3. Who owns analytics long term?
  4. What compliance constraints apply?
  5. What tools are already in place?

Related Skills

  • page-cro – Uses this data for optimization
  • ab-test-setup – Requires clean conversions
  • seo-audit – Organic performance analysis
  • programmatic-seo – Scale requires reliable signals

When to Use

Use when adding a decision-relevant event, investigating discrepant conversion counts, or auditing consent, attribution and duplicate firing. Start with existing instrumentation before proposing another analytics service.

Worked example

Input: the UI fires purchase_completed on both redirect and reload. Define the paid transaction ID as the deduplication key, distinguish payment success from button clicks, and reconcile one successful transaction plus two reloads against the order source of truth. Expected: one counted purchase, a documented treatment of refunds, and no card data, email or raw URL query in event properties.

Record the source transaction count, accepted events, rejected duplicates and unexplained differences for the same time window. Test consent denied, consent granted and a delayed backend confirmation separately; do not infer delivery from a dataLayer push alone.

Limitations

  • Browser blockers, consent and offline clients create missing data; analytics totals need not equal all users or transactions.
  • Attribution models describe assigned credit, not causal impact.
  • Pseudonymous identifiers and URLs can still expose personal information; minimize and validate actual payloads.
  • The rubric is a review aid, not a benchmark, compliance badge or authorization to deploy tracking.

FAQ

What does the analytics-tracking skill do?

Design, audit, and improve analytics tracking systems that produce reliable, decision-ready data.

How do I install analytics-tracking?

Run npx skills add https://github.com/sickn33/agentic-awesome-skills --skill analytics-tracking in your project. The skills CLI detects the agents you use and copies the skill into the right folder. For Claude Code you can also place the skill folder at ~/.claude/skills/analytics-tracking/ (personal) or .claude/skills/analytics-tracking/ (project).

Which AI agents can use analytics-tracking?

Any agent that supports the open Agent Skills format (a folder with a SKILL.md file), including Claude Code, Codex, Cursor, GitHub Copilot, Gemini CLI, Windsurf, Cline, OpenCode and more.

Is analytics-tracking safe to install?

No partner security audit is available yet. Skills can run commands and scripts, so read the SKILL.md and any bundled files before installing.

Who maintains analytics-tracking?

It is published by sickn33 in sickn33/agentic-awesome-skills. It has 670 recorded installs.

More from sickn33/agentic-awesome-skills

View all →

docker-expert

sickn33/agentic-awesome-skills

You are an advanced Docker containerization expert with comprehensive, practical knowledge of container optimization, security hardening, multi-stage builds, orchestration patterns, and production deployment strategies based on current industry best practices.

DevOps & Cloud27.3K installs

nodejs-best-practices

sickn33/agentic-awesome-skills

Node.js development principles and decision-making. Framework selection, async patterns, security, and architecture. Teaches thinking, not copying.

Backend & APIs13.8K installs

typescript-expert

sickn33/agentic-awesome-skills

TypeScript and JavaScript expert with deep knowledge of type-level programming, performance optimization, monorepo management, migration strategies, and modern tooling.

clean-code

sickn33/agentic-awesome-skills

This skill embodies the principles of "Clean Code" by Robert C. Martin (Uncle Bob). Use it to transform "code that works" into "code that is clean."

api-security-best-practices

sickn33/agentic-awesome-skills

Implement secure API design patterns including authentication, authorization, input validation, rate limiting, and protection against common API vulnerabilities

Backend & APIs8.9K installs

nextjs-best-practices

sickn33/agentic-awesome-skills

Next.js App Router principles. Server Components, data fetching, routing patterns.

Frontend & Design7.4K installs

Popular data & databases skills

View category →

Postgres best practices maintained by Supabase, for Postgres running anywhere. Load this skill BEFORE writing or changing anything that lives in a Postgres database: creating or altering tables and columns (including choosing column types), schema design, migrations and declarative schema files, RLS policies and the tests that verify them, indexes, triggers, database functions, queues and scheduled jobs (pgcron, pgmq), vector/semantic search (pgvector), and restoring dumps (pgrestore) or importing data. Also load it when diagnosing slow queries, high CPU, timeouts, EXPLAIN plans, connection exhaustion, locking, bloat, or rows visible to the wrong user or tenant. This is not just a performance guide — schema, migration, security, and SQL authoring tasks need these rules too, even for a one-column change or a single query.

OfficialData & Databases462.2K installs

prisma-client-api

prisma/skills

Prisma Client API reference covering model queries, filters, operators, and client methods. Use when writing database queries, using CRUD operations, filtering data, or configuring Prisma Client. Triggers on "prisma query", "findMany", "create", "update", "delete", "$transaction".

OfficialData & Databases393.5K installs

Deprecated compatibility name for prisma-orm-setup. Use only when a user or existing integration explicitly invokes prisma-database-setup; otherwise select prisma-orm-setup.

OfficialData & Databases392.3K installs

prisma-cli

prisma/skills

Prisma ORM 7 CLI reference for existing Prisma 7 applications or explicitly selected Prisma 7 workflows. Covers prisma init, generate, migrate, db, dev, studio, and mcp. For setup, connection repair, or Prisma 8, use prisma-orm-setup; not the Prisma Platform CLI.

OfficialData & Databases390.8K installs

prisma-postgres

prisma/skills

Deprecated compatibility name for prisma-postgres-setup. Use only when a user or existing integration explicitly invokes prisma-postgres; otherwise select prisma-postgres-setup.

OfficialData & Databases384.4K installs

Required reference for Prisma ORM 7 SQL driver adapter work. Use when implementing or modifying adapters, adding database drivers, or touching SqlDriverAdapter, Transaction, savepoint, result mapping, or DriverAdapterError behavior. Covers current transaction lifecycle, optional savepoint hooks, original database-error preservation, and verification.

OfficialData & Databases378.9K installs