Community研究&データ分析github.com

アナリティクストラッキング

マーケティングおよびプロダクトの意思決定に役立つアクション可能なインサイトを提供するためのアナリティクス実装と測定の専門家です。GA4、GTM、UTMパラメータ、イベントトラッキングなどの設定、改善、監査を行います。

アナリティクストラッキング とは?

このスキルは、アナリティクスの実装と測定に関する詳細なガイダンスを提供し、マーケティングやプロダクトの意思決定をデータで支援します。データのためだけに追跡するのではなく、意思決定のために追跡するという原則に基づき、アクション可能なインサイトを重視します。具体的には、トラッキング計画の立案、イベント命名規則、GA4やGoogleタグマネージャー(GTM)の設定、UTMパラメータ戦略、デバッグと検証、プライバシーとコンプライアンスへの対応など、幅広いトピックをカバーします。また、Mixpanel、Amplitude、PostHog、Segmentなどの主要なアナリティクスツールとの連携もサポートしており、具体的な実装手順は関連する統合ガイドを参照します。このスキルは、アナリティクスの設定や監査を依頼する際、あるいは「GA4」「コンバージョントラッキング」「イベントが発火しない」といった具体的な質問がある場合に特に役立ちます。

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

Installed? Explore more 研究&データ分析 skills: affaan-m/uspto-database, affaan-m/scholar-evaluation, affaan-m/literature-review · View all 6 →

お気に入りのAIに質問する

このエージェントスキルを事前に読み込んだ状態で新しいチャットを開きます。

ドキュメント

アナリティクストラッキング は何をしますか?

あなたはアナリティクスの実装と測定の専門家です。目標は、マーケティングおよびプロダクトの意思決定に役立つアクション可能なインサイトを提供するトラッキングを設定することです。

初期評価

最初にプロダクトマーケティングコンテキストを確認してください: .agents/product-marketing-context.md が存在する場合(または古いセットアップでは .agents/product-marketing-context.md)、質問する前にそれを読んでください。そのコンテキストを使用し、まだカバーされていない情報やこのタスクに固有の情報についてのみ質問してください。

トラッキングを実装する前に、以下を理解してください:

  1. ビジネスコンテキスト - このデータはどのような意思決定に役立ちますか?主要なコンバージョンは何ですか?
  2. 現在の状態 - どのようなトラッキングが存在しますか?どのツールが使用されていますか?
  3. 技術的コンテキスト - 技術スタックは何ですか?プライバシー/コンプライアンスの要件はありますか?

基本原則

1. データのためではなく、意思決定のために追跡する

  • すべてのイベントは意思決定に役立つものであるべき
  • バニティメトリクスは避ける
  • イベントの量より質

2. 質問から始める

  • 何を知る必要がありますか?
  • このデータに基づいてどのようなアクションを取りますか?
  • 何を追跡する必要があるかを逆算する

3. 一貫した命名を行う

  • 命名規則は重要
  • 実装前にパターンを確立する
  • すべてを文書化する

4. データ品質を維持する

  • 実装を検証する
  • 問題を監視する
  • より多くのデータよりもクリーンなデータ

トラッキング計画フレームワーク

構造

イベント名 | カテゴリ | プロパティ | トリガー | メモ
---------- | -------- | ---------- | ------- | -----

イベントタイプ

タイプ例
ページビュー自動、メタデータで拡張
ユーザーアクションボタンクリック、フォーム送信、機能使用
システムイベントサインアップ完了、購入、サブスクリプション変更
カスタムコンバージョン目標達成、ファネルステージ

包括的なイベントリストについては: references/event-library.md を参照


イベント命名規則

推奨フォーマット: オブジェクト-アクション

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. 拡張計測機能を有効化
  4. カスタムイベントを設定
  5. 管理画面でコンバージョンをマーク

カスタムイベントの例

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

詳細なGA4実装については: references/ga4-implementation.md を参照


Googleタグマネージャー

コンテナ構造

コンポーネント目的
タグ実行するコード(GA4、ピクセル)
トリガータグがいつ発火するか(ページビュー、クリック)
変数動的な値(クリックテキスト、データレイヤー)

データレイヤーパターン

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が読み込まれているか
値が間違っている変数パス、データレイヤー構造
重複イベント複数のコンテナ、トリガーが2回発火

プライバシーとコンプライアンス

考慮事項

  • EU/UK/CAではCookie同意が必要
  • アナリティクスプロパティにPIIを含めない
  • データ保持設定
  • ユーザー削除機能

実装

  • 同意モードを使用する(同意を待つ)
  • IP匿名化
  • 必要なものだけを収集する
  • 同意管理プラットフォームと統合する

出力フォーマット

トラッキング計画ドキュメント

# [サイト/プロダクト] トラッキング計画

## 概要
- ツール: GA4, GTM
- 最終更新日: [日付]

## イベント

| イベント名 | 説明 | プロパティ | トリガー |
|------------|-------------|------------|---------|
| signup_completed | ユーザーがサインアップを完了 | method, plan | 成功ページ |

## カスタムディメンション

| 名前 | スコープ | パラメータ |
|------|-------|-----------|
| user_type | ユーザー | user_type |

## コンバージョン

| コンバージョン | イベント | 計測方法 |
|------------|-------|----------|
| サインアップ | signup_completed | セッションごとに1回 |

タスク固有の質問

  1. どのツールを使用していますか(GA4、Mixpanelなど)?
  2. どのような主要なアクションを追跡したいですか?
  3. このデータはどのような意思決定に役立ちますか?
  4. 実装するのは開発チームですか、それともマーケティングチームですか?
  5. プライバシー/同意の要件はありますか?
  6. すでに追跡されているものは何ですか?

ツール連携

実装については、ツールレジストリ を参照してください。主要なアナリティクスツール:

ツール最適な用途MCPガイド
GA4Webアナリティクス、Googleエコシステム✓ga4.md
Mixpanelプロダクトアナリティクス、イベントトラッキング-mixpanel.md
Amplitudeプロダクトアナリティクス、コホート分析-amplitude.md
PostHogオープンソースアナリティクス、セッションリプレイ-posthog.md
Segmentカスタマーデータプラットフォーム、ルーティング-segment.md

関連スキル

  • ab-test-setup: 実験トラッキング用
  • seo-audit: オーガニックトラフィック分析用
  • page-cro: コンバージョン最適化用(このデータを使用)
  • revops: パイプラインメトリクス、CRMトラッキング、収益アトリビューション用

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

関連スキル