Compétences en Suivi Analytique LeoYeAI/openclaw-marketing-skil…

Aide à configurer, améliorer ou auditer le suivi analytique et la mesure, notamment GA4, GTM, UTM, les événements, et l'attribution.

Qu'est-ce que openclaw-marketing-skil… ?

Cette compétence est conçue pour les agents IA (comme Claude Code, Cursor) afin de guider l'utilisateur dans la mise en place, l'amélioration ou l'audit du suivi analytique, principalement pour le marketing et les produits. Elle couvre la planification des événements, les conventions de nommage, l'implémentation GA4 et Google Tag Manager (GTM), la stratégie des paramètres UTM, ainsi que le débogage et la validation. L'approche est orientée vers les décisions : chaque événement doit informer une action marketing ou produit. La compétence inclut des frameworks de planification de suivi, des exemples de code JavaScript pour les événements personnalisés, et des checklists de validation. Elle s'appuie sur des fichiers de référence externes (event-library.md, ga4-implementation.md, gtm-implementation.md) et intègre des considérations de conformité (RGPD, consentement). Elle est particulièrement utile lorsqu'un utilisateur mentionne des termes comme 'GA4', 'conversion tracking', 'événements', 'analytics', ou 'tag manager'.

Compatible avec~Claude Code~Codex CLI~Cursor
npx skills add https://github.com/LeoYeAI/openclaw-marketing-skills/tree/main/skills/analytics-tracking

Installed? Explore more Recherche et analyse de données skills: affaan-m/uspto-database, affaan-m/scholar-evaluation, affaan-m/literature-review · View all 6 →

Demander à votre IA préférée

Ouvre une nouvelle conversation avec cette compétence d'agent déjà préchargée.

Documentation

Suivi Analytique

Vous êtes un expert en implémentation et mesure analytique. Votre objectif est d'aider à configurer un suivi qui fournit des informations exploitables pour les décisions marketing et produit.

Évaluation Initiale

Vérifiez d'abord le contexte marketing produit : Si .agents/product-marketing-context.md existe (ou .agents/product-marketing-context.md dans des configurations plus anciennes), lisez-le avant de poser des questions. Utilisez ce contexte et ne demandez que les informations non déjà couvertes ou spécifiques à cette tâche.

Avant de mettre en œuvre le suivi, comprenez :

  1. Contexte Métier - Quelles décisions ces données éclaireront-elles ? Quelles sont les conversions clés ?
  2. État Actuel - Quel suivi existe déjà ? Quels outils sont utilisés ?
  3. Contexte Technique - Quelle est la stack technique ? Y a-t-il des exigences de confidentialité/conformité ?

Principes Fondamentaux

1. Suivre pour les Décisions, Pas pour les Données

  • Chaque événement doit éclairer une décision
  • Évitez les métriques de vanité
  • La qualité prime sur la quantité d'événements

2. Commencez par les Questions

  • Que devez-vous savoir ?
  • Quelles actions allez-vous entreprendre en fonction de ces données ?
  • Travaillez à rebours pour déterminer ce que vous devez suivre

3. Nommez les Choses de Manière Cohérente

  • Les conventions de nommage sont importantes
  • Établissez des modèles avant d'implémenter
  • Documentez tout

4. Maintenez la Qualité des Données

  • Validez l'implémentation
  • Surveillez les problèmes
  • Des données propres valent mieux que plus de données

Cadre de Planification du Suivi

Structure

Nom de l'Événement | Catégorie | Propriétés | Déclencheur | Notes
------------------- | --------- | ----------- | ----------- | -----

Types d'Événements

TypeExemples
Pages vuesAutomatique, enrichi avec métadonnées
Actions UtilisateurClics sur boutons, soumissions de formulaires, utilisation de fonctionnalités
Événements SystèmeInscription terminée, achat, abonnement modifié
Conversions PersonnaliséesAchèvements d'objectifs, étapes d'entonnoir

Pour une liste complète des événements : Voir references/event-library.md


Conventions de Nommage des Événements

Format Recommandé : Objet-Action

signup_completed
button_clicked
form_submitted
article_read
checkout_payment_completed

Bonnes Pratiques

  • Minuscules avec underscores
  • Soyez spécifique : cta_hero_clicked vs. button_clicked
  • Incluez le contexte dans les propriétés, pas dans le nom de l'événement
  • Évitez les espaces et les caractères spéciaux
  • Documentez les décisions

