Analytics Trackingのロゴ

Analytics Tracking

組織
TerminalSkills
analytics-tracking

アナリティクスのトラッキングと計測の設定、改善、監査が必要な場合に使用します。「トラッキングを設定したい」「GA4」「Google Analytics」「コンバージョントラッキング」「イベントトラッキング」「UTMパラメータ」「タグマネージャー」「GTM」「アナリティクスの実装」「トラッキング計画」などの話題にも使用します。A/Bテストの計測については、ab-test-setupを参照してください。

概要

公開者TerminalSkills
リポジトリskills
スキル名analytics-tracking
スター
155
フォーク
21
同梱ファイル
4
ライセンスApache-2.0
リンク
  • Markdown形式の指示

    モデルが必要に応じて読み込むSKILL.mdファイルです。関連するリクエストがあったときだけトークンを消費します。

  • どのLLMでも利用可能

    AIスキルはプロバイダー固有のコードではなく、通常のMarkdownなので、GPT、Claude、Gemini、Grok、ローカルモデルで利用できます。

  • 4個の同梱ファイル

    モデルが作業中に読み取れるスクリプト、テンプレート、参考資料です。ファイルは読み取り専用で、実行されることはありません。

  • オープンソース

    TerminalSkillsがGitHubで公開しています。インストールする前にソースを確認してください。

インストール

AIスキル「Analytics Tracking」をTypingMindにインストールすれば、どのLLMでも利用できます。SKILL.mdを読み取れる別のAIエージェントに追加することもできます。

1

TypingMindにインストール

TypingMindはGitHubフォルダから直接スキルをインストールします。SKILL.mdを読み取り、リソースファイルをまとめてローカルに保存します。

  1. アプリを開き、「プラグイン」→「スキル」に移動します。
  2. 「GitHubからインストール」を選択します。
  3. 以下のスキルフォルダのURLを貼り付けて確定します。
    https://github.com/TerminalSkills/skills/tree/main/skills/analytics-tracking
  4. スキルを利用したいチャットごとに、そのスキルを有効にしてください。
「プラグイン」→「スキル」→「スキルを追加」→「GitHubのURLから」を選択し、フォルダのURLを貼り付けて「続行」を押します。
2

別のAIエージェントにインストール

Agent Skills形式を読み取れるAIエージェントなら、このスキルを利用できます。フォルダをそのAIエージェントのスキルディレクトリにコピーしてください。

Claude Code — .claude/skills
git clone --depth 1 https://github.com/TerminalSkills/skills.git /tmp/skills
mkdir -p .claude/skills
cp -r /tmp/skills/skills/analytics-tracking .claude/skills/analytics-tracking
コピー後、新しいスキルを読み込むためにClaude Codeを再起動してください。

TypingMindで使用

TypingMindのチャットでAnalytics Trackingを有効にするだけで、あとはモデルが対応します。名前と説明がシステムプロンプトに含まれ、関連するリクエストがあると、モデルが指示の全文を自動で読み込みます。手動で呼び出す必要はなく、実際に使用されるまでトークンを消費しません。

関連するリクエストがあるとすぐに、モデルが自動的にAnalytics Trackingを読み込みます。

どのAIモデルでも利用可能

AIスキルはプロバイダー固有のコードではなく、通常のMarkdownで書かれた指示です。そのため、Analytics Trackingは作成時に想定されたモデルに縛られません。TypingMindに一度インストールすれば、ご自身のAPIキーを使って、GPT-5、Claude、Gemini、Grok、DeepSeek、Mistral、Llama、またはご自身で実行するローカルモデルで利用できます。

  • 必要なときだけ読み込み

    システムプロンプトには名前と説明だけが含まれます。関連するリクエストが初めてあったときに指示を取得するため、スキルを使わない間は指示の読み込みにトークンを消費しません。

  • チャットの途中でモデルを切り替え

    スキルはコードではなく指示なので、モデルを切り替えてもそのまま使えます。次のモデルも同じSKILL.mdを読み込みます。

スキルの指示

モデルが読み込むSKILL.mdの内容です。スキルはモデルが従う指示なので、インストールする前に確認してください。

Analytics Tracking

Overview

You are an expert in analytics implementation and measurement. Your goal is to help set up tracking that provides actionable insights for marketing and product decisions. You guide users through tracking plan creation, event naming, GA4/GTM implementation, UTM strategy, and validation.

Check for product marketing context first: If .claude/product-marketing-context.md exists, read it before asking questions. Use that context and only ask for information not already covered or specific to this task.

Instructions

Initial Assessment

Before implementing tracking, understand:

  1. Business Context - What decisions will this data inform? What are key conversions?
  2. Current State - What tracking exists? What tools are in use?
  3. Technical Context - What's the tech stack? Any privacy/compliance requirements?

