Communitygithub.com

애널리틱스

사용자가 애널리틱스 추적 및 측정을 설정, 개선 또는 감사하려고 할 때 사용합니다. 또한 사용자가 언급할 때도 사용합니다.

애널리틱스란 무엇인가요?

이 스킬은 마케팅 및 제품 의사결정에 실행 가능한 인사이트를 제공하는 애널리틱스 추적 설정을 전문으로 합니다. GA4, GTM(Google Tag Manager), Mixpanel, Amplitude, PostHog, Segment 등 주요 애널리틱스 도구와의 통합을 지원하며, Claude Code, Cursor 등 AI 에이전트 플랫폼에서 활용 가능합니다. 핵심 원칙은 '데이터가 아닌 의사결정을 위한 추적'이며, 이벤트 명명 규칙(Object-Action 형식), 추적 계획 문서화, UTM 파라미터 전략, 데이터 품질 검증 및 디버깅 방법, 개인정보 보호 및 규정 준수(쿠키 동의, IP 익명화 등)에 대한 체계적인 가이드를 제공합니다. 초기 평가를 통해 비즈니스 맥락과 기존 추적 현황을 파악한 후, 질문 기반 접근법으로 필요한 이벤트와 속성을 정의하고, 최종적으로 추적 계획 문서를 표준 형식으로 출력합니다.

지원 대상✓Claude Code~Codex CLI~Cursor
npx skills add https://github.com/coreyhaines31/marketingskills/tree/main/skills/analytics

즐겨 사용하는 AI에게 물어보기

이 에이전트 스킬이 미리 로드된 새 채팅을 엽니다.

문서

애널리틱스 추적

귀하는 애널리틱스 구현 및 측정 전문가입니다. 마케팅 및 제품 의사결정에 실행 가능한 인사이트를 제공하는 추적 설정을 지원하는 것이 목표입니다.

초기 평가

먼저 제품 마케팅 컨텍스트를 확인하세요: .agents/product-marketing.md 파일이 존재하거나 (또는 .claude/product-marketing.md, 구버전 설정의 product-marketing-context.md 파일명) 있으면, 질문하기 전에 이를 먼저 읽으세요. 해당 컨텍스트를 활용하고, 이미 다루지 않았거나 이 작업에 특화된 정보만 요청하세요.

추적을 구현하기 전에 다음을 이해하세요:

  1. 비즈니스 맥락 - 어떤 의사결정에 이 데이터가 사용됩니까? 주요 전환(Conversion)은 무엇입니까?
  2. 현재 상태 - 어떤 추적이 이미 존재합니까? 어떤 도구가 사용 중입니까?
  3. 기술적 맥락 - 기술 스택은 무엇입니까? 개인정보 보호/규정 준수 요구사항이 있습니까?

핵심 원칙

1. 데이터가 아닌 의사결정을 위해 추적하세요

  • 모든 이벤트는 의사결정에 기여해야 합니다.
  • 허영 지표(Vanity metrics)는 피하세요.
  • 이벤트의 양보다 질이 중요합니다.

2. 질문에서 시작하세요

  • 무엇을 알아야 합니까?
  • 이 데이터를 바탕으로 어떤 행동을 취할 것입니까?
  • 추적해야 할 내용을 역으로 작업하세요.

3. 일관된 명명 규칙을 사용하세요

  • 명명 규칙이 중요합니다.
  • 구현 전에 패턴을 확립하세요.
  • 모든 것을 문서화하세요.

4. 데이터 품질을 유지하세요

  • 구현을 검증하세요.
  • 문제를 모니터링하세요.
  • 깨끗한 데이터가 더 많은 데이터보다 중요합니다.

추적 계획 프레임워크

구조

이벤트 이름 | 카테고리 | 속성 | 트리거 | 비고
---------- | -------- | ---------- | ------- | -----

이벤트 유형

유형예시
페이지뷰자동, 메타데이터로 강화
사용자 액션버튼 클릭, 양식 제출, 기능 사용
시스템 이벤트가입 완료, 구매, 구독 변경
맞춤 전환목표 완료, 퍼널 단계

전체 이벤트 목록: references/event-library.md 참조


이벤트 명명 규칙

권장 형식: 객체-행동(Object-Action)

signup_completed
button_clicked
form_submitted
article_read
checkout_payment_completed

모범 사례

  • 소문자와 밑줄 사용
  • 구체적으로 작성: button_clicked 대신 cta_hero_clicked
  • 컨텍스트는 이벤트 이름이 아닌 속성에 포함
  • 공백 및 특수 문자 사용 금지
  • 결정 사항을 문서화

필수 이벤트

마케팅 사이트

이벤트속성
cta_clickedbutton_text, location
form_submittedform_type
signup_completedmethod, source
demo_requested-

제품/앱

이벤트속성
onboarding_step_completedstep_number, step_name
feature_usedfeature_name
purchase_completedplan, value
subscription_cancelledreason

비즈니스 유형별 전체 이벤트 라이브러리: references/event-library.md 참조


이벤트 속성

표준 속성

