analytics

작성자: coreyhaines31

사용자가 분석 추적 및 측정을 설정, 개선 또는 감사하려는 경우. 또한 사용자가 "추적 설정", "GA4", "Google Analytics", "전환 추적", "이벤트 추적", "UTM 매개변수", "태그 관리자", "GTM", "분석 구현", "추적 계획", "이것을 어떻게 측정하나요", "전환 추적", "기여 분석", "Mixpanel", "Segment", "내 이벤트가 제대로 작동하나요", 또는 "분석이 작동하지 않습니다"를 언급할 때 사용합니다. 누군가가 무언가가 제대로 작동하는지 확인하는 방법을 물을 때마다 사용하세요...

npx skills add https://github.com/coreyhaines31/marketingskills --skill analytics

Analytics Tracking

You 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.

Initial Assessment

Check for product marketing context first: If .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.

Before implementing tracking, understand:

  1. Business Context - What decisions will this data inform? What are key conversions?
  2. Current State - What tracking exists? What tools are in use?
  3. Technical Context - What's the tech stack? Any privacy/compliance requirements?

Core Principles

1. Track for Decisions, Not Data

  • Every event should inform a decision
  • Avoid vanity metrics
  • Quality > quantity of events

2. Start with the Questions

  • What do you need to know?
  • What actions will you take based on this data?
  • Work backwards to what you need to track

3. Name Things Consistently

  • Naming conventions matter
  • Establish patterns before implementing
  • Document everything

4. Maintain Data Quality

  • Validate implementation
  • Monitor for issues
  • Clean data > more data

Tracking Plan Framework

Structure

Event Name | Category | Properties | Trigger | Notes
---------- | -------- | ---------- | ------- | -----

Event Types

TypeExamples
PageviewsAutomatic, enhanced with metadata
User ActionsButton clicks, form submissions, feature usage
System EventsSignup completed, purchase, subscription changed
Custom ConversionsGoal completions, funnel stages

For comprehensive event lists: See references/event-library.md


Event Naming Conventions

Recommended Format: Object-Action

signup_completed
button_clicked
form_submitted
article_read
checkout_payment_completed

Best Practices

  • Lowercase with underscores
  • Be specific: cta_hero_clicked vs. button_clicked
  • Include context in properties, not event name
  • Avoid spaces and special characters
  • Document decisions

Essential Events

Marketing Site

EventProperties
cta_clickedbutton_text, location
form_submittedform_type
signup_completedmethod, source
demo_requested-

Product/App

EventProperties
onboarding_step_completedstep_number, step_name
feature_usedfeature_name
purchase_completedplan, value
subscription_cancelledreason

For full event library by business type: See references/event-library.md


Event Properties

Standard Properties

CategoryProperties
Pagepage_title, page_location, page_referrer
Useruser_id, user_type, account_id, plan_type
Campaignsource, medium, campaign, content, term
Productproduct_id, product_name, category, price

Best Practices

  • Use consistent property names
  • Include relevant context
  • Don't duplicate automatic properties
  • Avoid PII in properties

GA4 Implementation

Quick Setup

  1. Create GA4 property and data stream
  2. Install gtag.js or GTM
  3. Enable enhanced measurement
  4. Configure custom events
  5. Mark conversions in Admin

Custom Event Example

gtag('event', 'signup_completed', {
  'method': 'email',
  'plan': 'free'
});

For detailed GA4 implementation: See references/ga4-implementation.md


Google Tag Manager

Container Structure

ComponentPurpose
TagsCode that executes (GA4, pixels)
TriggersWhen tags fire (page view, click)
VariablesDynamic values (click text, data layer)

Data Layer Pattern

dataLayer.push({
  'event': 'form_submitted',
  'form_name': 'contact',
  'form_location': 'footer'
});

For detailed GTM implementation: See references/gtm-implementation.md


UTM Parameter Strategy

Standard Parameters

ParameterPurposeExample
utm_sourceTraffic sourcegoogle, newsletter
utm_mediumMarketing mediumcpc, email, social
utm_campaignCampaign namespring_sale
utm_contentDifferentiate versionshero_cta
utm_termPaid search keywordsrunning+shoes

Naming Conventions

  • Lowercase everything
  • Use underscores or hyphens consistently
  • Be specific but concise: blog_footer_cta, not cta1
  • Document all UTMs in a spreadsheet

