Skip to content
Agentmart
Submit a tool

analytics-setup

Install and QA tracking: event plan, UTMs, GA4/GTM and conversion tracking.

Skill by poorvith-mp

IndexedMIT
Write a review

Chalk Labs

Need help deploying analytics-setup?

Chalk Labs sets up agents like this inside real teams: connected to your tools, tested on your data, with a human in the loop where it matters.

Book a call

Install

Works with Claude Code, Claude apps, Codex, Cursor, Gemini CLI, GitHub Copilot, VS Code, OpenCode, Goose, Windsurf. Read the repository before you give any tool access to your data.

npx agentmarket install skill/poorvith-mp-analytics-setup

Asks which of your tools to add it to (Claude Code, Codex, Cursor, VS Code, Windsurf, Gemini CLI, Claude Desktop) and shows the change first. See https://agentmart.dev/cli.

Get the weekly diff

The weekly diff: one email a week with new agent tools, notable updates and grade changes, plus security alerts for tools you follow. Double opt-in, one-click unsubscribe.

We use your email only for this newsletter. Privacy

About

Install and QA tracking: event plan, UTMs, GA4/GTM and conversion tracking. Use when configuring GA4, PostHog, event tracking, or conversion goals.

Use cases: testing, data

No reviews yet. Installed it? Reviews come from verified installers only. How reviews work

Permissions

What this skill can do and what it asks for, from its SKILL.md. Checked Oct 25, 2026.

Tools
No tools found
Secrets
None asked for
Install scripts
None found

Network hosts it talks to 1

  • codeload.github.com · found in install command

Files it touches

  • ~/.claude/skills/analytics-setup

What's inside

Skill name
analytics-setup
Description
Install and QA tracking: event plan, UTMs, GA4/GTM and conversion tracking. Use when configuring GA4, PostHog, event tracking, or conversion goals.
License
MIT
Instructions
57 lines in SKILL.md · view on GitHub

Files (3)

  • SKILL.md
  • analytics-setup.skill
  • routing.yaml · evals/

SKILL.md (first lines)

# Analytics Setup

Analytics is the measurement instrumentation behind capital and engineering allocation. Analytics fails when tracking is implemented haphazardly without a unified tracking schema, leading to conflicting metrics between product and marketing. A production analytics stack requires a formalized event schema, strict UTM parameter hygiene, server-side tracking resilience, and automated QA verification.

## 1. The Tracking Plan Schema
Never allow engineers or marketers to invent arbitrary event names. Enforce an Object-Action naming convention:

| Event Name | Trigger Moment | Mandatory Properties |
|---|---|---|
| `account_signup_completed` | User finishes registration | `signup_method` (email, google, github), `referral_source` |
| `onboarding_step_completed` | User finishes an onboarding milestone | `step_index`, `step_name`, `time_spent_seconds` |
| `project_created` | User creates first project/asset | `project_type`, `template_used`, `is_first_project` |
| `subscription_plan_selected` | User clicks checkout on pricing | `plan_tier`, `billing_interval` (annual/monthly), `mrr_value` |
| `payment_succeeded` | Gateway processes charge | `transaction_id`, `amount_usd`, `plan_tier`, `is_upgrade` |

## 2. UTM Parameter Hierarchy & Hygiene
Inconsistent UTM tagging breaks attribution models. Enforce lowercase, hyphenated URL parameters:
- **`utm_source`**: The platform sending the traffic (`google`, `linkedin`, `twitter`, `newsletter`).
- **`utm_medium`**: The marketing channel type (`cpc`, `organic-social`, `email`, `referral`, `affiliate`).
- **`utm_campaign`**: The specific strategic campaign (`q3-launch`, `developer-tools-retargeting`).
- **`utm_content`**: The specific ad creative or link variant (`video-demo-v1`, `hero-cta-button`).
- *Golden Rule*: Never use UTM tags on internal site links; internal UTMs overwrite original acquisition sources and destroy session attribution.

## 3. Tool Architecture: Client vs. Server-Side
- **Client-Side Analytics (PostHog / GA4 via GTM)**:
  - Best for UI interaction tracking: clicks, scroll depth, form field abandonment, and session replays.
  - Vulnerability: Blocked by 25%–40% of technical users using ad-blockers and privacy extensions.
- **Server-Side Analytics (Webhook / Backend Events)**:
  - Mandatory for source-of-truth business metrics: signups, billing events, subscription cancellations.
  - Dispatched directly from application backend code to analytics endpoints, bypassing ad-blockers entirely.

## 4. Analytics QA Verification Checklist
Before deploying tracking to production:
1. Open browser DevTools Network tab filtered by analytics endpoint (`google-analytics.com/g/collect` or `posthog.com/e/`).
2. Trigger the event in a staging environment.
3. Verify that the event name matches the tracking plan verbatim.
4. Verify that property payloads contain correct data types (integers as numbers, not strings).
5. Confirm that personal identifiable information (PII such as passwords, raw credit card numbers) is never captured.

## Critical Rules
1. Every conversion event must fire exactly once per transaction; deduplicate using unique transaction IDs.
2. Financial and revenue metrics must reconcile with Stripe/banking records within a 2% variance.
3. Never store passwords, unencrypted emails, or API tokens in analytics event properties.

## Verification Checklist
- [ ] Formal tracking plan document approved by engineering and marketing.
- [ ] Consistent lowercase UTM parameter taxonomy established and documented.
- [ ] Server-side tracking implemented for all critical revenue and account creation events.
- [ ] Event deduplication verified using transaction IDs.
- [ ] Cookie consent banner integrated with Google Tag Manager Consent Mode.

## Anti-Patterns
- NEVER use generic event names like `button_click` without identifying the specific component and context.
- NEVER track revenue on the client-side `thank-you` page alone; network dropouts and ad-blockers miss 15% of transactions.
- NEVER allow team members to create new UTM parameters without updating the central campaign tracking sheet.

From poorvith-mp/skills-marketing, MIT.

More from poorvith-mp/skills-marketing

Signals

Stars
0
Forks
0
Open issues
0
Last commit (this folder)
Sep 12, 2026 (1 month ago)
Last release
Oct 2, 2026 (1 month ago)

From GitHub (fetched Oct 24, 2026).

Details

License
MIT
First seen
Oct 24, 2026
Last checked
Oct 24, 2026

More from poorvith-mp

Done for you

Rather not set it up yourself?

Chalk Labs scopes, builds and runs agents for your team: the task audit, the eval harness, the integrations and the weekly ops report. Fixed scope, priced before we start.

See how we build AI agents →Read the case studies

Chalk Labs is a two-founder AI and growth studio. We build AI agents, CRMs and MVPs for Web3 and AI companies, and have shipped 50+ product and token launches.

launches shipped
50+
launches shipped
media placements
500+
media placements
founders on every account
2
founders on every account

Press we've placed: Forbes · CoinDesk · Decrypt · Cointelegraph · The Block

Rahil Jain, Co-founder, Chalk Labs. Ex-Goldman Sachs engineer. You talk to the person who builds it.

Get analytics-setup running in your business

Tell us what you want to automate. A founder replies within one working day with a plan, not a pitch deck.

Goes to the Chalk Labs founders, not the newsletter. Privacy

Need help deploying analytics-setup?

CallGet help
Cite this page

analytics-setup skill. Agent Mart. https://agentmart.dev/skills/poorvith-mp-analytics-setup (last updated 2026-10-24)