analytics-tracking
Ce qu’il fait
Cette compétence aide à configurer et auditer l'analyse d'un site web, y compris GA4, Tag Manager et les événements de conversion. Elle s'adresse aux responsables marketing et aux développeurs qui veulent des données fiables pour leurs décisions.
Quand l’utiliser
- ✓Quand vous configurez GA4, Google Tag Manager ou le suivi des conversions pour un site web.
- ✓Quand vos événements présentent des doublons, des valeurs manquantes ou des conversions défaillantes.
- ✓Quand vous voulez un plan de suivi qui liste chaque événement et chaque paramètre à capturer.
Lien du skill
https://github.com/alirezarezvani/claude-skills/blob/main/marketing-skill/skills/analytics-tracking/SKILL.mdCopiez-le et collez-le dans votre IA (Claude, ChatGPT ou Cursor) en lui demandant de suivre les instructions.
Comment l’utiliser
Le plus simple : copiez le message et collez-le dans votre IA. Elle lit le skill et suit les instructions.
Message prêt à coller
Pour Claude Code, Codex ou Cursor : lancez-la dans le dossier du projet et le skill est installé.
Téléchargez le SKILL.md et placez-le dans le dossier de skills de votre agent.
Exemple de demande à votre IA
“Nos conversions d'inscription dans GA4 semblent fausses. Audite le suivi et dis-moi ce qui est cassé.”
5 nouveaux skills par semaine. 1 minute de lecture.
Comment ça marche
Elle pose des questions sur votre configuration actuelle et vos conversions clés, audite les événements existants pour repérer les problèmes, puis génère un plan de suivi qui définit chaque événement et ses paramètres.
Contenu technique (SKILL.md original)
Texte original de l’auteur, en anglais, directement depuis GitHub.
Analytics Tracking
You are an expert in analytics implementation. Your goal is to make sure every meaningful action in the customer journey is captured accurately, consistently, and in a way that can actually be used for decisions — not just for the sake of having data.
Bad tracking is worse than no tracking. Duplicate events, missing parameters, unconsented data, and broken conversions lead to decisions made on bad data. This skill is about building it right the first time, or finding what's broken and fixing it.
Before Starting
Check for context first:
If .claude/product-marketing-context.md exists, read it before asking questions. Use that context and only ask for what's missing.
Gather this context:
1. Current State
- Do you have GA4 and/or GTM already set up? If so, what's broken or missing?
- What's your tech stack? (React SPA, Next.js, WordPress, custom, etc.)
- Do you have a consent management platform (CMP)? Which one?
- What events are you currently tracking (if any)?
2. Business Context
- What are your primary conversion actions? (signup, purchase, lead form, free trial start)
- What are your key micro-conversions? (pricing page view, feature discovery, demo request)
- Do you run paid campaigns? (Google Ads, Meta, LinkedIn — affects conversion tracking needs)
3. Goals
- Building from scratch, auditing existing, or debugging a specific issue?
- Do you need cross-domain tracking? Multiple properties or subdomains?
- Server-side tagging requirement? (GDPR-sensitive markets, performance concerns)
How This Skill Works
Mode 1: Set Up From Scratch
No analytics in place — we'll build the tracking plan, implement GA4 and GTM, define the event taxonomy, and configure key events.
Start from the generator, then customize:
python3 scripts/tracking_plan_generator.py # embedded sample → full tracking plan
python3 scripts/tracking_plan_generator.py plan.json # your funnel definition
python3 scripts/tracking_plan_generator.py --json # parseable JSON for pipelines
Its output (event taxonomy + parameters + GA4/GTM config checklist) is the working draft for the Event Taxonomy Design section below — review every generated event name against the naming convention before implementing.
Mode 2: Audit Existing Tracking
Tracking exists but you don't trust the data, coverage is incomplete, or you're adding new goals. We'll audit what's there, gap-fill, and clean up.
Mode 3: Debug Tracking Issues
Specific events are missing, conversion numbers don't add up, or GTM preview shows events firing but GA4 isn't recording them. Structured debugging workflow.
Event Taxonomy Design
Get this right before touching GA4 or GTM. Retrofitting taxonomy is painful.
Naming Convention
Format: object_action (snake_case, verb at the end)
| ✅ Good | ❌ Bad |
|---|---|
form_submit |
submitForm, FormSubmitted, form-submit |
plan_selected |
clickPricingPlan, selected_plan, PlanClick |
video_started |
videoPlay, StartVideo, VideoStart |
checkout_completed |
purchase, buy_complete, checkoutDone |
Rules:
- Always
noun_verbnotverb_noun - Lowercase + underscores only — no camelCase, no hyphens
- Be specific enough to be unambiguous, not so verbose it's a sentence
- Consistent tense:
_started,_completed,_failed(not mix of past/present)
Standard Parameters
Every event should include these where applicable:
| Parameter | Type | Example | Purpose |
|---|---|---|---|
page_location |
string | https://app.co/pricing |
Auto-captured by GA4 |
page_title |
string | Pricing - Acme |
Auto-captured by GA4 |
user_id |
string | usr_abc123 |
Link to your CRM/DB |
plan_name |
string | Professional |
Segment by plan |
value |
number | 99 |
Revenue/order value |
currency |
string | USD |
Required with value |
content_group |
string | onboarding |
Group pages/flows |
method |
string | google_oauth |
How (signup method, etc.) |
Event Taxonomy for SaaS
Core funnel events:
visitor_arrived (page view — automatic in GA4)
signup_started (user clicked "Sign up")
signup_completed (account created successfully)
trial_started (free trial began)
onboarding_step_completed (param: step_name, step_number)
feature_activated (param: feature_name)
plan_selected (param: plan_name, billing_per
Questions fréquentes
Couvre-t-elle le consentement ?
Oui, elle prend en compte la présence d'une plateforme de gestion du consentement et son effet sur la collecte des données.
Couvre-t-elle le suivi des conversions publicitaires ?
Oui, elle couvre les besoins de suivi des conversions pour les campagnes payantes sur Google, Meta ou LinkedIn.
Inclut-elle l'analyse des performances des campagnes ?
Non, celle-ci relève d'une compétence distincte d'analyse de campagnes.
Détails
Description originale de l’auteur
Use for any GA4, Google Tag Manager, event-tracking or conversion-tracking setup, audit or broken-event debug, before touching tags. Generates the event taxonomy and tracking plan with tracking_plan_generator.py. Campaign performance analysis: campaign-analytics.
Popularité
- Étoiles GitHub
- 29k
- Position au classement
- #9634
- Licence
- MIT
- Mis à jour
- 02/11/2026
Commentaires
- …
Autres skills de ce dépôt
agent-launcher-orchestrator
29kAide votre agent à planifier, construire, tester et programmer un agent géré Claude dans votre propre compte, étape par étape, à partir d'un objectif clair.
grade-iterate
29kPermet à votre agent d'évaluer le travail d'un agent IA géré selon une grille et de l'améliorer en un nombre fixe de tours, pour qu'il ne boucle jamais.
interview
29kPermet à votre agent de vous interroger sur une idée d'agent IA et de transformer vos réponses en un plan de construction simple avant tout lancement.
run-without-you
29kAide votre agent à configurer un agent géré IA pour qu'il s'exécute selon un planning ou lorsqu'un événement se produit, avec le calendrier vérifié avant le lancement.
Skills similaires
gitcrawl
394kPermet à votre agent de chercher dans une archive de tickets et pull requests GitHub, de regrouper les doublons et de vérifier leur statut actuel.
slacrawl
394kPermet à votre agent de chercher et de compter des messages dans une archive Slack locale, de vérifier sa fraîcheur et de la rafraîchir au besoin.
goplaces
394kAide votre agent à rechercher des lieux, obtenir leurs détails et avis, et identifier des noms de lieux avec Google Places, avec une sortie JSON pour les scripts.