analytics-tracking

analytics-tracking is a skill for Claude Code, Codex from davila7/claude-code-templates. It costs 82 tokens per session (2,552 once invoked), scanned A, original, MIT.

A guide to setting up and checking analytics tracking, which records actions such as page views, clicks, and purchases.

In plain words
What is it for?
Use it to plan events, conversion tracking, UTM tags, Google Analytics or similar tools, and data-quality checks.
Why use it?
It helps prevent missing, inconsistent, or irrelevant data from leading to poor product and marketing decisions.

Skill for Claude CodeCodex

Written for no agent in particular: nothing here depends on one.

not rated 35krepo +152 today A scan Socket: passSnyk: passSkillSpector: warn 82 tokens original MIT

Good fit Use it to plan events, conversion tracking, UTM tags, Google Analytics or similar tools, and data-quality checks.

Compare 6 skills from other repositories ↓
Install with agentmods
npx agentmods add skills/davila7/claude-code-templates/analytics-tracking
About the project

Claude Code Templates is a command-line tool and catalogue for configuring Anthropic’s Claude Code with agents, commands, settings, hooks, integrations, skills, and project templates. Developers use it to browse and install reusable components for their coding workflows. The catalogue includes many of these Claude Code components.

davila7/claude-code-templates · 34,542 stars · on GitHub · aitmpl.com

Install

Getting it into your agent

One page per mod, every tool's command on it. A separate URL per tool would split the same page into five that compete with each other.

Any agent
npx skills add davila7/claude-code-templates --skill analytics-tracking
Clone the repo
git clone --depth 1 https://github.com/davila7/claude-code-templates

Made for: Claude Code, Codex.

Wrote this? Show the measurements

A badge with what this costs and how it scanned, read live from this page, so it follows the numbers instead of freezing them. Markdown for a README, HTML for a documentation site or a project page.

agentmods badge for analytics-tracking

