.fyi
SkillsMCPPluginsSubagents

Browse by category

DevOps & CI/CD SkillsProductivity & Workflow SkillsOther SkillsProduct & Project Management SkillsDocumentation & Knowledge SkillsCode Review & Refactor SkillsBackend & APIs SkillsAgent Meta & Communication SkillsResearch SkillsSecurity SkillsUX UI & Design SkillsTesting & QA SkillsSee all →

Every Claude Code skill, MCP server, plugin and subagent in one directory. Searchable, comparable, and one command from installed. Live stats from GitHub, npm and PyPI.

We're on Product HuntYour agent's app storeCheck it out →
Agent SkillsMCP ServersPluginsSubagentsCoding Agents
CollectionsOfficial publishersGlossaryFAQBlogSearchSavedFeedback
PrivacyTermsllms.txtSitemap

made with ♥ · © 2026 aaaa.fyi

Independent project · real data from public registries

…/marketingskills/analytics
home/skills/coreyhaines31/marketingskills/analytics
coreyhaines31 avatar

analytics

bycoreyhaines31· 76 skills

Installs

41k

Stars

42k

Forks

6.6k

Category

Data Science & Analytics

View on GitHub

TL;DR

When the user wants to set up, improve, or audit analytics tracking and measurement. Also use when the user mentions "set up tracking," "GA4," "Google Analytics," "conversion tracking," "event tracking," "UTM parameters," "tag manager," "GTM," "analytics implementation," "tracking plan," "how do I measure this," "track conversions," "Mixpanel," "Segment," "are my events firing," or "analytics isn't working." Use this whenever someone asks how to know if something is working or wants to measure marketing results. For choosing attribution models, comparing multi-touch/MMM/incrementality, or reconciling conflicting numbers across tools, see attribution. For A/B test measurement, see ab-testing.

How to install analytics?

coreyhaines31/marketingskills/analytics
$npx -y skills add coreyhaines31/marketingskills --skill analytics

Installs into the current project.

›Prefer a prompt? Paste this to your agent

Use this skill

Run `npx skills use "https://github.com/coreyhaines31/marketingskills" --skill "coreyhaines31/marketingskills/analytics"` and follow the generated skill instructions now. Read its complete output, redirecting it to a temporary file first if necessary. Resolve relative paths from the supporting-files directory it provides.

Use the whole pack

Use the skills in "https://github.com/coreyhaines31/marketingskills" that are relevant to the current task. Run `npx skills add "https://github.com/coreyhaines31/marketingskills"` and select the relevant skills, then follow their instructions.

Files · 1

