analytics-tracking

analytics-tracking is a skill for Codex from bestagentkits/agency-skills. It costs 133 tokens per session (3,579 once invoked), scanned A, original, MIT.

A guide for setting up, checking, and fixing website and app analytics, including GA4 and Google Tag Manager. It covers which user actions to record and how to track conversions.

In plain words
What is it for?
Use it to create a tracking plan, review existing analytics, fix missing events, define conversion tracking, and configure Google Tag Manager.
Why use it?
It helps find missing, duplicated, incorrect, or unapproved tracking data before it leads to unreliable business decisions.

Skill for Codex

Written for Codex: agents/openai.yaml present.

Good fit Use it to create a tracking plan, review existing analytics, fix missing events, define conversion tracking, and configure Google Tag Manager.

Compare 6 skills from other repositories ↓
Install with agentmods
npx agentmods add skills/bestagentkits/agency-skills/analytics-tracking
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 bestagentkits/agency-skills --skill analytics-tracking
Clone the repo
git clone --depth 1 https://github.com/bestagentkits/agency-skills

Made for: 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/bestagentkits/agency-skills/analytics-tracking/github.svg)](https://agentmods.dev/skills/bestagentkits/agency-skills/analytics-tracking)
Your own site
<a href="https://agentmods.dev/skills/bestagentkits/agency-skills/analytics-tracking"><img src="https://agentmods.dev/badge/skills/bestagentkits/agency-skills/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/bestagentkits/agency-skills/analytics-tracking"><img src="https://agentmods.dev/badge/skills/bestagentkits/agency-skills/analytics-tracking.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 133 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 3,579 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.
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.00133 $0.03579
Opus 5.5 $0.00053 $0.01432
Sonnet 5.5 $0.00027 $0.00716
Haiku 4.5 $0.00013 $0.00358

Measured 3mo ago against content hash 99296736a909, 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 3mo ago.

The scan reads SKILL.md. This mod also ships 1 executable file (scripts/tracking_plan_generator.py), listed below but not scanned — reading those needs a real analyzer, not pattern matching.

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.

skills/claude-skills/analytics-tracking/SKILL.md · 382 lines

How it starts

The opening of the file, as written. The whole thing — 382 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. Your goal is to make sure every meaningful action in the customer journey is captured accurately, consistently, and in a way that can actually be used for decisions — not just for the sake of having data.

Bad tracking is worse than no tracking. Duplicate events, missing parameters, unconsented data, and broken conversions lead to decisions made on bad data. This skill is about building it right the first time, or finding what's broken and fixing it.

Before Starting

Check for context first: If .claude/product-marketing-context.md exists, read it before asking questions. Use that context and only ask for what's missing.

Gather this context:

1. Current State

  • Do you have GA4 and/or GTM already set up? If so, what's broken or missing?
  • What's your tech stack? (React SPA, Next.js, WordPress, custom, etc.)
  • Do you have a consent management platform (CMP)? Which one?
  • What events are you currently tracking (if any)?

2. Business Context

  • What are your primary conversion actions? (signup, purchase, lead form, free trial start)
  • What are your key micro-conversions? (pricing page view, feature discovery, demo request)
  • Do you run paid campaigns? (Google Ads, Meta, LinkedIn — affects conversion tracking needs)

3. Goals

  • Building from scratch, auditing existing, or debugging a specific issue?
  • Do you need cross-domain tracking? Multiple properties or subdomains?
  • Server-side tagging requirement? (GDPR-sensitive markets, performance concerns)

How This Skill Works

Mode 1: Set Up From Scratch

No analytics in place — we'll build the tracking plan, implement GA4 and GTM, define the event taxonomy, and configure key events.

Start from the generator, then customize:

python3 scripts/tracking_plan_generator.py            # embedded sample → full tracking plan
python3 scripts/tracking_plan_generator.py plan.json  # your funnel definition
python3 scripts/tracking_plan_generator.py --json     # parseable JSON for pipelines

Read the full file on GitHub · 382 lines

Files

What ships with it

5 files beside SKILL.md in the same directory: the scripts, references and assets a skill reads on demand. Not counted in the per-session cost; read them before you install if any of them is executable.

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. 3mo ago First seen · 382 lines · 133 tokens per session scan A 99296736a909

Subscribe to this mod's changes

analytics-tracking is a skill published in the GitHub repository bestagentkits/agency-skills (28 stars, last pushed 5mo ago), licensed MIT. It adds 133 tokens to every session and 3,579 once invoked, about $0.0005 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-08-31.

Related

analytics-tracking compared with skills from other repositories

analytics-tracking next to 6 skills from other repositories
ModTypeStarsLast pushLicenceScanTokensWorks with
analytics-trackingbestagentkits/agency-skillsSkill285mo agoMITA133Codex
reproduce-and-fix-issuesbacknotprop/pstackSkill5.6ktodayMITA48Claude Code, Cursor
setup-pstackbacknotprop/pstackSkill5.6ktodayMITA62Cursor
poteto-modebacknotprop/pstackSkill5.6ktodayMITA49Claude Code, Codex, Cursor
no-commentsbacknotprop/pstackSkill5.6ktodayMITA20Claude Code, Codex, Cursor
swarmbacknotprop/pstackSkill5.6ktodayMITA41Claude Code, Codex, Cursor
tddbacknotprop/pstackSkill5.6ktodayMITA52Claude Code, Codex, Cursor