Événements Essentiels

Site Marketing

ÉvénementPropriétés
cta_clickedbutton_text, location
form_submittedform_type
signup_completedmethod, source
demo_requested-

Produit/Application

ÉvénementPropriétés
onboarding_step_completedstep_number, step_name
feature_usedfeature_name
purchase_completedplan, value
subscription_cancelledreason

Pour la bibliothèque complète par type d'entreprise : Voir references/event-library.md


Propriétés des Événements

Propriétés Standard

CatégoriePropriétés
Pagepage_title, page_location, page_referrer
Utilisateuruser_id, user_type, account_id, plan_type
Campagnesource, medium, campaign, content, term
Produitproduct_id, product_name, category, price

Bonnes Pratiques

  • Utilisez des noms de propriétés cohérents
  • Incluez le contexte pertinent
  • Ne dupliquez pas les propriétés automatiques
  • Évitez les PII dans les propriétés

Implémentation GA4

Configuration Rapide

  1. Créez une propriété GA4 et un flux de données
  2. Installez gtag.js ou GTM
  3. Activez la mesure améliorée
  4. Configurez des événements personnalisés
  5. Marquez les conversions dans Admin

Exemple d'Événement Personnalisé

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

Pour une implémentation GA4 détaillée : Voir references/ga4-implementation.md


Google Tag Manager

Structure du Conteneur

ComposantObjectif
TagsCode qui s'exécute (GA4, pixels)
DéclencheursQuand les tags se déclenchent (vue de page, clic)
VariablesValeurs dynamiques (texte du clic, layer de données)

Modèle de Data Layer

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

Pour une implémentation GTM détaillée : Voir references/gtm-implementation.md


Stratégie des Paramètres UTM

Paramètres Standard

ParamètreObjectifExemple
utm_sourceSource de traficgoogle, newsletter
utm_mediumSupport marketingcpc, email, social
utm_campaignNom de la campagnespring_sale
utm_contentDifférencier les versionshero_cta
utm_termMots-clés de recherche payanterunning+shoes

Conventions de Nommage

  • Tout en minuscules
  • Utilisez underscores ou tirets de manière cohérente
  • Soyez spécifique mais concis : blog_footer_cta, pas cta1
  • Documentez tous les UTMs dans un tableur

Débogage et Validation

Outils de Test

OutilUtilisation
GA4 DebugViewSurveillance des événements en temps réel
Mode Aperçu GTMTester les déclencheurs avant publication
Extensions NavigateurTag Assistant, dataLayer Inspector

Liste de Vérification de Validation

  • Les événements se déclenchent sur les bons déclencheurs
  • Les valeurs des propriétés se remplissent correctement
  • Pas d'événements en double
  • Fonctionne sur tous les navigateurs et mobiles
  • Les conversions sont enregistrées correctement
  • Aucune fuite de PII

Problèmes Courants

ProblèmeVérification
Les événements ne se déclenchent pasConfiguration du déclencheur, GTM chargé
Valeurs erronéesChemin de la variable, structure du data layer
Événements en doublePlusieurs conteneurs, déclencheur qui se déclenche deux fois

Confidentialité et Conformité

Considérations

  • Consentement aux cookies requis dans l'UE/Royaume-Uni/CA
  • Pas de PII dans les propriétés analytiques
  • Paramètres de conservation des données
  • Capacités de suppression des utilisateurs

Implémentation

  • Utilisez le mode consentement (attendre le consentement)
  • Anonymisation IP
  • Ne collectez que ce dont vous avez besoin
  • Intégration avec une plateforme de gestion du consentement

Format de Sortie

Document de Planification du Suivi

# Plan de Suivi [Site/Produit]

## Aperçu
- Outils : GA4, GTM
- Dernière mise à jour : [Date]

## Événements

| Nom de l'Événement | Description | Propriétés | Déclencheur |
|--------------------|-------------|------------|-------------|
| signup_completed | L'utilisateur termine l'inscription | method, plan | Page de succès |

## Dimensions Personnalisées

| Nom | Portée | Paramètre |
|-----|--------|-----------|
| user_type | Utilisateur | user_type |

## Conversions

| Conversion | Événement | Comptage |
|------------|-----------|----------|
| Inscription | signup_completed | Une fois par session |

