mcpbeat Sign in

Analytics Tracking Agent Skill

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

2k tokens
context cost
SKILL.md, read when the skill is used
1
files
instructions only
1
copies elsewhere
how many repositories repackaged it
223
stars on the repo
on the repository, not the skill itself

Install

one command, takes just this skill from the repository
npx skills add https://github.com/lingxling/awesome-skills-cn --skill analytics-tracking

The instruction itself

46 sections, as written by the author

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 Readiness & Signal Quality Index (Required)

Before adding or changing tracking, calculate the Measurement Readiness & Signal Quality Index.

Purpose

This index answers:

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

It prevents:

  • 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

| Category | Weight |

| ----------------------------- | ------- |

| Decision Alignment | 25 |

| Event Model Clarity | 20 |

| Data Accuracy & Integrity | 20 |

| Conversion Definition Quality | 15 |

| Attribution & Context | 10 |

| Governance & Maintenance | 10 |

| Total | 100 |


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

Readiness Bands (Required)

| Score | Verdict | Interpretation |

| ------ | --------------------- | --------------------------------- |

| 85–100 | Measurement-Ready | Safe to optimize and experiment |

| 70–84 | Usable with Gaps | Fix issues before major decisions |

| 55–69 | Unreliable | Data cannot be trusted yet |

| <55 | Broken | Do not act on this data |

If verdict is Broken, stop and recommend remediation first.


Phase 1: Context & Decision Definition

(Proceed only after scoring)

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

  • Measurement Readiness Index score + verdict
  • Key risks and gaps
  • Recommended remediation order

Tracking Plan

| Event | Description | Properties | Trigger | Decision Supported |

| ----- | ----------- | ---------- | ------- | ------------------ |


Conversions

| Conversion | Event | Counting | Used By |

| ---------- | ----- | -------- | ------- |


Implementation Notes

  • Tool-specific setup
  • Ownership
  • Validation steps

Questions to Ask (If Needed)

  • What decisions depend on this data?
  • Which metrics are currently trusted or distrusted?
  • Who owns analytics long term?
  • What compliance constraints apply?
  • What tools are already in place?

  • 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

This skill is applicable to execute the workflow or actions described in the overview.

Limitations

  • Use this skill only when the task clearly matches the scope described above.
  • Do not treat the output as a substitute for environment-specific validation, testing, or expert review.
  • Stop and ask for clarification if required inputs, permissions, safety boundaries, or success criteria are missing.

Other skills for the same job

different authors, same section of the catalogue
XLSX
by anthropics
vendor ×17

Comprehensive spreadsheet creation, editing, and analysis with support for formulas, formatting, data analysis, and visualization. When Claude needs to work with spreadsheets (.xlsx, .xlsm, .csv, .tsv, etc) for: (1) Creating new spreadsheets with formulas and formatting, (2) Reading or analyzing data, (3) Modify existing spreadsheets while preserving formulas, (4) Data analysis and visualization in spreadsheets, or (5) Recalculating formulas

2.7k tokens scripts
XLSX
by w95
×7

Use this skill any time a spreadsheet file is the primary input or output. This means any task where the user wants to: open, read, edit, or fix an existing .xlsx, .xlsm, .csv, or .tsv file (e.g., adding columns, computing formulas, formatting, charting, cleaning messy data); create a new spreadsheet from scratch or from other data sources; or convert between tabular file formats. Trigger especially when the user references a spreadsheet file by name or path — even casually (like \"the xlsx in my downloads\") — and wants something done to it or produced from it. Also trigger for cleaning or restructuring messy tabular data files (malformed rows, misplaced headers, junk data) into proper spreadsheets. The deliverable must be a spreadsheet file. Do NOT trigger when the primary deliverable is a Word document, HTML report, standalone Python script, database pipeline, or Google Sheets API integration, even if tabular data is involved.

2.9k tokens
Raffle Winner Picker
by frostant
×5

Picks random winners from lists, spreadsheets, or Google Sheets for giveaways, raffles, and contests. Ensures fair, unbiased selection with transparency.

949 tokens
Fda Database
by christophacham
×4

Query openFDA API for drugs, devices, adverse events, recalls, regulatory submissions (510k, PMA), substance identification (UNII), for FDA regulatory data analysis and safety research.

3.8k tokens scripts
Matlab
by christophacham
×4

MATLAB and GNU Octave numerical computing for matrix operations, data analysis, visualization, and scientific computing. Use when writing MATLAB/Octave scripts for linear algebra, signal processing, image processing, differential equations, optimization, statistics, or creating scientific visualizations. Also use when the user needs help with MATLAB syntax, functions, or wants to convert between MATLAB and Python code. Scripts can be executed with MATLAB or the open-source GNU Octave interpreter.

2.5k tokens
Umap Learn
by ComeOnOliver
×4

UMAP dimensionality reduction. Fast nonlinear manifold learning for 2D/3D visualization, clustering preprocessing (HDBSCAN), supervised/parametric UMAP, for high-dimensional data.

3.8k tokens
XLSX
by anthropics
vendor ×3

Use this skill any time a spreadsheet file is the primary input or output. This means any task where the user wants to: open, read, edit, or fix an existing .xlsx, .xlsm, .xltx, .csv, or .tsv file (e.g., adding columns, computing formulas, formatting, charting, cleaning messy data); create a new spreadsheet from scratch or from other data sources; or convert between tabular file formats. Trigger especially when the user references a spreadsheet file by name or path — even casually (like \"the xlsx in my downloads\") — and wants something done to it or produced from it. Also trigger for cleaning or restructuring messy tabular data files (malformed rows, misplaced headers, junk data) into proper spreadsheets. The deliverable must be a spreadsheet file. Do NOT trigger when the primary deliverable is a Word document, HTML report, standalone Python script, database pipeline, or Google Sheets API integration, even if tabular data is involved.

2.1k tokens scripts
D3 Viz
by chrisvoncsefalvay
×3

Creating interactive data visualisations using d3.js. This skill should be used when creating custom charts, graphs, network diagrams, geographic visualisations, or any complex SVG-based data visualisation that requires fine-grained control over visual elements, transitions, or interactions. Use this for bespoke visualisations beyond standard charting libraries, whether in React, Vue, Svelte, vanilla JavaScript, or any other environment.

5.4k tokens

How to use it

Copy the folder

Take lingxling/analytics-tracking from the repository into ~/.claude/skills for personal use, or into .claude/skills inside a project.

Check the name does not clash

The agent identifies a skill by the name field in its header. Two skills with the same name cannot sit side by side — one of them will be ignored.