1p Tagging Pixelsのロゴ

1p Tagging Pixels

組織
LeadMagic
1p-tagging-pixels

ファーストパーティのトラッキングと分析を設定します。ウェブサイトのピクセル、コンバージョントラッキング、UTM設計、Cookieへの同意、サーバーサイドとクライアントサイドのタグ付け、1Pと3Pのデータ戦略、ID解決を扱います。トラッキングの設定、ピクセルの実装、アトリビューションの構築、プライバシーを重視した測定の準備を行う場合に使用します。次の語句、またはトラッキング実装に関する依頼がトリガーになります:「pixel」「tracking」「conversion tracking」「first-party data」「server-side tagging」「UTM」「cookie consent」「1P vs 3P」「identity resolution」。

Add to TypingMind

概要

公開者LeadMagic
リポジトリgtm-skills
スキル名1p-tagging-pixels
スター
72
フォーク
18
同梱ファイル
3
ライセンスMIT
リンク
  • Markdown形式の指示

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

  • どのLLMでも利用可能

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

  • 3個の同梱ファイル

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

  • オープンソース

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

インストール

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

1

TypingMindにインストール

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

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

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

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

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

TypingMindで使用

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

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

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

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

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

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

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

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

スキルの指示

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

1P Tagging & Analytics

Overview

Third-party cookies are dead. Apple ITP, Firefox ETP, and Chrome's phase-out have made browser-based tracking unreliable. The future is first-party data and server-side measurement — data your customers intentionally share with you that survives ad blockers, cookie restrictions, and platform changes.

This skill covers the complete measurement stack: 1P vs 3P strategy, pixel implementation, UTM architecture, server-side tagging, consent management, and identity resolution. The output is a privacy-resilient analytics infrastructure that works when cookies don't.

Authoritative Foundations

  • Google Tag Manager — Server-side tagging — Route tags through a first-party server container so conversion data survives browser restrictions and you control exactly what leaves your domain.
  • Meta Conversions API — Send server events alongside the pixel with a shared event_id so Meta deduplicates them and recovers conversions lost to browser blocking.
  • Google Ads — Enhanced conversions — Hash first-party customer data (SHA-256) at conversion time to raise match rates without third-party cookies.
  • Google Consent Mode v2 — Gate tag behavior on the visitor's consent state; required for EEA traffic to keep measurement and remarketing eligible.

When to Use

  • "Set up conversion tracking"
  • "1P vs 3P data strategy"
  • "Install pixels (LinkedIn, Meta, Google, TikTok)"
  • "Build UTM architecture"
  • "Set up server-side GTM"
  • "Implement first-party tracking"
  • "Fix attribution gaps"
  • "Set up cookie consent"
  • "Identity resolution setup"

1P vs 3P Data Strategy

First-Party Data (1P)

Data you collect directly from your customers — they know they're sharing it. Examples: email signups, form fills, product usage, purchase history, support tickets, survey responses, account registration.

Advantages: Privacy-compliant by default. Survives browser changes. Higher data quality. You own it. No intermediary. Can be enriched with identity resolution.

Disadvantages: Requires customer action (signup, login, form fill). Smaller volume than 3P. Needs infrastructure to collect, store, and activate.

Third-Party Data (3P)

Data collected by entities that don't have a direct relationship with the user. Examples: browser cookies, ad network tracking, data brokers, device graphs, cross-site tracking.

Advantages: Large scale. Doesn't require user action. Useful for prospecting and lookalike audiences. Historical data for benchmarking.

Disadvantages: Dying. Browser restrictions block 30-40% of 3P tracking. Regulatory pressure (GDPR, CCPA). Lower data quality. You don't own it. Expensive (data broker fees).

The Transition

Now: Run both 1P and 3P in parallel. 3P for scale, 1P for accuracy. Next 12 months: Shift budget from 3P data to 1P infrastructure. End state: 1P is the foundation. 3P is supplementary where still available.

1P Data Activation

Collect → Enrich → Activate:

  1. Collect: Form fills, signups, logins, product usage, email engagement, survey responses, support interactions.
  2. Enrich: Identity resolution (match email to company, role, firmographics). Behavioral scoring. Predictive modeling.
  3. Activate: Personalization (website, email, product), ad targeting (customer match, retargeting), sales prioritization, content recommendations, churn prediction.

Step-by-Step Process

Phase 1: Pixel Inventory

Install these four pixels on every page:

LinkedIn Insight Tag: Base code in <head>, event tracking on conversions. Identifies company visitors for ABM retargeting even without form fills.

Meta Pixel (Facebook): Base code + conversion events. Required for Meta ads optimization, retargeting, and lookalike audience building.

Google Ads Conversion Tag: Via Google Tag Manager or gtag.js. Tracks ad-driven conversions for bidding optimization.

TikTok Pixel: Base code + events. Required for TikTok ads optimization.

Plus: Google Analytics 4 (GA4) — your analytics foundation. Event-based model (not pageview-based). Free, unlimited for most use cases.

Phase 2: UTM Architecture

Standardize UTM parameters across all campaigns:

ParameterPurposeExample
utm_sourceTraffic originlinkedin, google, meta, email, direct
utm_mediumChannel typecpc, organic, email, social, referral
utm_campaignSpecific campaignproduct_demo_q1, webinar_feb
utm_contentAd/creative variantvariant_a, video_testimonial
utm_termKeyword (search only)cold+email+software

