Best for
- 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 fo…
minhnv0807/ai-business-skills/skills/en/53-tracking-setup-global/SKILL.md
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
Decision brief
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.
Compatibility matrix
| Platform | Status | Evidence | What to check |
|---|---|---|---|
| Codex | Not declared | No explicit evidence | Portability before use |
| Claude Code | Not declared | No explicit evidence | Portability before use |
| Cursor | Not declared | No explicit evidence | Portability before use |
| Gemini CLI | Not declared | No explicit evidence | Portability before use |
Installation
The source command is displayed only when detected. A safe inspection prompt is always available so your agent can explain every action before execution.
npx skills add https://github.com/minhnv0807/ai-business-skills --skill "skills/en/53-tracking-setup-global"Inspect the Agent Skill "53-tracking-setup-global" from https://github.com/minhnv0807/ai-business-skills/blob/958bd43b03afbc5afc42dfdb3fb2c087b23309e4/skills/en/53-tracking-setup-global/SKILL.md at commit 958bd43b03afbc5afc42dfdb3fb2c087b23309e4. List every install step, command, network request, credential, file read/write, external action, and rollback step. Explain whether it fits my task. Do not install or execute anything until I approve.
Workflow
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.
Platforms: [list] · Site platform: [x] · Markets: [x] · Objective: [Lead/Purchase]
Review the “3. Platform setup status [table with status per item]” section in the pinned source before continuing.
Review the “8. Pre-launch verification [green checklist, verified by, date]” section in the pinned source before continuing.
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.…
Permission review
The documentation includes network, browsing, or remote request actions.
https://domain.com/lp?utm_source=[source]&utm_medium=[medium]&utm_campaign=[campaign]&utm_content=[ad_name]Evidence record
| Signal | Value | Evidence type | Meaning |
|---|---|---|---|
| Quality score | 90/100 | Computed | Documentation, specificity, maintenance, and trust rules |
| Repository stars | 553 | Source | Repository attention, not individual Skill quality |
| Compatibility | 0 platforms | Source | Declared in the catalog source record |
| Usage guide | automated source guide | Editorial | Generated or reviewed according to the visible evidence level |
Pinned source
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.
Ask up to 4 questions:
| Layer | Purpose | Minimum |
|---|---|---|
| Client-side pixel/tag | Fast setup, on-page events | Meta Pixel, Google tag, TikTok Pixel |
| Server-side API | Recovers events lost to blockers and ITP | Meta Conversions API, TikTok Events API, Google Enhanced Conversions |
| Analytics | Cross-channel truth, funnel analysis | GA4 with key events configured |
| Consent layer | Legal gate in front of everything above | CMP plus Google consent mode v2 |
| CRM / offline | Connects leads to actual revenue | CRM 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.
This is a first-class requirement, not an optional extra.
EU / UK — GDPR and ePrivacy:
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.California — CCPA/CPRA (and comparable US state laws):
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.
Full step-by-step checklists live in references/platform-tracking-setup.md. Summary of what must exist:
| Platform | Client-side | Server-side | Verification tool |
|---|---|---|---|
| Meta | Pixel with standard events (PageView, ViewContent, AddToCart, Lead, Purchase) | Conversions API with event_id deduplication, Event Match Quality >= 6.0 | Meta Pixel Helper, Test Events |
| Google Ads | Google tag / GTM conversion actions | Enhanced Conversions (hashed email/phone), consent mode v2 | Tag Assistant, conversion diagnostics |
| GA4 | GA4 tag, key events marked as conversions | Measurement Protocol or server-side GTM | GA4 DebugView, Realtime |
| TikTok | TikTok Pixel (ViewContent, AddToCart, SubmitForm, CompletePayment) | Events API with deduplication | TikTok Pixel Helper, Events diagnostics |
| Insight Tag with conversion rules | Conversions API for CRM-side events | LinkedIn Insight Tag Helper |
Only one primary conversion action per objective should be enabled for bidding. Extra enabled conversions inflate counts and confuse smart bidding.
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.
https://domain.com/lp?utm_source=[source]&utm_medium=[medium]&utm_campaign=[campaign]&utm_content=[ad_name]
| Parameter | Convention | Example |
|---|---|---|
| utm_source | meta / google / tiktok / linkedin / klaviyo | meta |
| utm_medium | paid_social / paid_search / display / email / organic | paid_social |
| utm_campaign | [product]_[audience]_[market]_[MMYY] | course-a_cold_us_0726 |
| utm_content | [creative-type]_[hook-type]_[version] — matches the ad name | vid_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.
| GA4 event | Trigger | Platform equivalent |
|---|---|---|
| page_view | All pages | PageView (Meta), ViewContent (TikTok) |
| view_item | Product or offer page | ViewContent (Meta) |
| add_to_cart | Cart add | AddToCart (Meta/TikTok) |
| begin_checkout | Checkout started | InitiateCheckout (Meta) |
| generate_lead | Form submit or qualified message | Lead (Meta), SubmitForm (TikTok), Conversion (Google) |
| purchase | Payment confirmed, with value and currency | Purchase (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.
Required whenever the sale closes off-site (B2B, high-ticket, coaching, agency, phone or DM sales):
Uploaded CRM data must be hashed and covered by consent.
All must pass. One missing item means do not launch:
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.
| Problem | Common cause | Fix |
|---|---|---|
| Pixel does not fire | Tag missing on the page or blocked by consent gate | Check GTM preview and the consent state; confirm the tag is allowed after consent |
| Duplicate events | GTM and hardcoded tag both installed | Remove one; verify event_id deduplication |
| Low match rate / low EMQ | No hashed email or phone sent server-side | Add customer parameters to the server payload |
| Conversion not recorded | Wrong event name or wrong trigger page | Check spelling and that the trigger is the confirmation page |
| GA4 far below ads manager | Different attribution windows plus modeled conversions | Compare on the same window; treat one source as decision-grade |
| Remarketing audiences shrinking in the EU | Consent mode v2 missing or misconfigured | Implement all four consent signals and a certified CMP |
| Leads arrive with no source | No CRM source capture | Add hidden UTM/click-ID fields to every form |
File name: tracking-setup-[product]-[YYYYMMDD].md
# 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]
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.Frequently asked questions
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.
The source record exposes this install command: npx skills add https://github.com/minhnv0807/ai-business-skills --skill "skills/en/53-tracking-setup-global". Inspect the command and pinned source before running it.
Static rules flagged network in the source; the page lists the matching lines and excerpts.
Alternatives
indranilbanerjee/digital-marketing-pro
Inventory and score everything currently running for a brand across paid search, paid social, email, organic, SEO, AEO/GEO, CRM, and analytics — produces a dated audit document with a 4-tier triage (healthy / quick win / strategic gap / red flag), a quick-wins backlog, and a compliance posture section. Strictly read-only: it never pauses, edits, or launches anything. Triggers on "/digital-marketing-pro:campaign-audit", "what's currently running for this brand", "audit our existing campaigns", "w
nexscope-ai/eCommerce-Skills
Comprehensive Shopify marketing strategy and execution. SEO optimization, email marketing automation, paid advertising management, conversion rate optimization, and customer retention strategies specifically for DTC Shopify brands. Use when the user asks about Shopify marketing, DTC marketing, Shopify SEO, or Shopify store growth.
K-Dense-AI/scientific-agent-skills
Distributed computing for larger-than-RAM pandas/NumPy workflows. Use when you need to scale existing pandas/NumPy code beyond memory or across clusters. Best for parallel file processing, distributed ML, integration with existing pandas code. For out-of-core analytics on single machine use vaex; for in-memory speed use polars.
JasonColapietro/suede-creator-skills
Suede-owned Instagram growth operating system for account-specific audits, Reels, carousels, Stories, conversion mapping, calendars, and daily candidate-production loops. Use when the user names Instagram, IG, Reels, Stories, asks to analyze recent posts, grow a handle, run a daily workflow, create or repurpose Instagram content, or distinguish views from follows, leads, and sales. NOT FOR: multi-platform organic strategy (use suede-social), full video rendering or editing (use suede-video), pai