本文へスキップ
Skillpedia
分析とスプレッドシート29k · #9634

analytics-tracking

できること

このスキルは、GA4、タグマネージャー、コンバージョンのイベントを含む、Webサイトの解析を設定し監査する手助けをします。判断のために正確なデータがほしいマーケターや開発者を対象としています。

使う場面

  • ✓Webサイトに、GA4、Google Tag Manager、またはコンバージョンのトラッキングを設定しているとき。
  • ✓イベントに重複、欠損値、壊れたコンバージョンがあるとき。
  • ✓取得すべきすべてのイベントとパラメーターを列挙したトラッキング計画がほしいとき。

スキルのリンク

https://github.com/alirezarezvani/claude-skills/blob/main/marketing-skill/skills/analytics-tracking/SKILL.md

コピーしてAI(Claude、ChatGPT、Cursor)に貼り付け、指示に従うよう頼んでください。

使い方

いちばん簡単な方法:メッセージをコピーしてAIに貼り付けるだけ。AIがスキルを読んで指示に従います。

貼り付け用メッセージ

このスキルを使って手伝ってください:https://github.com/alirezarezvani/claude-skills/blob/main/marketing-skill/skills/analytics-tracking/SKILL.md このリンクのSKILL.mdファイルを読んで、私の作業でその指示に従ってください。
こういうスキルを、AIが自分で見つけてくれたら?無料のSkillpedia MCPをインストール。1行で、作業の前に15,000+のスキルから探してくれます。1分でインストール →

AIへの頼み方の例

“GA4のサインインのコンバージョンがおかしいです。トラッキングを監査して、何が壊れているかを教えてください。”

毎週5つの新しいスキル。1分で読めます。

仕組み

現在の設定と主要なコンバージョンを尋ね、既存のイベントに問題がないかを監査します。その後、各イベントとそのパラメーターを定義するトラッキング計画を生成します。

技術的な内容(元のSKILL.md)

作者による元のテキスト(英語)を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_verb not verb_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
よくある質問

同意管理は扱いますか?

はい。同意管理プラットフォームがあるかどうか、そしてそれがデータ収集にどう影響するかを考慮します。

広告のコンバージョンのトラッキングも扱いますか?

はい。Google、Meta、LinkedInなどの有料キャンペーンのコンバージョンのトラッキングの必要性を扱います。

キャンペーンの成果の分析も含まれますか?

いいえ。それは別のキャンペーン分析のスキルで扱います。

詳細

作者による元の説明

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.

repo: alirezarezvani/claude-skills

人気

GitHubのスター
29k
ランキング
#9634
ライセンス
MIT
更新日
2026/11/2

このスキルは役に立ちますか?

0

ログイン して投票しましょう。

コメント

  • …

このリポジトリの他のスキル

似ているスキル