README.md
[![agentmods](https://agentmods.dev/badge/skills/davila7/claude-code-templates/analytics-tracking/github.svg)](https://agentmods.dev/skills/davila7/claude-code-templates/analytics-tracking)
Your own site
<a href="https://agentmods.dev/skills/davila7/claude-code-templates/analytics-tracking"><img src="https://agentmods.dev/badge/skills/davila7/claude-code-templates/analytics-tracking/github.svg" alt="Measured on agentmods" height="20"></a>

Or the 80×15 button, for a site that already has a row of RSS and ATOM ones. Only the verdict fits; the numbers stay here.

agentmods 80×15 button for analytics-tracking

Your own site · 80×15
<a href="https://agentmods.dev/skills/davila7/claude-code-templates/analytics-tracking"><img src="https://agentmods.dev/badge/skills/davila7/claude-code-templates/analytics-tracking.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 82 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 2,552 The whole file, excluding the scripts and references it only reads on demand.
Security scan A 0 findings. A grade says what 26 rules found in the file — not that it is safe. Third-party audits
  • Socket pass 18 Mar 2026
  • Snyk pass 15 Feb 2026
  • NVIDIA SkillSpector warn 7 Sept 2026
SkillSpector: 1 finding, up to medium

These are SkillSpector’s own severities. On a checked sample its high-severity flags on skills were ~96% false positives — a documented command, a public API, a “never do X” rule — so we show them as a caution to read, not a verdict. Why →

  • medium Tool Misuse · line 405
    Tool defaults are unsafe or overly permissive (e.g. disabled TLS verification, no authentication, world-writable permissions). Unsafe defaults widen the attack surface.
    Fix: Override unsafe defaults with secure settings (verify=True, auth required, restrictive permissions). Review and harden all tool configurations.
How audits are shown
Origin original No closer match found in the catalogue.
Token cost

What it costs to keep this loaded

Counted locally with the o200k_base tokenizer, which is exact for GPT models; Claude uses its own tokenizer and its counts differ. Treat this as one consistent yardstick across the catalogue rather than a bill. Prices are per million input tokens.

ModelPer sessionOnce invoked
Fable 5.1 $0.00082 $0.02552
Opus 5.5 $0.00033 $0.01021
Sonnet 5.5 $0.00016 $0.00510
Haiku 4.5 $0.00008 $0.00255

Measured 2mo ago against content hash d3619b093a80, method: parsed. Prices are Anthropic first-party input rates as of 2026-10-07, from the pricing page.

Security

Grade A, and why

analytics-tracking scanned grade A with 0 findings against 26 rules in 11 categories — prompt injection, anti-refusal, data exfiltration, privilege escalation, supply chain, agent snooping, system-prompt leakage, SSRF and excessive agency — measured 2mo ago.

A static scan of the body, not an audit. Every finding is printed with the line that produced it so you can judge whether it matters here. A mod is markdown that instructs an agent; that is exactly why what it instructs is worth reading.

Nothing flagged

None of the 26 patterns this scan looks for appear in this file: no shell pipes, no recursive deletes, no credential paths, no hidden text, no instruction-override or anti-refusal phrasing, no agent-config snooping. That is not a guarantee, it is the absence of the things that are checkable.

Origin

Copies of this mod

3 near-identical copies found in the catalogue:

cli-tool/components/skills/business-marketing/analytics-tracking/SKILL.md · 540 lines

How it starts

The opening of the file, as written. The whole thing — 540 lines — stays where its author put it; the contents beside it link to each section on GitHub.

Analytics Tracking

You are an expert in analytics implementation and measurement. Your goal is to help set up tracking that provides actionable insights for marketing and product decisions.

Initial Assessment

Before implementing tracking, understand:

  1. Business Context

    • What decisions will this data inform?
    • What are the key conversion actions?
    • What questions need answering?
  2. Current State

    • What tracking exists?
    • What tools are in use (GA4, Mixpanel, Amplitude, etc.)?
    • What's working/not working?
  3. Technical Context

    • What's the tech stack?
    • Who will implement and maintain?
    • Any privacy/compliance requirements?

Core Principles

1. Track for Decisions, Not Data

  • Every event should inform a decision
  • Avoid vanity metrics
  • Quality > quantity of events

2. Start with the Questions

  • What do you need to know?
  • What actions will you take based on this data?
  • Work backwards to what you need to track

3. Name Things Consistently

  • Naming conventions matter
  • Establish patterns before implementing
  • Document everything

4. Maintain Data Quality

  • Validate implementation
  • Monitor for issues
  • Clean data > more data

Tracking Plan Framework

Structure

Event Name | Event Category | Properties | Trigger | Notes
---------- | ------------- | ---------- | ------- | -----

Event Types

Pageviews

  • Automatic in most tools
  • Enhanced with page metadata

User Actions

  • Button clicks
  • Form submissions
  • Feature usage
  • Content interactions

System Events

  • Signup completed
  • Purchase completed
  • Subscription changed
  • Errors occurred

Custom Conversions

  • Goal completions
  • Funnel stages
  • Business-specific milestones

Event Naming Conventions

Format Options

Object-Action (Recommended)

signup_completed
button_clicked
form_submitted
article_read

Action-Object

click_button
submit_form
complete_signup

Category_Object_Action

checkout_payment_completed
blog_article_viewed
onboarding_step_completed

Read the full file on GitHub · 540 lines

Changes

What this file has done since we first saw it

Hashed on every crawl. A supply-chain change to an agent config is a question of when, not whether, so the history is kept rather than the latest state alone.

  1. 2mo ago First seen · 540 lines · 82 tokens per session scan A d3619b093a80

Subscribe to this mod's changes

analytics-tracking is a skill published in the GitHub repository davila7/claude-code-templates (34,542 stars, last pushed today), licensed MIT. It adds 82 tokens to every session and 2,552 once invoked, about $0.0003 per session on Opus 5.5. A static security scan graded it A with 0 findings. No closer match exists in the catalogue, so it is treated as the original; first seen 2026-09-03.

Related

analytics-tracking compared with skills from other repositories

analytics-tracking next to 6 skills from other repositories
ModTypeStarsLast pushLicenceScanTokensWorks with
analytics-trackingdavila7/claude-code-templatesSkill35ktodayMITA82Claude Code, Codex
five-whyswesammustafa/Claude-Code-Everything-You-Need-to-KnowSkill3.7k2d agononeA53Claude Code
tddwesammustafa/Claude-Code-Everything-You-Need-to-KnowSkill3.7k2d agononeA4Claude Code
review-checklistwesammustafa/Claude-Code-Everything-You-Need-to-KnowSkill3.7k2d agononeA25Claude Code, Codex
check-linkswesammustafa/Claude-Code-Everything-You-Need-to-KnowSkill3.7k2d agononeA44Claude Code, Codex
changelogwesammustafa/Claude-Code-Everything-You-Need-to-KnowSkill3.7k2d agononeA28Claude Code
report-formatsandisab/swe-marketplaceSkill233d agoMITA105Claude Code