Questions Spécifiques à la Tâche

  1. Quels outils utilisez-vous (GA4, Mixpanel, etc.) ?
  2. Quelles actions clés souhaitez-vous suivre ?
  3. Quelles décisions ces données éclaireront-elles ?
  4. Qui implémente - l'équipe technique ou marketing ?
  5. Y a-t-il des exigences de confidentialité/consentement ?
  6. Qu'est-ce qui est déjà suivi ?

Intégrations d'Outils

Pour l'implémentation, voir le registre des outils. Outils analytiques clés :

OutilIdéal PourMCPGuide
GA4Analytics web, écosystème Google✓ga4.md
MixpanelAnalytics produit, suivi d'événements-mixpanel.md
AmplitudeAnalytics produit, analyse de cohortes-amplitude.md
PostHogAnalytics open-source, relecture de session-posthog.md
SegmentPlateforme de données client, routage-segment.md

Compétences Associées

  • ab-test-setup : Pour le suivi des expériences
  • seo-audit : Pour l'analyse du trafic organique
  • page-cro : Pour l'optimisation des conversions (utilise ces données)
  • revops : Pour les métriques du pipeline, le suivi CRM et l'attribution des revenus

Individual skills in this repo

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

LeoYeAI/openclaw-marketing-skills

When the user wants to plan, design, or implement an A/B test or experiment. 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," or "how long should I run this test." Use this whenever someone is comparing two approaches and wants to measure which performs better. For tracking implementation, see analytics-tra

LeoYeAI/openclaw-marketing-skills

When the user wants to generate, iterate, or scale ad creative — headlines, descriptions, primary text, or full ad variations — for any paid advertising platform. Also use when the user mentions 'ad copy variations,' 'ad creative,' 'generate headlines,' 'RSA headlines,' 'bulk ad copy,' 'ad iterations,' 'creative testing,' 'ad performance optimization,' 'write me some ads,' 'Facebook ad copy,' 'Google ad headlines,' 'LinkedIn ad text,' or 'I need more ad variations.' Use this whenever someone needs to produce ad copy at scale or iterate on existing ads. For campaign strategy and targeting, see paid-ads. For landing page copy, see copywriting.

LeoYeAI/openclaw-marketing-skills

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 '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,' or 'optimize for Claude/Gemini.' Use this whenever someone wants their content to be cited or surfaced by AI assistants and AI search engines. For traditional technical and on-page SEO audits, see seo-audit. For structured data implementation, see schema-markup.

LeoYeAI/openclaw-marketing-skills

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 'churn,' 'cancel flow,' 'offboarding,' 'save offer,' 'dunning,' 'failed payment recovery,' 'win-back,' 'retention,' 'exit survey,' 'pause subscription,' 'involuntary churn,' 'people keep canceling,' 'churn rate is too high,' 'how do I keep users,' or 'customers are leaving.' Use this whenever someone is losing subscribers o

LeoYeAI/openclaw-marketing-skills

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 "cold outreach," "prospecting email," "outbound email," "email to leads," "reach out to prospects," "sales email," "follow-up email sequence," "nobody's replying to my emails," or "how do I write a cold email." Covers subject lines, opening lines, body copy, CTAs, p

LeoYeAI/openclaw-marketing-skills

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 v

LeoYeAI/openclaw-marketing-skills

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 "content strategy," "what should I write about," "content ideas," "blog strategy," "topic clusters," "content planning," "editorial calendar," "content marketing," "content roadmap," "what content should I create," "blog topics," "content pillars," or "I don't know what to write." Use this whenever someone needs help deciding what content to produce,

LeoYeAI/openclaw-marketing-skills

When the user wants to edit, review, or improve existing marketing copy. Also use when the user mentions 'edit this copy,' 'review my copy,' 'copy feedback,' 'proofread,' 'polish this,' 'make this better,' 'copy sweep,' 'tighten this up,' 'this reads awkwardly,' 'clean up this text,' 'too wordy,' or 'sharpen the messaging.' Use this when the user already has copy and wants it improved rather than rewritten from scratch. For writing new copy, see copywriting.

LeoYeAI/openclaw-marketing-skills

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 "write copy for," "improve this copy," "rewrite this page," "marketing copy," "headline help," "CTA copy," "value proposition," "tagline," "subheadline," "hero section copy," "above the fold," "this copy is weak," "make this more compelling," or "help me describe my product." Use this whenever s

LeoYeAI/openclaw-marketing-skills

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 out

LeoYeAI/openclaw-marketing-skills

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 tha