Enforcement: Single source of truth spreadsheet. Consistent naming. Never mix linkedin and LinkedIn and li. Pre-built UTM templates for common campaign types.

Phase 3: Server-Side Tagging

Move from browser tags to server-side dispatch:

Benefits:

  • Supports controlled event dispatch for permitted measurement; honor consent choices, opt-outs, and browser privacy controls.
  • Improves page speed (fewer browser scripts).
  • Data control (filter, enrich, or suppress data before it leaves your server).
  • Data minimization controls; server-side collection does not itself establish legal compliance.

Setup: Google Tag Manager Server-Side (free, Google-hosted or self-hosted), Segment Protocols, or custom server endpoint. One server-side container receives events, dispatches to all platforms.

Architecture:

Website/App → Server-Side GTM → LinkedIn Conversion API
                              → Meta Conversions API
                              → Google Ads Offline Conversions
                              → TikTok Events API
                              → Your Data Warehouse

Phase 4: Consent Management

GDPR (EU): explicit opt-in before tracking. CCPA (California): right to opt-out. Growing state laws.

Implementation: Consent Management Platform (Cookiebot, OneTrust, Termly). Load tracking scripts only after consent. Block all cookies and pixels until user accepts. Document data flows for compliance.

Consent banner best practices: Clear "Accept All" / "Customize" options. Don't make rejecting harder than accepting. Don't use dark patterns.

Phase 5: Identity Resolution

Connect anonymous visitors to known contacts:

  • Reverse-IP lookup: Identify companies visiting your site (even without form fills). Tools: Clearbit Reveal / HubSpot Breeze, 6sense, Demandbase, Leadfeeder, Albacross. Person-level deanonymization (RB2B, Warmly) is higher privacy risk — load website-visitor-identification before deploying. Canonical playbook: website-visitor-identification/references/visitor-identification-playbook.md.
  • First-party cookie matching: Match returning visitors to previous sessions. Survives 3P cookie restrictions.
  • Email-based identity: The strongest identifier. Every form fill, login, and email click links to a known identity.
  • Cross-device graph: Link same user across phone, laptop, tablet via login events.

Use identity resolution for: ABM retargeting, sales alerts on target account visits, content personalization, pipeline attribution.

Output Format

Measurement plan with: 1P vs 3P strategy, pixel inventory, UTM taxonomy, server-side architecture diagram, consent implementation, identity resolution setup, and conversion event map.

Quality Check

  • All four major pixels installed (LinkedIn, Meta, Google, TikTok)
  • GA4 configured with conversion events
  • UTM taxonomy documented and enforced
  • Server-side tagging implemented (or roadmap with timeline)
  • Consent management active for EU traffic
  • Identity resolution configured for ABM accounts
  • Conversion event map: every meaningful action tracked

Common Pitfalls

  1. Client-side only. 30-40% of browser events are lost to ad blockers. Server-side captures 100%. Implement server-side tagging before scaling ad spend.

  2. No UTM standardization. "linkedin", "LinkedIn", "li", "lnkd" are four different sources in analytics. One naming convention, enforced.

  3. Tracking without consent. GDPR fines up to 4% of global revenue. Implement consent before tracking EU visitors.

  4. Pixel duplication. Same pixel fired twice = double-counted conversions. Audit quarterly with browser dev tools.

  5. 3P dependency without 1P transition. 3P data is dying. 1P data is the future. Run both now, actively build 1P infrastructure.

Execution Artifacts

  • references/framework-notes.md — named frameworks, citation anchors, and operating assumptions
  • templates/output-template.md — copy-paste deliverable structure for the user
  • scripts/check-output.py — local checklist validator for required sections This skill includes lightweight artifacts the agent can load on demand: Use the artifacts when the user asks for an implementation-ready deliverable, a repeatable workflow, or a quality check rather than generic advice.

Related Skills

  • website-visitor-identification: Company vs person ID, vendors, privacy checklist
  • attribution: Multi-touch attribution models
  • paid-advertising: Campaign tracking setup
  • proactive-alerts: Trigger alerts on tracked events
  • marketing-strategy: Overall measurement framework
  • campaign-governance: UTM + visitor source attribution

同梱ファイル

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

よくある質問

AIスキル「1p Tagging Pixels」では何ができますか?

ファーストパーティのトラッキングと分析を設定します。ウェブサイトのピクセル、コンバージョントラッキング、UTM設計、Cookieへの同意、サーバーサイドとクライアントサイドのタグ付け、1Pと3Pのデータ戦略、ID解決を扱います。トラッキングの設定、ピクセルの実装、アトリビューションの構築、プライバシーを重視した測定の準備を行う場合に使用します。次の語句、またはトラッキング実装に関する依頼がトリガーになります:「pixel」「tracking」「conversion tracking」「first-party data」「server-side tagging」「UTM」「cookie consent」「1P vs 3P」「identity resolution」。

TypingMindで1p Tagging Pixelsを使うメリットは何ですか?

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

TypingMindに1p Tagging Pixelsをインストールするにはどうすればよいですか?

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

1p Tagging Pixelsを使えるAIモデルはどれですか?

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

1p Tagging Pixelsで使えるAIモデルの数に制限はありますか?

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

AIスキル「1p Tagging Pixels」は無料ですか?

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

AIスキルとは何ですか?

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

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

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

すべて見る

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

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