53 Tracking Setup Global 标志

53 Tracking Setup Global

社区
minhnv0807
53-tracking-setup-global

Use when conversion TRACKING must be set up or fixed before spending — Meta Pixel and Conversions API, Google Ads conversions with Enhanced Conversions, GA4, TikTok Pixel and Events API, server-side GTM, consent mode for GDPR and CCPA, UTM conventions, iOS ATT attribution windows, and a pre-launch verification checklist. Trigger on 'tracking setup', 'pixel setup', 'CAPI', 'GA4 events', 'conversions are not being recorded', 'Meta and Shopify numbers do not match'. Also use when launch is imminent and nothing has been verified. Not for — auditing a live account broadly, see `21-ads-audit-global`; analyzing data once it flows, see `13-data-analysis-global`; the campaign hierarchy, see `52-account-structure-global`.

概览

发布者minhnv0807
代码仓库ai-business-skills
技能名称53-tracking-setup-global
星标数
612
复刻数
228
附带文件
1
许可协议MIT
链接
  • Markdown 格式的指令

    模型按需加载 SKILL.md 文件,因此只有在请求确实与该技能匹配时才会消耗 Token。

  • 兼容任何大语言模型

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

  • 1 个附带文件

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

  • 开源

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

安装

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

1

安装到 TypingMind

TypingMind 可直接从 GitHub 文件夹安装技能:读取 SKILL.md,打包资源文件,并将结果保存在本地。

  1. 打开应用,前往“插件 → 技能”。
  2. 选择“从 GitHub 安装”。
  3. 粘贴下方的技能文件夹 URL 并确认。
    https://github.com/minhnv0807/ai-business-skills/tree/master/skills/en/53-tracking-setup-global
  4. 请在每个需要使用该技能的聊天中启用它。
依次选择“插件 → 技能 → 添加技能 → 从 GitHub URL 导入”,然后粘贴文件夹 URL 并点击“继续”。
2

安装到其他智能体

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

Claude Code — .claude/skills
git clone --depth 1 https://github.com/minhnv0807/ai-business-skills.git /tmp/ai-business-skills
mkdir -p .claude/skills
cp -r /tmp/ai-business-skills/skills/en/53-tracking-setup-global .claude/skills/53-tracking-setup-global
复制后,请重启 Claude Code,以加载新技能。

在 TypingMind 中使用此技能

在任意 TypingMind 聊天中启用 53 Tracking Setup Global,后续即可交由模型处理。技能的名称和描述会放在系统提示词中,一旦请求匹配,模型就会自动加载完整指令,无需您手动调用,且在实际使用前不会消耗 Token。

一旦请求与技能匹配,模型就会自动加载 53 Tracking Setup Global。

兼容任何 AI 模型

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

  • 仅在需要时加载

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

  • 在聊天中切换模型

    技能是指令而非代码,因此切换模型不会导致技能失效,新模型会读取同一个 SKILL.md。

技能指令

这是模型会加载的 SKILL.md 内容。请在安装前阅读,因为技能就是模型将遵循的指令。

Tracking Setup (Global)

Ads without verified tracking is driving blind. Hard rule: do not launch ads until tracking verifies green. Every dollar spent before verification is unmeasurable. Set it up correctly the first time — changing events mid-campaign destroys historical comparability.

Full per-platform install steps and the consent mode parameter reference: read references/platform-tracking-setup.md.

Information gathering

Ask up to 4 questions:

  1. Which ad platforms and objective? Meta / Google / TikTok / LinkedIn / YouTube — lead (form or message) / purchase / traffic?
  2. What runs the website or landing page? Shopify / WordPress / Webflow / Framer / custom — and is there access to edit the head tag or install GTM?
  3. Which markets receive traffic? This decides the consent requirements: EU/UK means GDPR and ePrivacy, California means CCPA/CPRA, other US states have their own opt-out laws.
  4. Where does the sale actually close? On site (pixel-measurable) or offline via sales calls, demos, or DMs (needs CRM/offline conversion import)?