Core Principles

  1. Track for Decisions, Not Data - Every event should inform a decision. Avoid vanity metrics. Quality > quantity.
  2. Start with the Questions - What do you need to know? What actions will you take? Work backwards to what you need to track.
  3. Name Things Consistently - Establish naming conventions before implementing. Document everything.
  4. Maintain Data Quality - Validate implementation. Monitor for issues. Clean data > more data.

Tracking Plan Framework

Event Name | Category | Properties | Trigger | Notes
---------- | -------- | ---------- | ------- | -----

Event Types:

TypeExamples
PageviewsAutomatic, enhanced with metadata
User ActionsButton clicks, form submissions, feature usage
System EventsSignup completed, purchase, subscription changed
Custom ConversionsGoal completions, funnel stages

For comprehensive event lists: See references/event-library.md

Event Naming Conventions

Use Object-Action format, lowercase with underscores:

signup_completed
button_clicked
form_submitted
article_read
checkout_payment_completed

Be specific: cta_hero_clicked not button_clicked. Include context in properties, not event name.

Essential Events

Marketing Site:

EventProperties
cta_clickedbutton_text, location
form_submittedform_type
signup_completedmethod, source
demo_requested-

Product/App:

EventProperties
onboarding_step_completedstep_number, step_name
feature_usedfeature_name
purchase_completedplan, value
subscription_cancelledreason

For full event library by business type: See references/event-library.md

Standard Event Properties

CategoryProperties
Pagepage_title, page_location, page_referrer
Useruser_id, user_type, account_id, plan_type
Campaignsource, medium, campaign, content, term
Productproduct_id, product_name, category, price

GA4 Implementation

  1. Create GA4 property and data stream
  2. Install gtag.js or GTM
  3. Enable enhanced measurement
  4. Configure custom events
  5. Mark conversions in Admin
javascript
gtag('event', 'signup_completed', {
  'method': 'email',
  'plan': 'free'
});

For detailed GA4 implementation: See references/ga4-implementation.md

Google Tag Manager

ComponentPurpose
TagsCode that executes (GA4, pixels)
TriggersWhen tags fire (page view, click)
VariablesDynamic values (click text, data layer)
javascript
dataLayer.push({
  'event': 'form_submitted',
  'form_name': 'contact',
  'form_location': 'footer'
});

For detailed GTM implementation: See references/gtm-implementation.md

UTM Parameter Strategy

ParameterPurposeExample
utm_sourceTraffic sourcegoogle, newsletter
utm_mediumMarketing mediumcpc, email, social
utm_campaignCampaign namespring_sale
utm_contentDifferentiate versionshero_cta
utm_termPaid search keywordsrunning+shoes

Lowercase everything. Use underscores or hyphens consistently. Document all UTMs in a spreadsheet.

Debugging and Validation

ToolUse For
GA4 DebugViewReal-time event monitoring
GTM Preview ModeTest triggers before publish
Browser ExtensionsTag Assistant, dataLayer Inspector

Validation Checklist:

  • Events firing on correct triggers
  • Property values populating correctly
  • No duplicate events
  • Works across browsers and mobile
  • Conversions recorded correctly
  • No PII leaking

Privacy and Compliance

  • Cookie consent required in EU/UK/CA
  • No PII in analytics properties
  • Configure data retention settings
  • Use consent mode (wait for consent before firing tags)
  • IP anonymization enabled
  • Integrate with consent management platform

Examples

Example 1: SaaS Marketing Site Tracking Plan

User prompt: "We're launching a new marketing site for our HR software Peoplus on Next.js. We use GA4 and need to track signups, demo requests, and content engagement. Help me create a tracking plan."

The agent will:

  • Create a structured tracking plan with events: cta_clicked, demo_form_submitted, signup_completed, pricing_toggled, blog_article_read, resource_downloaded.
  • Define properties for each event (e.g., demo_form_submitted with company_size, source_page).
  • Provide GTM data layer implementation code for each event.
  • Recommend custom dimensions for user_type and plan_interest.
  • Define conversions to mark in GA4 Admin and outline a UTM strategy for the launch campaign across paid, email, and social channels.

Example 2: E-commerce Conversion Funnel Audit

User prompt: "Our Shopify store DailyBrew sells specialty coffee. We have GA4 installed but can't see where people drop off between product view and purchase. Our conversion rate is 1.2% and we need better funnel tracking."

The agent will:

  • Audit the current GA4 setup and identify missing events in the purchase funnel.
  • Create a funnel tracking plan: product_viewed (with product_name, price, category), add_to_cart, cart_viewed, checkout_started, shipping_selected, payment_submitted, purchase_completed.
  • Provide Shopify-specific GTM implementation using Shopify's data layer.
  • Set up enhanced e-commerce tracking in GA4 with proper product properties.
  • Recommend a validation process using GA4 DebugView to confirm each funnel step fires correctly.

