analytics-tracking
When the user wants to set up, audit, or optimize analytics tracking (GA4, events, conversions). Also use when the user mentions "Google Analytics," "GA4," "event tracking," "conversions," "attribution model," "gtag," "data layer," "GA4 setup," "conversion tracking," "event setup," "User ID tracking," or "CTA attribution." For traffic insights, use traffic-analysis.
npx skills add kostja94/marketing-skills --skill tracking --agent cursor
Same command for any agent — swap --agent for claude-code, codex, copilot.
Weekly change comes from our own snapshots, not the repository page — it measures attention, not adoption.
# Analytics: Tracking Guides analytics implementation: GA4 setup, event tracking, conversions, and data quality. Applies to web and app tracking across marketing channels. **When invoking**: On **first use**, if helpful, open with 1-2 sentences on what this skill covers and why it matters, then provide the main output. On **subsequent use** or when the user asks to skip, go directly to the main output. ## User ID - **Purpose**: Cross-device, cross-session user identification - **Implementation**: Set `user_id` when user is identified (e.g., login); send to GA4 - **Benefit**: Accurate attribution across sessions; better audience building ## CTA Attribution (Article ROI) Track CTA clicks on key articles to measure content ROI: | Action | Purpose | |--------|---------| | **Event per CTA** | e.g., `cta_click` with `content_url`, `content_type` | | **Conversion** | Mark as conversion in GA4 for attribution | | **Use** | Compare high vs low performers; optimize CTA placement and copy | See **seo-monitoring** for article database and benchmark context. ## Infrastructure Requirements | Component | Purpose | |-----------|---------| | **Data warehouse** | Centralized data; BI reporting | | *
- User ID
- CTA Attribution (Article ROI)
- Infrastructure Requirements
- Scope
- GA4 Setup
- Prerequisites
- Enhanced Measurement
- Event Tracking
- Event Types
- Naming Conventions
- gtag.js Syntax
- Recommended Events
- Custom Events
- Conversions (Key Events)
What does the analytics-tracking skill do?
When the user wants to set up, audit, or optimize analytics tracking (GA4, events, conversions). Also use when the user mentions "Google Analytics," "GA4," "event tracking," "conversions," "attribution model," "gtag," "data layer," "GA4 setup," "conversion tracking," "event setup," "User ID tracking," or "CTA attribution." For traffic insights, use traffic-analysis.
How do I install it?
Run `npx skills add kostja94/marketing-skills --skill tracking --agent claude-code` — it drops the skill into your project so the agent can pick it up. Swap the --agent value for codex, cursor or copilot if you use one of those.
Where does this skill come from?
From kostja94/marketing-skills, a repository with 848 stars. We read it straight from the repository tree rather than a submitted listing, so what you see here is what is actually published.
Is a popular skill a good skill?
Not necessarily. Stars measure attention, not adoption — a repository can trend for a week and be abandoned. That is why we show the weekly change from our own snapshots next to the total, instead of a single flattering number.