Debugging and Validation

Testing Tools

ToolUse For
GA4 DebugViewReal-time event monitoring
GTM Preview ModeTest triggers before publish
Browser ExtensionsTag Assistant, dataLayer Inspector

Validation Checklist

  • Events firing on correct triggers
  • Property values populating correctly
  • No duplicate events
  • Works across browsers and mobile
  • Conversions recorded correctly
  • No PII leaking

Common Issues

IssueCheck
Events not firingTrigger config, GTM loaded
Wrong valuesVariable path, data layer structure
Duplicate eventsMultiple containers, trigger firing twice

Privacy and Compliance

Considerations

  • Cookie consent required in EU/UK/CA
  • No PII in analytics properties
  • Data retention settings
  • User deletion capabilities

Implementation

  • Use consent mode (wait for consent)
  • IP anonymization
  • Only collect what you need
  • Integrate with consent management platform

Output Format

Tracking Plan Document

# [Site/Product] Tracking Plan

## Overview
- Tools: GA4, GTM
- Last updated: [Date]

## Events

| Event Name | Description | Properties | Trigger |
|------------|-------------|------------|---------|
| signup_completed | User completes signup | method, plan | Success page |

## Custom Dimensions

| Name | Scope | Parameter |
|------|-------|-----------|
| user_type | User | user_type |

## Conversions

| Conversion | Event | Counting |
|------------|-------|----------|
| Signup | signup_completed | Once per session |

Task-Specific Questions

  1. What tools are you using (GA4, Mixpanel, etc.)?
  2. What key actions do you want to track?
  3. What decisions will this data inform?
  4. Who implements - dev team or marketing?
  5. Are there privacy/consent requirements?
  6. What's already tracked?

Tool Integrations

For implementation, see the tools registry. Key analytics tools:

ToolBest ForMCPGuide
GA4Web analytics, Google ecosystemga4.md
MixpanelProduct analytics, event tracking-mixpanel.md
AmplitudeProduct analytics, cohort analysis-amplitude.md
PostHogOpen-source analytics, session replay-posthog.md
SegmentCustomer data platform, routing-segment.md

Related Skills

  • ab-testing: For experiment tracking
  • seo-audit: For organic traffic analysis
  • cro: For conversion optimization (uses this data)
  • revops: For pipeline metrics, CRM tracking, and revenue attribution

coreyhaines31의 다른 스킬

