conversion-tracking-claude
Skill2 starsChanged 9 months agoMITView on GitHub
Conversion tracking measures the actions users take after interacting with your ads. Without accurate tracking, every optimization decision is based on incomplete or wrong data. The tracking stack typically consists of: Common causes of tracking failure: Catalog every tracking tag, pixel, and API integration across all platforms: Run platform-specific validation using the appropriate sub-skill:
In this repository47 other files it gives its agents.
- skills/ab-testing-claude/CLAUDE.mdCLAUDE.md
- skills/aeo-claude/CLAUDE.mdCLAUDE.md
- skills/competitor-analysis-claude/CLAUDE.mdCLAUDE.md
- skills/competitor-analysis-claude/competitor/CLAUDE.mdCLAUDE.md
- skills/conversion-tracking-claude/CLAUDE.mdCLAUDE.md
- skills/copywriting-frameworks-claude/CLAUDE.mdCLAUDE.md
- skills/email-marketing-claude/CLAUDE.mdCLAUDE.md
- skills/ga4-audit-claude/CLAUDE.mdCLAUDE.md
- skills/google-ads-audit-claude/CLAUDE.mdCLAUDE.md
- skills/google-ads-copy-claude/CLAUDE.mdCLAUDE.md
- skills/google-ads-scripts-claude/CLAUDE.mdCLAUDE.md
- skills/landing-page-audit-claude/CLAUDE.mdCLAUDE.md
- skills/linkedin-ads-claude/CLAUDE.mdCLAUDE.md
- skills/local-seo-claude/CLAUDE.mdCLAUDE.md
- skills/meta-ads-audit-claude/CLAUDE.mdCLAUDE.md
- skills/negative-keywords-claude/CLAUDE.mdCLAUDE.md
- skills/pmax-claude/CLAUDE.mdCLAUDE.md
- skills/product-feed-claude/CLAUDE.mdCLAUDE.md
- skills/quality-score-claude/CLAUDE.mdCLAUDE.md
- skills/saas-metrics-claude/CLAUDE.mdCLAUDE.md
- skills/schema-markup-claude/CLAUDE.mdCLAUDE.md
- skills/smart-bidding-claude/CLAUDE.mdCLAUDE.md
- skills/tiktok-ads-claude/CLAUDE.mdCLAUDE.md
- skills/youtube-ads-claude/CLAUDE.mdCLAUDE.md
- abtestSkill
- aeoSkill
- competitor-analysisSkill
- copySkill
- copywriting-frameworks-claudeSkill
- emailSkill
- ga4-audit-claudeSkill
- ads-auditSkill
- google-ads-copy-claudeSkill
- google-ads-scripts-claudeSkill
- lp-auditSkill
- linkedin-ads-claudeSkill
- localSkill
- meta-auditSkill
- negativesSkill
- pmaxSkill
- product-feed-claudeSkill
- quality-score-claudeSkill
- saasSkill
- schema-markup-claudeSkill
- biddingSkill
- tiktokSkill
- youtube-ads-claudeSkill
The file
We split this skill into the rules it gives an agent
6 rules. About 0 are common, 5 are distinctive, and 1 is very specific to this project.
≈0
Common · estimate
Many files like this have a rule of this kind.
≈5
Distinctive · estimate
This author's own choices. Worth a look.
1
Very specific
Tied to their project's names, files or tools. Probably skip.
- Common
- Distinctive
- Very specific
- Distinctive: line 74
Run platform-specific validation using the appropriate sub-skill:
- Distinctive: line 76
Check tag presence on all page types (homepage, product, checkout, thank you)
- Distinctive: line 77
Verify event firing with correct parameters
- Distinctive: line 80
Test Enhanced Conversions / advanced matching where available
- Very specific: line 114
When /track audit is invoked, the skill runs this sequence:
- Distinctive: line 159
All platforms require SHA-256 hashing for user data:
≈ “Common” is an estimate: at least 1 in 5 of the 408,460 skill files we read have a rule of the same kind, not the same words. “Very specific” is our guess from the words: it names a file, a command, a setting or the project itself.
Files
Conversion Tracking Claude — Main Skill
Description
Cross-platform conversion tracking setup, validation, and audit skill. Validates tracking implementations across Google Ads, Meta Ads, LinkedIn Ads, TikTok Ads, and server-side setups. Generates a Tracking Health Score (0-100) and actionable fix recommendations.
Command Routing
| Command | Route To | Purpose |
/track audit | Full orchestration | Run all sub-skills, generate Health Score |
/track google-tag | skills/track-google-tag/ | Google Tag validation |
/track ec | skills/track-enhanced-conversions/ | Enhanced Conversions audit |
/track server-side | skills/track-server-side/ | Server-side GTM validation |
/track offline | skills/track-offline-import/ | Offline conversion import check |
/track meta-pixel | skills/track-meta-pixel/ | Meta Pixel audit |
/track capi | skills/track-meta-capi/ | Meta Conversions API validation |
/track linkedin | skills/track-linkedin-insight/ | LinkedIn Insight Tag check |
/track tiktok | skills/track-tiktok-pixel/ | TikTok Pixel audit |
/track attribution | skills/track-attribution/ | Attribution model analysis |
/track report | skills/track-report/ | Generate full audit report |
Tracking Fundamentals
What Is Conversion Tracking?
Conversion tracking measures the actions users take after interacting with your ads. Without accurate tracking, every optimization decision is based on incomplete or wrong data. The tracking stack typically consists of:
- Client-Side Tags — JavaScript snippets (gtag.js, Meta Pixel, etc.) that fire in the user's browser
- Server-Side Events — API calls from your server to ad platforms (sGTM, Meta CAPI, LinkedIn CAPI)
- Offline Imports — CRM data uploaded back to ad platforms (GCLID-based, hashed customer data)
- Attribution Logic — How platforms assign credit for conversions across touchpoints
Why Tracking Breaks
Common causes of tracking failure:
- Tag not on all pages — Missing from specific page templates, SPAs not re-firing on navigation
- Consent management conflicts — CMP blocking tags before consent, tags firing before CMP loads
- Data layer issues — Variables undefined, wrong data types, timing race conditions
- GTM container conflicts — Multiple containers, tag sequencing errors, trigger misconfiguration
- Cookie restrictions — ITP/ETP blocking third-party cookies, 7-day first-party cookie expiry
- Event deduplication failures — Same conversion counted by both Pixel and CAPI
- GCLID loss — Click ID not captured on landing page, lost during redirects, not stored in CRM
Cross-Platform Validation Framework
Step 1: Inventory
Catalog every tracking tag, pixel, and API integration across all platforms:
TRACKING INVENTORY
==================
Platform | Tag Type | Implementation | Status
----------------|---------------|----------------|--------
Google Ads | gtag.js | Direct/GTM | ?
Google Ads | EC for Web | gtag API/GTM | ?
Google Ads | EC for Leads | Offline Import | ?
Google Ads | sGTM | Stape/GCP | ?
Meta | Pixel | Direct/GTM | ?
Meta | CAPI | Gateway/Direct | ?
LinkedIn | Insight Tag | Direct/GTM | ?
LinkedIn | CAPI | Direct | ?
TikTok | Pixel | Direct/GTM | ?
TikTok | Events API | Direct | ?Step 2: Validate Each Platform
Run platform-specific validation using the appropriate sub-skill:
- Check tag presence on all page types (homepage, product, checkout, thank you)
- Verify event firing with correct parameters
- Confirm data is received by the ad platform (check platform's diagnostics)
- Validate conversion action configuration (counting, value, window)
- Test Enhanced Conversions / advanced matching where available
Step 3: Cross-Platform Checks
- Conversion window alignment — Ensure windows are consistent or intentionally different
- Attribution model awareness — Know what model each platform uses
- Deduplication — Prevent double-counting across Pixel + CAPI, client-side + server-side
- Value consistency — Same conversion value reported to all platforms
- Latency — Time between conversion and platform reporting
Step 4: Score and Report
Calculate Tracking Health Score:
SCORING RUBRIC (100 points total)
==================================
Category | Max Points
-------------------------------|----------
Tag Presence (all pages) | 15
Event Configuration | 15
Enhanced Conversions / Matching | 15
Server-Side Implementation | 15
Offline Import Pipeline | 10
Event Deduplication | 10
Attribution Setup | 10
Data Freshness | 5
Consent Compliance | 5Orchestration: /track audit
When /track audit is invoked, the skill runs this sequence:
- Gather context — Ask user for:
- Which platforms are in use (Google, Meta, LinkedIn, TikTok)
- Website URL(s) to audit
- GTM container ID (if applicable)
- Access to ad platform accounts (for diagnostics)
- CRM system (for offline import validation)
- Run sub-skills — Execute each relevant sub-skill based on platforms in use
- Cross-reference — Check for cross-platform issues:
- Mismatched conversion windows
- Missing deduplication
- Inconsistent conversion values
- Attribution model conflicts
- Score — Calculate Tracking Health Score using the rubric above
- Report — Generate the audit report via
skills/track-report/ - Prioritize fixes — Rank issues by:
- Critical — Lost conversion data (broken tags, missing events)
- High — Degraded data quality (no EC, no server-side)
- Medium — Suboptimal configuration (wrong counting, short windows)
- Low — Nice-to-have improvements (additional events, better attribution)
Key Concepts Reference
Click IDs
- GCLID — Google Click ID, appended to URL on Google Ads click
- WBRAID — Google's modeled click ID for iOS web-to-app
- GBRAID — Google's modeled click ID for iOS app-to-app
- FBCLID — Facebook/Meta Click ID
- li_fat_id — LinkedIn first-party ad tracking ID
- ttclid — TikTok Click ID
Consent Modes
- Google Consent Mode v2 — ad_storage, analytics_storage, ad_user_data, ad_personalization
- Meta Limited Data Use — LDU flag for CCPA compliance
- IAB TCF v2.2 — Transparency and Consent Framework for GDPR
Data Hashing
All platforms require SHA-256 hashing for user data:
- Email: lowercase, trim whitespace, then SHA-256
- Phone: E.164 format (e.g., +12125551234), then SHA-256
- Name: lowercase, trim, then SHA-256
- Address: lowercase, trim, remove special characters, then SHA-256
Sub-Skills
Each sub-skill has its own SKILL.md with detailed validation procedures:
- Google Tag
- Enhanced Conversions
- Server-Side GTM
- Offline Import
- Meta Pixel
- Meta CAPI
- LinkedIn Insight
- TikTok Pixel
- Attribution
- Report
Does it work?
Reviews from people and from AI agents that ran it: what they used it for, and whether it worked.
No reviews yet
People and AI agents can review whether this works in practice. Say what you used it for, and whether it worked.
- It worked
- Partly
- It didn't
Using an agent? It can post a review for you after it has run the file: the MCP tool registry_write, action report. How to connect one.
Your trail
Files you open will collect here, so you can find them again.
Open two or more, and you can remix the rules you like from each into one list. Kept in this browser only.
Now do this for your own.
Bring your CLAUDE.md, AGENTS.md or skills. agentleFS shows which of your rules are common, which are yours and which only fit one project, and keeps one version your agents read everywhere.

