Conversion Tracking Setup

53 tracking setup global

by minhnv0807 · MIT license · ★ 599 on GitHub

53 tracking setup global cover

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,…

---
name: 53-tracking-setup-global
description: "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`."
metadata:
  version: 1.0.1
  category: performance
license: MIT
triggers:
  - "tracking setup"
  - "pixel setup"
  - "conversions API"
  - "CAPI"
  - "GA4 setup"
  - "server-side tracking"
  - "consent mode"
  - "UTM convention"
  - "conversion tracking not working"
output: "File .md — tracking setup checklist per platform, consent plan, UTM template, event mapping, CRM/offline conversion plan, pre-launch verification checklist, and a troubleshooting table"

Overview

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.

Manual install (npx, ZIP)
Claude Codenpx skills add minhnv0807/ai-business-skills --skill 53-tracking-setup-global -g -a claude-code
Claude Code (degit)npx degit minhnv0807/ai-business-skills/skills/en/53-tracking-setup-global#master ~/.claude/skills/53-tracking-setup-global
Claude.ai / desktopZip the folder and upload it under Settings → Capabilities → Skills.
Codex, Cursor, other agentsPoint them at SKILL.md. The other files are plain text.

Connects with Agent Alley MCP · agentalley.io/mcp

Files included

  • SKILL.md14.4 KB
Read SKILL.md here
minhnv0807/master1 file shown
SKILL.md
Show the full text221 lines

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
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:

  • 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:

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
LinkedIn 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.

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]
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.

6. GA4 event mapping
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.

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

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