Guidelines

  • Always start with questions, not tools — understand what decisions the data will inform before choosing what to track.
  • Avoid PII in event properties — never pass emails, full names, or other personally identifiable information as event parameters.
  • Test tracking before going live — use GA4 DebugView and GTM Preview Mode to verify every event fires correctly with the right properties.
  • Don't duplicate automatic properties — GA4 already captures page_location, page_referrer, and other standard parameters. Only add custom properties that provide additional context.
  • Document naming conventions upfront — inconsistent event names (mixing signupCompleted with signup_completed) create data headaches that are painful to fix later.
  • Keep UTM parameters lowercase and consistent — utm_source=Google and utm_source=google create separate entries in reports. Standardize before launching campaigns.
  • Plan for consent — implement consent mode from day one. Retrofitting cookie consent is much harder than building it in.

同梱ファイル

スキルが読み込まれている間、モデルは必要に応じてこれらを読み取ります。読み取り可能なファイルとして提供され、実行されることはありません。

よくある質問

AIスキル「Analytics Tracking」では何ができますか?

アナリティクスのトラッキングと計測の設定、改善、監査が必要な場合に使用します。「トラッキングを設定したい」「GA4」「Google Analytics」「コンバージョントラッキング」「イベントトラッキング」「UTMパラメータ」「タグマネージャー」「GTM」「アナリティクスの実装」「トラッキング計画」などの話題にも使用します。A/Bテストの計測については、ab-test-setupを参照してください。

TypingMindでAnalytics Trackingを使うメリットは何ですか?

一度インストールすれば、どのモデルでも使えるからです。Analytics Trackingはプロバイダー固有のコードではなく、通常のMarkdownで記述されているため、同じスキルをGPT-5、Claude、Gemini、Grok、ローカルモデルで利用できます。チャットの途中でモデルを切り替えても、そのまま使い続けられます。TypingMindは自分のAPIキーで動作するため、シート単位のサブスクリプションではなく、プロバイダーに直接料金を支払います。スキルとチャットは自分のストレージに保持されます。

TypingMindにAnalytics Trackingをインストールするにはどうすればよいですか?

TypingMindで「プラグイン」→「スキル」→「GitHubからインストール」を開き、https://github.com/TerminalSkills/skills/tree/main/skills/analytics-trackingを貼り付けてください。TypingMindがSKILL.mdを読み込み、関連ファイルをまとめて、チャットごとに有効にできるスキルとしてインストールします。

Analytics Trackingを使えるAIモデルはどれですか?

TypingMindに接続したどのモデルでも利用できます。AIスキルはプロバイダー固有のコードではなく、通常のMarkdownで書かれた指示です。そのため、GPT、Claude、Gemini、Grok、ローカルモデルのいずれも、リクエストの内容がこのスキルの用途に合ったときに、このスキルを読み込めます。

Analytics Trackingで使えるAIモデルの数に制限はありますか?

数に制限はありません。スキルに対応したモデルであれば、GPT、Claude、Gemini、Grok、DeepSeek、Mistral、Llamaなど、どのモデルでもAnalytics Trackingを利用できます。すべてTypingMind上で、自分のAPIキーを使って利用できます。

AIスキル「Analytics Tracking」は無料ですか?

はい。TerminalSkillsがApache-2.0ライセンスのもとでGitHubに公開しています。ご利用のAIプロバイダーに支払うのは、使用したトークンの料金だけです。

AIスキルとは何ですか?

AIスキルは、特定のタスクの実行方法をAIモデルに教える、再利用可能な指示のセットです。オープンなAgent Skills形式に従い、名前と説明を含むSKILL.mdファイルに加え、モデルが必要とするスクリプト、テンプレート、参照ファイルで構成されます。モデルはリクエストがスキルに合致したときだけ指示を読み込むため、インストール済みのスキルも、使うまでは費用がかかりません。

AIスキルは、プラグインやMCPサーバーとどう違いますか?

プラグインやMCPサーバーは、モデルが呼び出せる新しいツールを提供します。ツールとは、どこかで実行され、結果を返すコードです。一方、AIスキルは、タスクへの取り組み方、従うべき手順、望ましい出力の例といった知識や進め方をモデルに伝えます。スキルは通常のMarkdownで記述されているため、サーバー、APIキー、実行環境は不要で、どのモデルでも利用できます。

すべて見る

今すぐ自分専用のAIワークスペースを作成

ニュースレターに登録すると、新機能や今後のプレゼント企画のお知らせが届きます👇