View on GitHub
SKILL.md
1# Analytics Tracking
2 
3You 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.
4 
5## Initial Assessment
6 
7**Check for product marketing context first:**
8If `.agents/product-marketing.md` exists (or `.claude/product-marketing.md`, or the legacy `product-marketing-context.md` filename, in older setups), read it before asking questions. Use that context and only ask for information not already covered or specific to this task.
9 
10Before implementing tracking, understand:
11 
121. **Business Context** - What decisions will this data inform? What are key conversions?
132. **Current State** - What tracking exists? What tools are in use?
143. **Technical Context** - What's the tech stack? Any privacy/compliance requirements?
15 
16---
17 
18## Core Principles
19 
20### 1. Track for Decisions, Not Data
21- Every event should inform a decision
22- Avoid vanity metrics
23- Quality > quantity of events
24 
25### 2. Start with the Questions
26- What do you need to know?
27- What actions will you take based on this data?
28- Work backwards to what you need to track
29 
30### 3. Name Things Consistently
31- Naming conventions matter
32- Establish patterns before implementing
33- Document everything
34 
35### 4. Maintain Data Quality
36- Validate implementation
37- Monitor for issues
38- Clean data > more data
39 
40---
41 
42## Tracking Plan Framework
43 
44### Structure
45 
46```
47Event Name | Category | Properties | Trigger | Notes
48---------- | -------- | ---------- | ------- | -----
49```
50 
51### Event Types
52 
53| Type | Examples |
54|------|----------|
55| Pageviews | Automatic, enhanced with metadata |
56| User Actions | Button clicks, form submissions, feature usage |
57| System Events | Signup completed, purchase, subscription changed |
58| Custom Conversions | Goal completions, funnel stages |
59 
60**For comprehensive event lists**: See [references/event-library.md](references/event-library.md)
61 
62---
63 
64## Event Naming Conventions
65 
66### Recommended Format: Object-Action
67 
68```
69signup_completed
70button_clicked
71form_submitted
72article_read
73checkout_payment_completed
74```
75 
76### Best Practices
77- Lowercase with underscores
78- Be specific: `cta_hero_clicked` vs. `button_clicked`
79- Include context in properties, not event name
80- Avoid spaces and special characters
81- Document decisions
82 
83---
84 
85## Essential Events
86 
87### Marketing Site
88 
89| Event | Properties |
90|-------|------------|
91| cta_clicked | button_text, location |
92| form_submitted | form_type |
93| signup_completed | method, source |
94| demo_requested | - |
95 
96### Product/App
97 
98| Event | Properties |
99|-------|------------|
100| onboarding_step_completed | step_number, step_name |
101| feature_used | feature_name |
102| purchase_completed | plan, value |
103| subscription_cancelled | reason |
104 
105**For full event library by business type**: See [references/event-library.md](references/event-library.md)
106 
107---
108 
109## Event Properties
110 
111### Standard Properties
112 
113| Category | Properties |
114|----------|------------|
115| Page | page_title, page_location, page_referrer |
116| User | user_id, user_type, account_id, plan_type |
117| Campaign | source, medium, campaign, content, term |
118| Product | product_id, product_name, category, price |
119 
120### Best Practices
121- Use consistent property names
122- Include relevant context
123- Don't duplicate automatic properties
124- Avoid PII in properties
125 
126---
127 
128## GA4 Implementation
129 
130### Quick Setup
131 
1321. Create GA4 property and data stream
1332. Install gtag.js or GTM
1343. Enable enhanced measurement
1354. Configure custom events
1365. Mark conversions in Admin
137 
138### Custom Event Example
139 
140```javascript
141gtag('event', 'signup_completed', {
142 'method': 'email',
143 'plan': 'free'
144});
145```
146 
147**For detailed GA4 implementation**: See [references/ga4-implementation.md](references/ga4-implementation.md)
148 
149---
150 
151## Google Tag Manager
152 
153### Container Structure
154 
155| Component | Purpose |
156|-----------|---------|
157| Tags | Code that executes (GA4, pixels) |
158| Triggers | When tags fire (page view, click) |
159| Variables | Dynamic values (click text, data layer) |
160 
161### Data Layer Pattern
162 
163```javascript
164dataLayer.push({
165 'event': 'form_submitted',
166 'form_name': 'contact',
167 'form_location': 'footer'
168});
169```
170 
171**For detailed GTM implementation**: See [references/gtm-implementation.md](references/gtm-implementation.md)
172 
173---
174 
175## UTM Parameter Strategy
176 
177### Standard Parameters
178 
179| Parameter | Purpose | Example |
180|-----------|---------|---------|
181| utm_source | Traffic source | google, newsletter |
182| utm_medium | Marketing medium | cpc, email, social |
183| utm_campaign | Campaign name | spring_sale |
184| utm_content | Differentiate versions | hero_cta |
185| utm_term | Paid search keywords | running+shoes |
186 
187### Naming Conventions
188- Lowercase everything
189- Use underscores or hyphens consistently
190- Be specific but concise: `blog_footer_cta`, not `cta1`
191- Document all UTMs in a spreadsheet
192 
193---
194 
195## Debugging and Validation
196 
197### Testing Tools
198 
199| Tool | Use For |
200|------|---------|
201| GA4 DebugView | Real-time event monitoring |
202| GTM Preview Mode | Test triggers before publish |
203| Browser Extensions | Tag Assistant, dataLayer Inspector |
204 
205### Validation Checklist
206 
207- [ ] Events firing on correct triggers
208- [ ] Property values populating correctly
209- [ ] No duplicate events
210- [ ] Works across browsers and mobile
211- [ ] Conversions recorded correctly
212- [ ] No PII leaking
213 
214### Common Issues
215 
216| Issue | Check |
217|-------|-------|
218| Events not firing | Trigger config, GTM loaded |
219| Wrong values | Variable path, data layer structure |
220| Duplicate events | Multiple containers, trigger firing twice |
221 
222---
223 
224## Privacy and Compliance
225 
226### Considerations
227- Cookie consent required in EU/UK/CA
228- No PII in analytics properties
229- Data retention settings
230- User deletion capabilities
231 
232### Implementation
233- Use consent mode (wait for consent)
234- IP anonymization
235- Only collect what you need
236- Integrate with consent management platform
237 
238---
239 
240## Output Format
241 
242### Tracking Plan Document
243 
244```markdown
245# [Site/Product] Tracking Plan
246 
247## Overview
248- Tools: GA4, GTM
249- Last updated: [Date]
250 
251## Events
252 
253| Event Name | Description | Properties | Trigger |
254|------------|-------------|------------|---------|
255| signup_completed | User completes signup | method, plan | Success page |
256 
257## Custom Dimensions
258 
259| Name | Scope | Parameter |
260|------|-------|-----------|
261| user_type | User | user_type |
262 
263## Conversions
264 
265| Conversion | Event | Counting |
266|------------|-------|----------|
267| Signup | signup_completed | Once per session |
268```
269 
270---
271 
272## Task-Specific Questions
273 
2741. What tools are you using (GA4, Mixpanel, etc.)?
2752. What key actions do you want to track?
2763. What decisions will this data inform?
2774. Who implements - dev team or marketing?
2785. Are there privacy/consent requirements?
2796. What's already tracked?
280 
281---
282 
283## Tool Integrations
284 
285For implementation, see the [tools registry](../../tools/REGISTRY.md). Key analytics tools:
286 
287| Tool | Best For | MCP | Guide |
288|------|----------|:---:|-------|
289| **GA4** | Web analytics, Google ecosystem | ✓ | [ga4.md](../../tools/integrations/ga4.md) |
290| **Mixpanel** | Product analytics, event tracking | - | [mixpanel.md](../../tools/integrations/mixpanel.md) |
291| **Amplitude** | Product analytics, cohort analysis | - | [amplitude.md](../../tools/integrations/amplitude.md) |
292| **PostHog** | Open-source analytics, session replay | - | [posthog.md](../../tools/integrations/posthog.md) |
293| **Segment** | Customer data platform, routing | - | [segment.md](../../tools/integrations/segment.md) |
294 
295---
296 
297## Related Skills
298 
299- **ab-testing**: For experiment tracking
300- **attribution**: For attribution models, multi-touch/MMM/incrementality, and reconciling conflicting numbers across tools (once tracking is live)
301- **seo-audit**: For organic traffic analysis
302- **cro**: For conversion optimization (uses this data)
303- **revops**: For pipeline metrics, CRM tracking, and revenue attribution