카테고리속성
페이지page_title, page_location, page_referrer
사용자user_id, user_type, account_id, plan_type
캠페인source, medium, campaign, content, term
제품product_id, product_name, category, price

모범 사례

  • 일관된 속성 이름 사용
  • 관련 컨텍스트 포함
  • 자동 속성 중복 금지
  • 속성에 PII(개인 식별 정보) 포함 금지

GA4 구현

빠른 설정

  1. GA4 속성 및 데이터 스트림 생성
  2. gtag.js 또는 GTM 설치
  3. 향상된 측정(Enhanced measurement) 활성화
  4. 맞춤 이벤트 구성
  5. 관리자에서 전환(Conversion) 표시

맞춤 이벤트 예시

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

자세한 GA4 구현: references/ga4-implementation.md 참조


Google Tag Manager

컨테이너 구조

구성 요소목적
태그(Tags)실행되는 코드 (GA4, 픽셀)
트리거(Triggers)태그가 실행되는 시점 (페이지뷰, 클릭)
변수(Variables)동적 값 (클릭 텍스트, 데이터 레이어)

데이터 레이어 패턴

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

자세한 GTM 구현: references/gtm-implementation.md 참조


UTM 파라미터 전략

표준 파라미터

파라미터목적예시
utm_source트래픽 소스google, newsletter
utm_medium마케팅 매체cpc, email, social
utm_campaign캠페인 이름spring_sale
utm_content버전 구분hero_cta
utm_term유료 검색 키워드running+shoes

명명 규칙

  • 모든 항목을 소문자로 작성
  • 밑줄 또는 하이픈을 일관되게 사용
  • 구체적이면서도 간결하게: cta1 대신 blog_footer_cta
  • 모든 UTM을 스프레드시트에 문서화

디버깅 및 검증

테스트 도구

도구용도
GA4 DebugView실시간 이벤트 모니터링
GTM 미리보기 모드게시 전 트리거 테스트
브라우저 확장 프로그램Tag Assistant, dataLayer Inspector

검증 체크리스트

  • 올바른 트리거에서 이벤트가 실행됨
  • 속성 값이 올바르게 채워짐
  • 중복 이벤트 없음
  • 다양한 브라우저 및 모바일에서 작동
  • 전환이 올바르게 기록됨
  • PII 누출 없음

일반적인 문제

문제확인 사항
이벤트가 실행되지 않음트리거 구성, GTM 로드 여부
잘못된 값변수 경로, 데이터 레이어 구조
중복 이벤트여러 컨테이너, 트리거가 두 번 실행됨

개인정보 보호 및 규정 준수

고려 사항

  • EU/UK/CA에서는 쿠키 동의 필요
  • 애널리틱스 속성에 PII 포함 금지
  • 데이터 보존 설정
  • 사용자 삭제 기능

구현

  • 동의 모드 사용 (동의 대기)
  • IP 익명화
  • 필요한 데이터만 수집
  • 동의 관리 플랫폼과 통합

출력 형식

추적 계획 문서

# [사이트/제품] 추적 계획

## 개요
- 도구: GA4, GTM
- 최종 업데이트: [날짜]

## 이벤트

| 이벤트 이름 | 설명 | 속성 | 트리거 |
|------------|-------------|------------|---------|
| signup_completed | 사용자가 가입 완료 | method, plan | 성공 페이지 |

## 맞춤 측정기준

| 이름 | 범위 | 파라미터 |
|------|-------|-----------|
| user_type | 사용자 | user_type |

## 전환

| 전환 | 이벤트 | 계산 방식 |
|------------|-------|----------|
| 가입 | signup_completed | 세션당 한 번 |

작업별 질문

  1. 어떤 도구를 사용 중입니까? (GA4, Mixpanel 등)
  2. 어떤 주요 액션을 추적하려고 합니까?
  3. 이 데이터가 어떤 의사결정에 사용됩니까?
  4. 누가 구현합니까? (개발팀 또는 마케팅팀)
  5. 개인정보 보호/동의 요구사항이 있습니까?
  6. 이미 추적 중인 것은 무엇입니까?

도구 통합

구현에 대한 자세한 내용은 도구 레지스트리를 참조하세요. 주요 애널리틱스 도구:

도구적합한 용도MCP가이드
GA4웹 애널리틱스, Google 생태계✓ga4.md
Mixpanel제품 애널리틱스, 이벤트 추적-mixpanel.md
Amplitude제품 애널리틱스, 코호트 분석-amplitude.md
PostHog오픈소스 애널리틱스, 세션 재생-posthog.md
Segment고객 데이터 플랫폼, 라우팅-segment.md

관련 기술

  • ab-testing: 실험 추적용
  • attribution: 기여 모델, 멀티터치/MMM/증분성, 그리고 (추적이 활성화된 후) 도구 간 충돌하는 숫자 조정용
  • seo-audit: 유기적 트래픽 분석용
  • cro: 전환 최적화용 (이 데이터를 사용)
  • revops: 파이프라인 메트릭, CRM 추적 및 수익 기여 분석용

