1p Tagging Pixels 标志

1p Tagging Pixels

组织
LeadMagic
1p-tagging-pixels

设置第一方跟踪与分析:涵盖网站像素、转化跟踪、UTM 架构、Cookie 同意、服务端与客户端标记、第一方与第三方数据策略,以及身份解析。用于设置跟踪、部署像素、构建归因体系,或为隐私优先的衡量做好准备。触发条件:"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 文件,因此只有在请求确实与该技能匹配时才会消耗 Token。

  • 兼容任何大语言模型

    AI 技能采用纯 Markdown,而非特定提供商的代码,因此可搭配 GPT、Claude、Gemini、Grok 或本地模型使用。

  • 3 个附带文件

    模型执行任务时可读取的脚本、模板和参考资料。这些文件为只读文件,绝不会被执行。

  • 开源

    由 LeadMagic 发布于 GitHub。请在安装前查看技能的源文件。

安装

在 TypingMind 中安装 1p Tagging Pixels AI 技能,即可搭配任意大语言模型使用;也可以将其放入其他支持读取 SKILL.md 的智能体中。

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

安装到其他智能体

任何支持 Agent Skills 格式的智能体都可以使用此技能,只需将文件夹复制到该智能体的技能目录中。

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,后续即可交由模型处理。技能的名称和描述会放在系统提示词中,一旦请求匹配,模型就会自动加载完整指令,无需您手动调用,且在实际使用前不会消耗 Token。

一旦请求与技能匹配,模型就会自动加载 1p Tagging Pixels。

兼容任何 AI 模型

AI 技能是纯 Markdown 指令,而非特定提供商的代码,因此 1p Tagging Pixels 不局限于最初适配的模型。只需在 TypingMind 中安装一次,即可搭配 GPT-5、Claude、Gemini、Grok、DeepSeek、Mistral、Llama 或您自行运行的本地模型使用,全程使用您自己的 API 密钥。

  • 仅在需要时加载

    系统提示词中仅包含技能名称和描述。首次遇到匹配的请求时才会加载完整指令,因此技能未使用时,这些指令不会消耗 Token。

  • 在聊天中切换模型

    技能是指令而非代码,因此切换模型不会导致技能失效,新模型会读取同一个 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

附带文件

技能加载后,模型会按需读取这些文件。它们仅作为可读文件提供,绝不会被执行。

常见问题

1p Tagging Pixels AI 技能有什么作用?

设置第一方跟踪与分析:涵盖网站像素、转化跟踪、UTM 架构、Cookie 同意、服务端与客户端标记、第一方与第三方数据策略,以及身份解析。用于设置跟踪、部署像素、构建归因体系,或为隐私优先的衡量做好准备。触发条件:"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,打包相关文件,并将其安装为技能,供您在各个聊天中按需启用。

哪些 AI 模型可以使用 1p Tagging Pixels?

您在 TypingMind 中连接的任何模型都可以。AI 技能采用纯 Markdown 指令,而非特定提供商专用的代码,因此 GPT、Claude、Gemini、Grok 和本地模型都能在请求匹配时加载此技能。

1p Tagging Pixels 可以搭配多少个 AI 模型使用?

数量不限。只要模型支持技能,您就可以将它与 1p Tagging Pixels 搭配使用。GPT、Claude、Gemini、Grok、DeepSeek、Mistral、Llama 等模型都可以通过您自己的 API 密钥接入 TypingMind。

1p Tagging Pixels AI 技能免费吗?

是的。LeadMagic 已在 GitHub 上根据 MIT 许可证发布了该技能。您只需向自己的 AI 提供商支付所用 Token 的费用。

什么是 AI 技能?

AI 技能是一组可复用的指令,用于教会 AI 模型完成某项特定任务。它遵循开放的 Agent Skills 格式:包含名称和描述的 SKILL.md 文件,以及模型可能需要的脚本、模板或参考文件。模型仅在您的请求与技能匹配时才会读取这些指令,因此已安装的技能在使用前不会产生任何费用。

AI 技能与插件或 MCP 服务器有何不同?

插件或 MCP 服务器为模型提供可调用的新工具,也就是在某处运行并返回结果的代码。AI 技能则为模型提供知识和流程:如何处理任务、遵循哪些步骤,以及怎样的输出才算优质。技能采用纯 Markdown 格式,因此不需要服务器、API 密钥或运行时环境,并且适用于任何模型。

查看全部

立即创建您自己的 AI 工作区

订阅我们的电子简报,获取新功能和后续赠奖活动的通知 👇