Security

Passed

  • Gen Agent Trust Hubpass
  • Socketpass
  • Snykpass

Preview

coreyhaines31/marketingskillscoreyhaines31/marketingskills

$ npx -y skills add coreyhaines31/marketingskills --skill analytics

▸ installing to .claude/skills…

✓ analytics ready

Repocoreyhaines31/marketingskills
TypeSkills
CategoryData Science & Analytics
ForAnalyst
UpdatedJul 2026
License—
First seenJul 26, 2026

Tags

Skill

Related

6 picks
Type
  1. microsoft avatarazure-kustoQuery and analyze data in Azure Data Explorer (Kusto/ADX) using KQL for log analytics, telemetry, and time series analysis.SkillsJul 2026484k1.3k
  2. firecrawl avatarfirecrawl-dashboard-reportingPull metrics from analytics dashboards and internal web tools with Firecrawl browser.SkillsJun 202630k100
  3. wshobson avatardata-storytellingTransform data into compelling narratives using visualization, context, and persuasive structure.SkillsJul 202613k38k
  4. anthropics avatardata-visualizationCreate effective data visualizations with Python (matplotlib, seaborn, plotly).SkillsJul 202610k23k
  5. caffeinelabs avatarextension-oqlMake a canister's data queryable by the Caffeine Data Intelligence agent.SkillsJul 20268.8k0
  6. emblemcompany avataremblem-market-researchCrypto market intelligence via EmblemAI. Trending tokens, on-chain analytics, derivatives data, and smart money tracking from CoinGecko, CoinGlass, Birdeye,…SkillsMay 20268.8k12