Principles

  1. No green, no launch. Verification comes before spend, every time.
  2. Consent is part of tracking, not a legal afterthought. In the EU/UK, tags must not fire before consent. Getting this wrong risks fines and, on Google, loss of remarketing audiences.
  3. One installation method only. GTM plus hardcoded tags equals duplicate events and doubled phantom conversions.
  4. Client-side plus server-side, deduplicated. Browser-only tracking loses a large share of events to ad blockers, ITP, and iOS ATT. Send the same event from both sides with a shared event ID.
  5. Consistent UTMs. Define the convention once, before anyone builds a link. GA4 cannot repair inconsistent casing or naming after the fact.
  6. Measure to revenue, not to lead. If 1,000 leads produce 10 sales, you must be able to tell whether the failure is in ads or in sales. That requires CRM or offline conversion import.
  7. Expect platform numbers to disagree. Ads managers use different attribution windows and modeled conversions. Pick one source of truth for decisions and use the others as directional.

Workflow

1. Choose the measurement architecture

LayerPurposeMinimum
Client-side pixel/tagFast setup, on-page eventsMeta Pixel, Google tag, TikTok Pixel
Server-side APIRecovers events lost to blockers and ITPMeta Conversions API, TikTok Events API, Google Enhanced Conversions
AnalyticsCross-channel truth, funnel analysisGA4 with key events configured
Consent layerLegal gate in front of everything aboveCMP plus Google consent mode v2
CRM / offlineConnects leads to actual revenueCRM with source fields, offline conversion import

Server-side GTM is the recommended container for anything beyond a simple store: it centralizes event forwarding, improves data quality, and keeps first-party cookie lifetimes usable under ITP.

2. Consent management (do this before any tag fires)

This is a first-class requirement, not an optional extra.

EU / UK — GDPR and ePrivacy:

  • Install a certified consent management platform. Meta requires a CMP for EU traffic; Google requires a Google-certified CMP for EEA/UK traffic to keep personalized advertising and audience features.
  • Implement Google consent mode v2. The four signals are ad_storage, analytics_storage, ad_user_data, ad_personalization. Default them to denied for EEA/UK before the banner is answered, then update on consent.
  • Non-essential tags must not fire before consent is granted. Consent must be as easy to refuse as to accept, and withdrawable.
  • Keep a consent log — which user, which choice, when, which policy version.

California — CCPA/CPRA (and comparable US state laws):

  • Provide a visible opt-out of sale/sharing of personal information.
  • Honor the Global Privacy Control browser signal as a valid opt-out.
  • On Meta, apply Limited Data Use for California traffic.

Email and SMS: CAN-SPAM in the US and GDPR in the EU require documented opt-in for marketing sends and a working unsubscribe. Any list uploaded as a Custom Audience or Customer Match list must have that consent on record — see 14-email-marketing-global.

Record the decision in the output file: which CMP, which regions gated, who verified.

3. Install per platform

Full step-by-step checklists live in references/platform-tracking-setup.md. Summary of what must exist:

PlatformClient-sideServer-sideVerification tool
MetaPixel with standard events (PageView, ViewContent, AddToCart, Lead, Purchase)Conversions API with event_id deduplication, Event Match Quality >= 6.0Meta Pixel Helper, Test Events
Google AdsGoogle tag / GTM conversion actionsEnhanced Conversions (hashed email/phone), consent mode v2Tag Assistant, conversion diagnostics
GA4GA4 tag, key events marked as conversionsMeasurement Protocol or server-side GTMGA4 DebugView, Realtime
TikTokTikTok Pixel (ViewContent, AddToCart, SubmitForm, CompletePayment)Events API with deduplicationTikTok Pixel Helper, Events diagnostics
LinkedInInsight Tag with conversion rulesConversions API for CRM-side eventsLinkedIn Insight Tag Helper

Only one primary conversion action per objective should be enabled for bidding. Extra enabled conversions inflate counts and confuse smart bidding.

4. iOS ATT and attribution windows