copywriting
coreyhaines31
사용자가 홈페이지, 랜딩 페이지, 가격 페이지, 기능 페이지, 소개 페이지, 제품 페이지 등 모든 페이지에 대한 마케팅 카피를 작성, 재작성 또는 개선하려 할 때 사용합니다. 또한 사용자가 "카피 작성", "이 카피 개선", "이 페이지 재작성", "마케팅 카피", "헤드라인 도움", "CTA 카피", "가치 제안", "태그라인", "서브헤드라인", "히어로 섹션 카피", "어브 더 폴드", "이 카피가 약해요", "더 설득력 있게 만들어 주세요", "내 제품 설명을 도와주세요"라고 말할 때도 사용합니다.
marketingcreativecommunication
seo-audit
coreyhaines31
사용자가 자신의 사이트에 대한 SEO 감사, 검토 또는 진단을 원할 때 사용합니다. 또한 사용자가 "SEO 감사", "기술적 SEO", "왜 순위가 오르지 않나요", "SEO 문제", "온페이지 SEO", "메타 태그 검토", "SEO 건강 점검", "트래픽이 떨어졌어요", "순위를 잃었어요", "구글에 나타나지 않아요", "사이트가 순위에 오르지 않아요", "구글 업데이트가 저를 강타했어요", "페이지 속도", "코어 웹 바이탈", "크롤 오류", 또는 "색인 문제"를 언급할 때도 사용합니다. 사용자가 "내 SEO가 안 좋아요" 또는 "도와주세요..."와 같이 모호하게 말하는 경우에도 사용합니다.
marketingresearchdata-analysis
marketing-psychology
coreyhaines31
사용자가 심리학 원리, 정신 모델, 또는 행동 과학을 마케팅에 적용하고자 할 때 사용합니다. 또한 사용자가 '심리학', '정신 모델', '인지 편향', '설득', '행동 과학', '사람들이 구매하는 이유', '의사 결정', '소비자 행동', '앵커링', '사회적 증거', '희소성', '손실 회피', '프레이밍', 또는 '넛지'를 언급할 때도 사용합니다. 마케팅 맥락에서 사람들이 어떻게 생각하고 결정을 내리는지 이해하거나 활용하려는 경우에 사용하세요. 적용을 위해...
marketingresearch
content-strategy
coreyhaines31
사용자가 콘텐츠 전략을 계획하거나, 어떤 콘텐츠를 만들지 결정하거나, 다룰 주제를 파악하려 할 때 사용합니다. 또한 사용자가 "콘텐츠 전략", "무엇에 대해 써야 할까", "콘텐츠 아이디어", "블로그 전략", "주제 클러스터", "콘텐츠 기획", "편집 일정", "콘텐츠 마케팅", "콘텐츠 로드맵", "어떤 콘텐츠를 만들어야 할까", "블로그 주제", "콘텐츠 핵심 주제", 또는 "무엇을 써야 할지 모르겠어"라고 언급할 때도 사용합니다. 누군가 어떤 콘텐츠를 만들지 결정하는 데 도움이 필요할 때마다 사용하세요.
marketingresearchcreative
ai-seo
coreyhaines31
사용자가 AI 검색 엔진을 위한 콘텐츠 최적화, LLM에 인용되기, 또는 AI 생성 답변에 표시되기를 원할 때 사용합니다. 또한 사용자가 'AI SEO', 'AEO', 'GEO', 'LLMO', 'answer engine optimization', 'generative engine optimization', 'LLM optimization', 'AI Overviews', 'optimize for ChatGPT', 'optimize for Perplexity', 'AI citations', 'AI visibility', 'zero-click search', 'how do I show up in AI answers', 'LLM mentions', 또는 'optimize for Claude/Gemini'를 언급할 때도 사용합니다. 누군가가... 할 때마다 사용하세요.
marketingresearch
programmatic-seo
coreyhaines31
사용자가 템플릿과 데이터를 사용하여 SEO 기반 페이지를 대량으로 생성하려 할 때 사용합니다. 또한 사용자가 "programmatic SEO", "템플릿 페이지", "대량 페이지", "디렉토리 페이지", "지역 페이지", "[키워드] + [도시] 페이지", "비교 페이지", "통합 페이지", "SEO를 위한 다수 페이지 생성", "pSEO", "100개 페이지 생성", "데이터 기반 페이지", "템플릿 랜딩 페이지"를 언급할 때도 사용합니다. 다양한 키워드나 위치를 대상으로 유사한 페이지를 많이 만들고자 할 때 이 기능을 사용하세요. 예를 들어...
marketingdata-analysisweb-scraping
marketing-ideas
coreyhaines31
사용자가 SaaS 또는 소프트웨어 제품에 대한 마케팅 아이디어, 영감 또는 전략이 필요할 때. 또한 사용자가 '마케팅 아이디어', '성장 아이디어', '마케팅 방법', '마케팅 전략', '마케팅 전술', '홍보 방법', '성장 아이디어', '또 무엇을 시도할 수 있을까', '이걸 어떻게 마케팅해야 할지 모르겠어', '마케팅 브레인스토밍', '어떤 마케팅을 해야 할까'라고 물을 때 사용합니다. 누군가 막혀 있거나 성장을 위한 영감을 찾고 있을 때 출발점으로 사용하세요. 구체적인...
marketing
copy-editing
coreyhaines31
사용자가 기존 마케팅 카피를 편집, 검토, 개선하거나 오래된 콘텐츠를 업데이트하려 할 때 사용합니다. 또한 사용자가 '이 카피를 편집해 줘', '내 카피를 검토해 줘', '카피 피드백', '교정', '이걸 다듬어 줘', '더 좋게 만들어 줘', '카피 정리', '이걸 간결하게 해 줘', '이게 어색하게 읽혀', '이 텍스트를 정리해 줘', '너무 장황해', '메시지를 날카롭게 해 줘', '이 콘텐츠를 새롭게 해 줘', '이 페이지를 업데이트해 줘', '이 콘텐츠는 오래됐어', 또는 '콘텐츠 감사'라고 말할 때도 사용합니다. 사용자가 이미 카피를 가지고 있고
documentcommunicationmarketing