LeoYeAI/openclaw-marketing-skills

When the user wants to plan, evaluate, or build a free tool for marketing purposes — lead generation, SEO value, or brand awareness. Also use when the user mentions "engineering as marketing," "free tool," "marketing tool," "calculator," "generator," "interactive tool," "lead gen tool," "build a tool for leads," "free resource," "ROI calculator," "grader tool," "audit tool," "should I build a free tool," or "tools for lead gen." Use this whenever someone wants to build something useful and give

LeoYeAI/openclaw-marketing-skills

Connect GetXAPI to pull public X/Twitter marketing signals into OpenClaw workflows. Use when the user wants social listening, tweet search, reply search, user lookup, or monitor setup driven by a Bearer-auth search backend. Enhances social-content, paid-ads, ad-creative, content-strategy, launch-strategy, and competitor-alternatives with real public conversation data.

LeoYeAI/openclaw-marketing-skills

Connect to Google Ads API to pull real account data — campaign performance, keyword health, wasted spend, search terms, impression share. Use when the user wants to audit their Google Ads account, find wasted budget, optimize keywords, or get data-driven recommendations. Enhances paid-ads and ad-creative skills with real numbers instead of guesswork. Triggers on: 'audit my Google Ads', 'find wasted spend', 'why are my ads not converting', 'Google Ads performance', 'which keywords to pause', 'Goo

LeoYeAI/openclaw-marketing-skills

When the user wants to plan a product launch, feature announcement, or release strategy. Also use when the user mentions 'launch,' 'Product Hunt,' 'feature release,' 'announcement,' 'go-to-market,' 'beta launch,' 'early access,' 'waitlist,' 'product update,' 'how do I launch this,' 'launch checklist,' 'GTM plan,' or 'we're about to ship.' Use this whenever someone is preparing to release something publicly. For ongoing marketing after launch, see marketing-ideas.

LeoYeAI/openclaw-marketing-skills

When the user wants to create, plan, or optimize a lead magnet for email capture or lead generation. Also use when the user mentions "lead magnet," "gated content," "content upgrade," "downloadable," "ebook," "cheat sheet," "checklist," "template download," "opt-in," "freebie," "PDF download," "resource library," "content offer," "email capture content," "Notion template," "spreadsheet template," or "what should I give away for emails." Use this for planning what to create and how to distribute

LeoYeAI/openclaw-marketing-skills

When the user needs marketing ideas, inspiration, or strategies for their SaaS or software product. Also use when the user asks for 'marketing ideas,' 'growth ideas,' 'how to market,' 'marketing strategies,' 'marketing tactics,' 'ways to promote,' 'ideas to grow,' 'what else can I try,' 'I don't know how to market this,' 'brainstorm marketing,' or 'what marketing should I do.' Use this as a starting point whenever someone is stuck or looking for inspiration on how to grow. For specific channel execution, see the relevant skill (paid-ads, social-content, email-sequence, etc.).

LeoYeAI/openclaw-marketing-skills

When the user wants to apply psychological principles, mental models, or behavioral science to marketing. Also use when the user mentions 'psychology,' 'mental models,' 'cognitive bias,' 'persuasion,' 'behavioral science,' 'why people buy,' 'decision-making,' 'consumer behavior,' 'anchoring,' 'social proof,' 'scarcity,' 'loss aversion,' 'framing,' or 'nudge.' Use this whenever someone wants to understand or leverage how people think and make decisions in a marketing context.

LeoYeAI/openclaw-marketing-skills

Connect to Meta Marketing API to pull real Facebook and Instagram ad data — campaign performance, creative fatigue, audience saturation, ROAS by ad set, frequency analysis, and Learning Phase status. Use when the user wants to audit their Meta/Facebook/Instagram ads, diagnose creative fatigue, find wasted budget, or get data-driven optimization. Enhances paid-ads and ad-creative skills with real Meta data. Triggers on: 'audit my Facebook ads', 'Instagram ads performance', 'Meta ads not convertin

LeoYeAI/openclaw-marketing-skills

When the user wants to optimize post-signup onboarding, user activation, first-run experience, or time-to-value. Also use when the user mentions "onboarding flow," "activation rate," "user activation," "first-run experience," "empty states," "onboarding checklist," "aha moment," "new user experience," "users aren't activating," "nobody completes setup," "low activation rate," "users sign up but don't use the product," "time to value," or "first session experience." Use this whenever users are si

Skills associés