Claude Code Analytics Tracking Skill for Download Events
Turn a measurement question into consistently named events, parameters, and tests. Define successful and failed downloads before implementing GA4 tracking.
中文Install in Claude Code
Use Claude Code and the pinned skill with a workflow description. Exercise it with fictional events, then use an authorized test property or preview tool for integration.
- Get the complete `cli-tool/components/skills/business-marketing/analytics-tracking` directory from the pinned GitHub checkout.
- Copy it under the target project's `.claude/skills/`. Confirm `.claude/skills/analytics-tracking/SKILL.md`, open Claude Code at the project root, and call `/analytics-tracking`.
Example task
Define tracking for a fictional library download. A click can lead to a completed response or a service error. Identify click, completion, and failure triggers without collecting raw filenames.What to check
Expect an event table with triggers, non-sensitive properties, and validation checks. One completed action generates one completion event and a failure uses its own event.
Original SKILL.md on GitHub · Updated
Frequently asked question
Can a download click count as completion?
Track both actions if the distinction matters. The click starts the flow. Fire completion only on the observable success condition.