Since iOS 14.5, a large share of iOS users opt out of app tracking, so platform-reported conversions are partly modeled rather than observed.

  • Meta's post-ATT default is a 7-day click / 1-day view attribution window. Compare periods on the same window or the trend is meaningless.
  • Verify the domain and configure Aggregated Event Measurement with a prioritized list of up to 8 web events per domain. The event you optimize for must be ranked highest.
  • Expect ads manager conversions and GA4 last-click conversions to differ, often materially. Decide up front which one drives budget decisions.
  • Server-side events plus Enhanced Conversions and good Event Match Quality recover a meaningful share of the loss. This is the main reason server-side is no longer optional.
  • Third-party cookie deprecation compounds this. Prioritize first-party data collection — email capture, account creation, CRM — over pixel-only audience building.

5. UTM convention

https://domain.com/lp?utm_source=[source]&utm_medium=[medium]&utm_campaign=[campaign]&utm_content=[ad_name]
ParameterConventionExample
utm_sourcemeta / google / tiktok / linkedin / klaviyometa
utm_mediumpaid_social / paid_search / display / email / organicpaid_social
utm_campaign[product]_[audience]_[market]_[MMYY]course-a_cold_us_0726
utm_content[creative-type]_[hook-type]_[version] — matches the ad namevid_pain_v1

Lowercase, no spaces, no special characters. utm_content must equal the ad name defined in 52-account-structure-global so ads manager and GA4 reconcile in both directions. Add utm_term only for search keywords.

6. GA4 event mapping

GA4 eventTriggerPlatform equivalent
page_viewAll pagesPageView (Meta), ViewContent (TikTok)
view_itemProduct or offer pageViewContent (Meta)
add_to_cartCart addAddToCart (Meta/TikTok)
begin_checkoutCheckout startedInitiateCheckout (Meta)
generate_leadForm submit or qualified messageLead (Meta), SubmitForm (TikTok), Conversion (Google)
purchasePayment confirmed, with value and currencyPurchase (Meta/TikTok/Google)

Each action fires exactly one event. Mark the event that matches the ads objective as a key event in GA4. Always send value and currency on purchase — without them ROAS cannot be computed and multi-market revenue cannot be normalized.

7. CRM and offline conversions

Required whenever the sale closes off-site (B2B, high-ticket, coaching, agency, phone or DM sales):

  1. Capture source on every lead. CRM fields: source, medium, campaign, ad content, GCLID or fbclid, timestamp, owner, stage, disqualification reason, closed revenue.
  2. Import offline conversions weekly. Meta offline/CAPI conversions and Google Ads offline conversion import via GCLID or Enhanced Conversions for Leads. This teaches bidding from real revenue instead of raw lead count.
  3. Reconcile monthly. Compare CRM lead count against ads manager lead count. A gap above 20% signals a tracking or attribution problem, not a sales problem.

Uploaded CRM data must be hashed and covered by consent.

8. Verify green before launch

All must pass. One missing item means do not launch:

  • Pixel/tag fires on landing page and confirmation page
  • Correct conversion event type selected — not PageView
  • No duplicate events (one action, one event in the events manager)
  • Server-side API live, deduplication working, Meta EMQ >= 6.0
  • Google Enhanced Conversions enabled and receiving hashed data
  • Consent mode v2 implemented; tags blocked before consent in EEA/UK; Limited Data Use applied for California
  • Test event: complete one real conversion and confirm it is recorded
  • Domain verified and Aggregated Event Measurement events prioritized
  • UTMs on all ad links and matching the convention
  • GA4 receiving paid sessions (confirm in Realtime)
  • CRM source capture live if the sale closes off-site

9. Ongoing checks

Daily (2 minutes): events flowing in the last 24 hours on every platform; Google Ads conversions recording; GA4 showing paid sessions.

Weekly: server-side match rate above 70%; no duplicate events; lead counts across ads manager, GA4, and CRM within 20% of each other; every live link carries a correct UTM; consent banner still firing correctly after any site release.

Troubleshooting

ProblemCommon causeFix
Pixel does not fireTag missing on the page or blocked by consent gateCheck GTM preview and the consent state; confirm the tag is allowed after consent
Duplicate eventsGTM and hardcoded tag both installedRemove one; verify event_id deduplication
Low match rate / low EMQNo hashed email or phone sent server-sideAdd customer parameters to the server payload
Conversion not recordedWrong event name or wrong trigger pageCheck spelling and that the trigger is the confirmation page
GA4 far below ads managerDifferent attribution windows plus modeled conversionsCompare on the same window; treat one source as decision-grade
Remarketing audiences shrinking in the EUConsent mode v2 missing or misconfiguredImplement all four consent signals and a certified CMP
Leads arrive with no sourceNo CRM source captureAdd hidden UTM/click-ID fields to every form

