analytics-tracking
БесплатноЗапускает вложенные скриптыНе проверенEnd-to-end analytics implementation for web and SaaS: GA4, Google Tag Manager, event taxonomy, conversion tracking, and UTM strategy. Use when building a…
от borghei★ 1 250 звёзд на GitHubОб этом скилле
Analytics Tracking - Implementation & Auditing
Category: Marketing Tags: GA4, Google Tag Manager, event tracking, conversion tracking, UTM, analytics audit, consent mode
Overview
Analytics Tracking is the implementation layer for marketing measurement. Bad tracking is worse than no tracking -- duplicate events, missing parameters, unconsented data, and broken conversions lead to decisions based on bad data. This skill covers building tracking right the first time and finding what is broken when it is not.
This skill handles implementation only. For analyzing campaign performance data, use campaign-analytics. For product analytics and in-app behavior, use the product-team skills.
Clarify First
Before building the tracking plan, settle the inputs below. When one is missing or vague and would change the result, ask about it; when it wouldn't, use a sensible default and say which one you used.
- Operating mode: build from scratch, audit existing, or debug a specific issue (selects the entire workflow).
- Platform stack: GA4, GTM, and which ad platforms (Google Ads / Meta / LinkedIn) (drives implementation + conversion tracking setup).
- Key conversions + funnel events: the user actions that matter to the business (drives event taxonomy + conversion configuration).
- Region / consent requirements: EU/EEA users present? (determines whether Consent Mode v2 is required).
Ask about the two or three inputs that matter most for this request, not the whole list. If the user wants a result straight away, produce it and state your assumptions at the top.
Operating Modes
Mode 1: Build From Scratch
No analytics in place. Build the tracking plan, implement GA4 + GTM, define event taxonomy, configure conversions.
Mode 2: Audit Existing Tracking
Tracking exists but data cannot be trusted. Audit coverage, identify gaps, clean up duplicates, fix consent issues.
Mode 3: Debug Specific Issues
Events are missing, conversions do not match, GTM preview shows fires but GA4 does not record. Structured debugging workflow.
Event Taxonomy Design
Get this right before touching GA4 or GTM. Retrofitting taxonomy is painful and expensive.
Naming Convention
Format: object_action (snake_case, past tense verb)
| Correct | Wrong | Why Wrong |
|---|---|---|
form_submitted |
submitForm |
camelCase, verb-first |
plan_selected |
clickPricingPlan |
Implementation detail, not user action |
video_started |
VideoStart |
PascalCase, inconsistent tense |
checkout_completed |
purchase |
Ambiguous, not a verb phrase |
Rules:
- Always
noun_verborder, neververb_noun - Snake_case only -- no camelCase, no hyphens, no PascalCase
- Past tense verbs:
_started,_completed,_failed,_viewed - Specific enough to be unambiguous, not so verbose it is a sentence
- Prefix with domain when needed:
onboarding_step_completed,billing_plan_selected
Standard Event Parameters
Every custom event should include applicable parameters from this table:
| Parameter | Type | Example | Required When |
|---|---|---|---|
user_id |
string | usr_abc123 |
Always (if authenticated) |
plan_name |
string | professional |
Billing/pricing events |
value |
number | 99.00 |
Revenue events |
currency |
string | USD |
Always with value |
content_group |
string | onboarding |
Page/flow grouping |
method |
string | google_oauth |
Signup/login events |
step_name |
string | connect_account |
Multi-step flows |
step_number |
number | 3 |
Multi-step flows |
source |
string | pricing_page |
CTA click events |
SaaS Event Taxonomy (Reference)
Core Funnel:
visitor_arrived (automatic page_view in GA4)
signup_started (user clicked "Sign up")
signup_completed (account created)
trial_started (free trial began)
onboarding_step_completed (params: step_name, step_number)
feature_activated (params: feature_name)
plan_selected (params: plan_name, billing_period)
checkout_started (params: value, currency, plan_name)
checkout_completed (params: value, currency, transaction_id)
subscription_renewed (params: value, plan_name)
subscription_cancelled (params: cancel_reason, plan_name)
Micro-Conversions:
pricing_viewed
demo_requested (params: source)
form_submitted (params: form_name, form_location)
content_downloaded (params: content_name, content_type)
video_started (params: video_title)
video_completed (params: video_title, percent_watched)
chat_opened
help_article_viewed (params: article_name)
invite_sent (params: recipient_role)
integration_connected (params: integration_name)
GA4 Configuration
Data Stream Setup
- Cr
Установить analytics-tracking в Claude Code и Claude Desktop
Зарегайся, чтобы установить скилл
Создай бесплатный аккаунт, чтобы открыть команду установки и сохранить скилл в библиотеку.
- Открой команду установки в одну строку
- Сохраняй скиллы в синхронизируемую библиотеку
- Уведомления, когда скиллы обновляются
Разрешённые инструменты
Инструменты, которые скиллу разрешено вызывать.
Без ограничений — скилл может использовать любой инструмент.
Вложенные файлы
FAQ
Что делает скилл analytics-tracking?
End-to-end analytics implementation for web and SaaS: GA4, Google Tag Manager, event taxonomy, conversion tracking, and UTM strategy. Use when building a tracking plan, debugging missing events, setting up GTM, or auditing existing analytics.
Как установить скилл analytics-tracking?
Скопируй папку скилла в ~/.claude/skills (вкладка Claude Code выше делает это одной командой), либо поставь как плагин.
Скилл analytics-tracking запускает скрипты?
Да, скилл несёт исполняемые скрипты. Проверь исходник перед установкой.
Похожие скиллы
skill-creator
Create new skills, modify and improve existing skills, and measure skill performance. Use when users want to create a skill from scratch, edit, or optimize an…
от Anthropicdiscernment-nudge
After you give a substantive answer or draft that the user may act on — advice or recommendations, drafted artifacts such as goals, plans, pitches, proposals…
от Anthropicdata-consolidate
Joins the plant's scheduled exports and connector data into one working dataset — ERP items (NetSuite or Infor M3), sales orders, production work orders…
от Anthropicinspection-to-capa
Runs the quality chain end to end: writes the nonconformance against the requirement it violates, searches history at the moment of writing to say whether…
от Anthropic