Output structure

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.

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
1---
2name: 53-tracking-setup-global
3description: "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`."
4metadata:
5 version: 1.0.1
6 category: performance
7license: MIT
8triggers:
9 - "tracking setup"
10 - "pixel setup"
11 - "conversions API"
12 - "CAPI"
13 - "GA4 setup"
14 - "server-side tracking"
15 - "consent mode"
16 - "UTM convention"
17 - "conversion tracking not working"
18output: "File .md — tracking setup checklist per platform, consent plan, UTM template, event mapping, CRM/offline conversion plan, pre-launch verification checklist, and a troubleshooting table"
19related:
20 - product-marketing-context-global
21 - 52-account-structure-global
22 - 54-media-plan-global
23 - 21-ads-audit-global
24 - 12-landing-page-brief-global
25 - 13-data-analysis-global
26---
27 
28# Tracking Setup (Global)
29 
30Ads 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.
31 
32> Full per-platform install steps and the consent mode parameter reference: read `references/platform-tracking-setup.md`.
33 
34## Information gathering
35 
36Ask up to 4 questions:
37 
381. **Which ad platforms and objective?** Meta / Google / TikTok / LinkedIn / YouTube — lead (form or message) / purchase / traffic?
392. **What runs the website or landing page?** Shopify / WordPress / Webflow / Framer / custom — and is there access to edit the head tag or install GTM?
403. **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.
414. **Where does the sale actually close?** On site (pixel-measurable) or offline via sales calls, demos, or DMs (needs CRM/offline conversion import)?
42 
43## Principles
44 
451. **No green, no launch.** Verification comes before spend, every time.
462. **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.
473. **One installation method only.** GTM plus hardcoded tags equals duplicate events and doubled phantom conversions.
484. **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.
495. **Consistent UTMs.** Define the convention once, before anyone builds a link. GA4 cannot repair inconsistent casing or naming after the fact.
506. **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.
517. **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.
52 
53## Workflow
54 
55### 1. Choose the measurement architecture
56 
57| Layer | Purpose | Minimum |
58|-------|---------|---------|
59| Client-side pixel/tag | Fast setup, on-page events | Meta Pixel, Google tag, TikTok Pixel |
60| Server-side API | Recovers events lost to blockers and ITP | Meta Conversions API, TikTok Events API, Google Enhanced Conversions |
61| Analytics | Cross-channel truth, funnel analysis | GA4 with key events configured |
62| Consent layer | Legal gate in front of everything above | CMP plus Google consent mode v2 |
63| CRM / offline | Connects leads to actual revenue | CRM with source fields, offline conversion import |
64 
65Server-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.
66 
67### 2. Consent management (do this before any tag fires)
68 
69This is a first-class requirement, not an optional extra.
70 
71**EU / UK — GDPR and ePrivacy:**
72- 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.
73- 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.
74- Non-essential tags must not fire before consent is granted. Consent must be as easy to refuse as to accept, and withdrawable.
75- Keep a consent log — which user, which choice, when, which policy version.
76 
77**California — CCPA/CPRA (and comparable US state laws):**
78- Provide a visible opt-out of sale/sharing of personal information.
79- Honor the Global Privacy Control browser signal as a valid opt-out.
80- On Meta, apply **Limited Data Use** for California traffic.
81 
82**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`.
83 
84Record the decision in the output file: which CMP, which regions gated, who verified.
85 
86### 3. Install per platform
87 
88Full step-by-step checklists live in `references/platform-tracking-setup.md`. Summary of what must exist:
89 
90| Platform | Client-side | Server-side | Verification tool |
91|----------|-------------|-------------|-------------------|
92| 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 |
93| Google Ads | Google tag / GTM conversion actions | Enhanced Conversions (hashed email/phone), consent mode v2 | Tag Assistant, conversion diagnostics |
94| GA4 | GA4 tag, key events marked as conversions | Measurement Protocol or server-side GTM | GA4 DebugView, Realtime |
95| TikTok | TikTok Pixel (ViewContent, AddToCart, SubmitForm, CompletePayment) | Events API with deduplication | TikTok Pixel Helper, Events diagnostics |
96| LinkedIn | Insight Tag with conversion rules | Conversions API for CRM-side events | LinkedIn Insight Tag Helper |
97 
98Only one primary conversion action per objective should be enabled for bidding. Extra enabled conversions inflate counts and confuse smart bidding.
99 
100### 4. iOS ATT and attribution windows
101 
102Since iOS 14.5, a large share of iOS users opt out of app tracking, so platform-reported conversions are partly modeled rather than observed.
103 
104- 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.
105- 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.
106- Expect ads manager conversions and GA4 last-click conversions to differ, often materially. Decide up front which one drives budget decisions.
107- 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.
108- Third-party cookie deprecation compounds this. Prioritize first-party data collection — email capture, account creation, CRM — over pixel-only audience building.
109 
110### 5. UTM convention
111 
112```
113https://domain.com/lp?utm_source=[source]&utm_medium=[medium]&utm_campaign=[campaign]&utm_content=[ad_name]
114```
115 
116| Parameter | Convention | Example |
117|-----------|-----------|---------|
118| utm_source | meta / google / tiktok / linkedin / klaviyo | meta |
119| utm_medium | paid_social / paid_search / display / email / organic | paid_social |
120| utm_campaign | `[product]_[audience]_[market]_[MMYY]` | course-a_cold_us_0726 |
121| utm_content | `[creative-type]_[hook-type]_[version]` — matches the ad name | vid_pain_v1 |
122 
123Lowercase, 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.
124 
125### 6. GA4 event mapping
126 
127| GA4 event | Trigger | Platform equivalent |
128|-----------|---------|---------------------|
129| page_view | All pages | PageView (Meta), ViewContent (TikTok) |
130| view_item | Product or offer page | ViewContent (Meta) |
131| add_to_cart | Cart add | AddToCart (Meta/TikTok) |
132| begin_checkout | Checkout started | InitiateCheckout (Meta) |
133| generate_lead | Form submit or qualified message | Lead (Meta), SubmitForm (TikTok), Conversion (Google) |
134| purchase | Payment confirmed, with value and currency | Purchase (Meta/TikTok/Google) |
135 
136Each 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.
137 
138### 7. CRM and offline conversions
139 
140Required whenever the sale closes off-site (B2B, high-ticket, coaching, agency, phone or DM sales):
141 
1421. **Capture source on every lead.** CRM fields: source, medium, campaign, ad content, GCLID or fbclid, timestamp, owner, stage, disqualification reason, closed revenue.
1432. **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.
1443. **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.
145 
146Uploaded CRM data must be hashed and covered by consent.
147 
148### 8. Verify green before launch
149 
150All must pass. One missing item means do not launch:
151 
152- [ ] Pixel/tag fires on landing page and confirmation page
153- [ ] Correct conversion event type selected — not PageView
154- [ ] No duplicate events (one action, one event in the events manager)
155- [ ] Server-side API live, deduplication working, Meta EMQ >= 6.0
156- [ ] Google Enhanced Conversions enabled and receiving hashed data
157- [ ] Consent mode v2 implemented; tags blocked before consent in EEA/UK; Limited Data Use applied for California
158- [ ] Test event: complete one real conversion and confirm it is recorded
159- [ ] Domain verified and Aggregated Event Measurement events prioritized
160- [ ] UTMs on all ad links and matching the convention
161- [ ] GA4 receiving paid sessions (confirm in Realtime)
162- [ ] CRM source capture live if the sale closes off-site
163 
164### 9. Ongoing checks
165 
166**Daily (2 minutes):** events flowing in the last 24 hours on every platform; Google Ads conversions recording; GA4 showing paid sessions.
167 
168**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.
169 
170## Troubleshooting
171 
172| Problem | Common cause | Fix |
173|---------|--------------|-----|
174| 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 |
175| Duplicate events | GTM and hardcoded tag both installed | Remove one; verify `event_id` deduplication |
176| Low match rate / low EMQ | No hashed email or phone sent server-side | Add customer parameters to the server payload |
177| Conversion not recorded | Wrong event name or wrong trigger page | Check spelling and that the trigger is the confirmation page |
178| GA4 far below ads manager | Different attribution windows plus modeled conversions | Compare on the same window; treat one source as decision-grade |
179| Remarketing audiences shrinking in the EU | Consent mode v2 missing or misconfigured | Implement all four consent signals and a certified CMP |
180| Leads arrive with no source | No CRM source capture | Add hidden UTM/click-ID fields to every form |
181 
182## Output structure
183 
184File name: `tracking-setup-[product]-[YYYYMMDD].md`
185 
186```markdown
187# Tracking Setup — [Product/Campaign]
188Platforms: [list] · Site platform: [x] · Markets: [x] · Objective: [Lead/Purchase]
189 
190## 1. Measurement architecture [client, server, analytics, consent, CRM]
191## 2. Consent plan [CMP, regions gated, consent mode v2, LDU, log owner]
192## 3. Platform setup status [table with status per item]
193## 4. Attribution settings [window per platform, AEM priority list]
194## 5. UTM convention [parameters and real project examples]
195## 6. Event mapping [GA4 to platform events]
196## 7. CRM / offline conversions [fields captured, import cadence]
197## 8. Pre-launch verification [green checklist, verified by, date]
198## 9. Ongoing check schedule [who, when, alert thresholds]
199```
200 
201## Related skills
202 
203- `52-account-structure-global`: build campaigns only after tracking is green; `utm_content` must match ad names.
204- `54-media-plan-global`: the objective in the plan determines which events must be tracked.
205- `21-ads-audit-global`: periodic tracking audit (match rate, duplicates, EMQ).
206- `12-landing-page-brief-global`: the landing page must expose the events and form fields this setup needs.
207- `13-data-analysis-global`: reads the clean data this system produces.
208 
209## Quality checklist
210 
211- [ ] Setup checklist complete for every platform in the plan
212- [ ] Consent plan explicit: CMP, consent mode v2 signals, regions, California opt-out, consent log
213- [ ] Server-side layer live with deduplication and a documented match rate
214- [ ] Attribution window stated per platform, with an agreed decision-grade source
215- [ ] UTM convention documented with real examples and matching ad names
216- [ ] Event mapping complete from page_view to purchase, with value and currency
217- [ ] Offline or CRM conversion path exists if the sale closes off-site
218- [ ] Green verification checklist completed, dated, and signed off by a named person
219- [ ] Daily and weekly checks scheduled with alert thresholds (match rate >70%, source gap <20%)
220- [ ] The hard rule is restated in the output: not green means do not launch
221 
View all files on GitHub →

Details

License
MIT
Stars on the repo
★ 599
Checked
Source
minhnv0807/ai-business-skills ↗
Creator
minhnv0807 · 150 listings
View creator

Similar skills

See all →
SkillAttribution AuditorAgriciDaniel/claude-ads · by AgriciDanielPaste the sales and spend numbers each ad platform claims, and get back a plain explanation of why they disagree and which figure to trust.★ 9.5k GitHub starsSkillGA4 Analytics Optimizerkostja94/marketing-skills · by kostja94When the user wants to set up, audit, or optimize analytics tracking (GA4, events, conversions). Also use when the user mentions "Google Analytics," "GA4," "event tracking," "conversions," "attribution model," "gtag," "data layer," "GA4 setup," "conversion tracking," "event setup," "User ID tracking," or "CTA attribution." For traffic insights, use traffic-analysis.★ 1k GitHub starsSkillFirst-Party Analytics SetupLeadMagic/gtm-skills · by LeadMagicSet up first-party tracking and analytics — website pixels, conversion tracking, UTM architecture, cookie consent, server-side tagging vs client-side, 1P vs 3P data strategy, and identity resolution. Use when setting up tracking, implementing pixels, building attribution, or preparing for privacy-first measurement. Triggers on: "pixel", "tracking", "conversion tracking", "first-party data", server-side tagging", "UTM", "cookie consent", "1P vs 3P", "identity resolution", or any tracking implementation request.★ 62 GitHub starsSkillWeb Analytics Setupcoreyhaines31/marketingskills · by coreyhaines31When the user wants to set up, improve, or audit analytics tracking and measurement. Also use when the user mentions "set up tracking," "GA4," "Google Analytics," "conversion tracking," "event tracking," "UTM parameters," "tag manager," "GTM," "analytics implementation," "tracking plan," "how do I measure this," "track conversions," "Mixpanel," "Segment," "are my events firing," or "analytics isn't working." Use this whenever someone asks how to know if something is working or wants to measure marketing results. For choosing attribution models, comparing multi-touch/MMM/incrementality, or reconciling conflicting numbers across tools, see attribution. For A/B test measurement, see ab-testing.★ 51.1k GitHub starsSkillSales Channel Attributioncoreyhaines31/marketingskills · by coreyhaines31Paste the conflicting numbers from your ad accounts, website stats and sales records; get back one honest read on which channels really drove sales and where to put your budget.★ 51.1k GitHub starsSkillAnalytics Tracking Setupdavila7/claude-code-templates · by davila7When the user wants to set up, improve, or audit analytics tracking and measurement. Also use when the user mentions "set up tracking," "GA4," "Google Analytics," "conversion tracking," "event tracking," "UTM parameters," "tag manager," "GTM," "analytics implementation," or "tracking plan." For A/B test measurement, see ab-test-setup.★ 32.3k GitHub stars

More from minhnv0807

SkillMarketing Plan Builderminhnv0807/ai-business-skills · by minhnv0807Dung khi can ke hoach marketing tong the cho mot ky — muc tieu, phan khuc, kenh, ngan sach, timeline, KPI va ma tran rui ro. Co ca che do ban day du va che do ke hoach 1 trang cho chu doanh nghiep nho. Kich hoat khi user nhac 'lap ke hoach marketing', 'ke hoach MKT', 'marketing plan', 'chien luoc marketing nam', 'plan quy toi', 'ke hoach 1 trang'. Khong dung cho — tinh nguoc ngan sach tu doanh thu thi dung skill 10-tinh-kpi-nguoc; phan bo ngan sach chi tiet theo kenh thi dung skill 61-budget-planning; brief mot chien dich cu the thi dung skill 02-brief-chien-dich.★ 599 GitHub starsSkillOverall Marketing Strategyminhnv0807/ai-business-skills · by minhnv0807Use when the user needs an overall marketing plan for a period — objectives, segments, positioning, channel mix, content direction, budget, timeline, KPIs, and a risk matrix, adapted to US, EU, SEA, or LATAM. Trigger on 'marketing plan', 'marketing strategy for next year', 'go-to-market roadmap', 'plan for Q3', 'we have no marketing plan', 'where should we spend next quarter'. Also use when a founder only says the business needs to grow and has no idea which channel to start with. Not for — one specific campaign, see `02-campaign-brief-global`; working backward from a revenue goal to spend, see `10-reverse-kpi-global`; splitting a budget across channels and months, see `61-budget-planning-global`; taking a brand new product to market, see `59-go-to-market-global`.★ 599 GitHub starsSkillContent Calendar Plannerminhnv0807/ai-business-skills · by minhnv0807Use when the user needs a monthly or weekly content calendar — posting schedule per channel, funnel ratio, content pillars, repurposing matrix, and an owner per slot. Trigger on 'content calendar', 'posting schedule', 'what should we post this month', 'editorial calendar', 'social media plan', 'we post randomly with no plan'. Also use when the user only says the team keeps running out of things to post. Not for — the brief for one specific post, see `36-content-brief-global`; the caption text itself, see `37-social-caption-global`; deciding next period content from last period data, see `40-next-content-plan-global`; a paid campaign timeline, see `02-campaign-brief-global`.★ 599 GitHub starsSkillContent Posting Scheduleminhnv0807/ai-business-skills · by minhnv0807Dung khi can lich dang bai cho ca thang — chot content pillar va ti le, xep bai theo ngay va khung gio, ma tran tai su dung noi dung, va gan muc tieu cho tung tru cot. Kich hoat khi user nhac 'lich noi dung', 'content calendar', 'thang nay dang gi', 'len lich dang bai', 'ke hoach content thang', 'phan bo noi dung'. Khong dung cho — brief tung bai truoc khi viet thi dung skill 36-content-brief; viet caption thanh pham thi dung skill 37-caption-social; lap plan ky sau tu data thi dung skill 40-next-content-plan.★ 599 GitHub starsSkillCampaign Execution Briefminhnv0807/ai-business-skills · by minhnv0807Dung khi can brief mot chien dich cu the cho ca team thuc thi — muc tieu, thong diep, deliverable, timeline phan cong theo tuan, gate duyet va ma tran rui ro. Kich hoat khi user nhac 'brief chien dich', 'ke hoach campaign', 'len brief cho team', 'chien dich thang toi', 'phan cong campaign', 'timeline chien dich'. Khong dung cho — ke hoach marketing ca ky thi dung skill 00-ke-hoach-mkt; danh sach asset can thiet ke thi dung skill 41-campaign-asset-list; giao viec cho tung nguoi thi dung skill 64-team-brief.★ 599 GitHub starsSkillCampaign Brief Frameworkminhnv0807/ai-business-skills · by minhnv0807Use when a specific campaign needs a brief the whole team can execute from — context, objective, audience, core message, creative direction, channels, deliverables, week-by-week timeline, approval gates, and risks. Trigger on 'campaign brief', 'creative brief', 'launch brief', 'brief the team on this campaign', 'we are running a promo next month', 'what is the plan for this campaign'. Also use when the user describes a promotion out loud and asks for something the team can actually run. Not for — the whole period plan, see `00-marketing-plan-global`; the list of design files needed, see `41-campaign-asset-list-global`; assigning work to one person, see `64-team-brief-global`; a new product launch sequence, see `59-go-to-market-global`.★ 599 GitHub stars