Output structure

File name: tracking-setup-[product]-[YYYYMMDD].md

markdown
# Tracking Setup — [Product/Campaign]
Platforms: [list] · Site platform: [x] · Markets: [x] · Objective: [Lead/Purchase]

## 1. Measurement architecture   [client, server, analytics, consent, CRM]
## 2. Consent plan               [CMP, regions gated, consent mode v2, LDU, log owner]
## 3. Platform setup status      [table with status per item]
## 4. Attribution settings       [window per platform, AEM priority list]
## 5. UTM convention             [parameters and real project examples]
## 6. Event mapping              [GA4 to platform events]
## 7. CRM / offline conversions  [fields captured, import cadence]
## 8. Pre-launch verification    [green checklist, verified by, date]
## 9. Ongoing check schedule     [who, when, alert thresholds]

Related skills

  • 52-account-structure-global: build campaigns only after tracking is green; utm_content must match ad names.
  • 54-media-plan-global: the objective in the plan determines which events must be tracked.
  • 21-ads-audit-global: periodic tracking audit (match rate, duplicates, EMQ).
  • 12-landing-page-brief-global: the landing page must expose the events and form fields this setup needs.
  • 13-data-analysis-global: reads the clean data this system produces.

Quality checklist

  • Setup checklist complete for every platform in the plan
  • Consent plan explicit: CMP, consent mode v2 signals, regions, California opt-out, consent log
  • Server-side layer live with deduplication and a documented match rate
  • Attribution window stated per platform, with an agreed decision-grade source
  • UTM convention documented with real examples and matching ad names
  • Event mapping complete from page_view to purchase, with value and currency
  • Offline or CRM conversion path exists if the sale closes off-site
  • Green verification checklist completed, dated, and signed off by a named person
  • Daily and weekly checks scheduled with alert thresholds (match rate >70%, source gap <20%)
  • The hard rule is restated in the output: not green means do not launch

附带文件

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

常见问题

53 Tracking Setup Global AI 技能有什么作用?

Use when conversion TRACKING must be set up or fixed before spending — Meta Pixel and Conversions API, Google Ads conversions with Enhanced Conversions, GA4, TikTok Pixel and Events API, server-side GTM, consent mode for GDPR and CCPA, UTM conventions, iOS ATT attribution windows, and a pre-launch verification checklist. Trigger on 'tracking setup', 'pixel setup', 'CAPI', 'GA4 events', 'conversions are not being recorded', 'Meta and Shopify numbers do not match'. Also use when launch is imminent and nothing has been verified. Not for — auditing a live account broadly, see `21-ads-audit-glob...

为什么在 TypingMind 中使用 53 Tracking Setup Global?

因为您只需安装一次,就能搭配任何模型使用。53 Tracking Setup Global 采用纯 Markdown 格式,而非特定提供商专用的代码,因此同一技能可用于 GPT-5、Claude、Gemini、Grok 或本地模型。您甚至可以在聊天中途切换模型,而不会影响技能的正常使用。TypingMind 使用您自己的 API 密钥,因此您直接向提供商付费,而不是按席位订阅;您的技能和聊天记录也都保留在您自己的存储空间中。

如何在 TypingMind 中安装 53 Tracking Setup Global?

在 TypingMind 中打开“插件 → 技能 → 从 GitHub 安装”,然后粘贴 https://github.com/minhnv0807/ai-business-skills/tree/master/skills/en/53-tracking-setup-global。TypingMind 会读取其中的 SKILL.md,打包相关文件,并将其安装为技能,供您在各个聊天中按需启用。

哪些 AI 模型可以使用 53 Tracking Setup Global?

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

53 Tracking Setup Global 可以搭配多少个 AI 模型使用?

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

53 Tracking Setup Global AI 技能免费吗?

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

什么是 AI 技能?

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

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

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

查看全部

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

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