Individual skills in this repo

This repo contains 20 individual skills — each has its own dedicated page.

ab-testing

When the user wants to plan, design, or implement an A/B test or experiment, or build a growth experimentation program. Also use when the user mentions

ads

When the user wants help with paid advertising campaigns on Google Ads, Meta (Facebook/Instagram), LinkedIn, Twitter/X, or other ad platforms. Also use when the user mentions

ai-seo

When the user wants to optimize content for AI search engines, get cited by LLMs, or appear in AI-generated answers. Also use when the user mentions

aso

When the user wants to audit or optimize an App Store or Google Play listing. Also use when the user mentions

attribution

When the user wants to figure out which marketing actually drives conversions and revenue, choose or interpret an attribution model, or reconcile conflicting numbers across tools. Also use when the user mentions

churn-prevention

When the user wants to reduce churn, build cancellation flows, set up save offers, recover failed payments, or implement retention strategies. Also use when the user mentions

cold-email

Write B2B cold emails and follow-up sequences that get replies. Use when the user wants to write cold outreach emails, prospecting emails, cold email campaigns, sales development emails, or SDR emails. Also use when the user mentions

co-marketing

When the user wants to find co-marketing partners, plan joint campaigns, or brainstorm partnership opportunities. Use when the user says

community-marketing

Build and leverage online communities to drive product growth and brand loyalty. Use when the user wants to create a community strategy, grow a Discord or Slack community, manage a forum or subreddit, build brand advocates, increase word-of-mouth, drive community-led growth, engage users post-signup, or turn customers into evangelists. Trigger phrases: \

competitor-profiling

When the user wants to research, profile, or analyze competitors from their URLs. Also use when the user mentions

competitors

When the user wants to create competitor comparison or alternative pages for SEO and sales enablement. Also use when the user mentions

content-strategy

When the user wants to plan a content strategy, decide what content to create, or figure out what topics to cover. Also use when the user mentions

copy-editing

When the user wants to edit, review, or improve existing marketing copy, or refresh outdated content. Also use when the user mentions

copywriting

When the user wants to write, rewrite, or improve marketing copy for any page — including homepage, landing pages, pricing pages, feature pages, about pages, or product pages. Also use when the user says

coreyhaines31/ab-test-setup

When the user wants to plan, design, or implement an A/B test or experiment, or build a growth experimentation program. Also use when the user mentions "A/B test," "split test," "experiment," "test this change," "variant copy," "multivariate test," "hypothesis," "should I test this," "which version is better," "test two versions," "statistical significance," "how long should I run this test," "growth experiments," "experiment velocity," "experiment backlog," "ICE score," "experimentation program," or "experiment playbook." Use this whenever someone is comparing two approaches and wants to measure which performs better, or when they want to build a systematic experimentation practice. For tracking implementation, see analytics-tracking. For page-level conversion optimization, see page-cro.

coreyhaines31/analytics-tracking

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," "attribution," "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 A/B test measurement, see ab-test-setup.

coreyhaines31/aso-audit

When the user wants to audit or optimize an App Store or Google Play listing. Also use when the user mentions 'ASO audit,' 'app store optimization,' 'optimize my app listing,' 'improve app visibility,' 'app store ranking,' 'audit my listing,' 'why aren't people downloading my app,' 'improve my app conversion,' 'keyword optimization for app,' or 'compare my app to competitors.' Use when the user shares an App Store or Google Play URL and wants to improve it.

coreyhaines31/competitor-alternatives

When the user wants to create competitor comparison or alternative pages for SEO and sales enablement. Also use when the user mentions 'alternative page,' 'vs page,' 'competitor comparison,' 'comparison page,' '[Product] vs [Product],' '[Product] alternative,' 'competitive landing pages,' 'how do we compare to X,' 'battle card,' or 'competitor teardown.' Use this for any content that positions your product against competitors. Covers four formats: singular alternative, plural alternatives, you vs competitor, and competitor vs competitor. For sales-specific competitor docs, see sales-enablement.

coreyhaines31/email-sequence

When the user wants to create or optimize an email sequence, drip campaign, automated email flow, or lifecycle email program. Also use when the user mentions "email sequence," "drip campaign," "nurture sequence," "onboarding emails," "welcome sequence," "re-engagement emails," "email automation," "lifecycle emails," "trigger-based emails," "email funnel," "email workflow," "what emails should I send," "welcome series," or "email cadence." Use this for any multi-email automated flow. For cold outreach emails, see cold-email. For in-app onboarding, see onboarding-cro.

coreyhaines31/form-cro

When the user wants to optimize any form that is NOT signup/registration — including lead capture forms, contact forms, demo request forms, application forms, survey forms, or checkout forms. Also use when the user mentions "form optimization," "lead form conversions," "form friction," "form fields," "form completion rate," "contact form," "nobody fills out our form," "form abandonment," "too many fields," "demo request form," or "lead form isn't converting." Use this for any non-signup form that captures information. For signup/registration forms, see signup-flow-cro. For popups containing forms, see popup-cro.

관련 스킬