coreyhaines31/marketingskills / skills/conversion-tracking
conversion-tracking
VerifiedWhen the user wants to set up, audit, or fix conversion tracking to Google Ads, Meta, GA4, LinkedIn, and TikTok, or asks why conversions are missing or doubled: GTM, pixels, CAPI, Enhanced Conversions, offline imports. Fire on confirmed success, not the submit click; verify a test conversion arrives; diagnose before changing; offer free paths and disclose partner tools. For tracking plans, see analytics. For attribution, see attribution. For bidding, see ads.
assets/gtm-recipes/send/tiktok.json
View on GitHub{
"exportFormatVersion": 2,
"containerVersion": {
"path": "accounts/0/containers/0",
"accountId": "0",
"containerId": "0",
"containerVersionId": "0",
"container": {
"path": "accounts/0/containers/0",
"accountId": "0",
"containerId": "0",
"name": "Conversion Send - TikTok Conversion",
"publicId": "GTM-XXXXXXX",
"usageContext": [
"WEB"
],
"fingerprint": "0",
"tagManagerUrl": "https://tagmanager.google.com/#/container/accounts/0/containers/0/workspaces/0"
},
"tag": [
{
"accountId": "0",
"containerId": "0",
"tagId": "101",
"name": "TikTok Base Pixel",
"type": "html",
"parameter": [
{
"type": "TEMPLATE",
"key": "html",
"value": "<script>\n(function (w, d, t) {\n if (w.ttq) { return; }\n w.TiktokAnalyticsObject = t;\n var ttq = w[t] = w[t] || [];\n ttq.methods = ['page','track','identify','instances','debug','on','off','once','ready','alias','group','enableCookie','disableCookie'];\n ttq.setAndDefer = function (obj, m) { obj[m] = function () { obj.push([m].concat(Array.prototype.slice.call(arguments, 0))); }; };\n for (var i = 0; i < ttq.methods.length; i++) { ttq.setAndDefer(ttq, ttq.methods[i]); }\n ttq.instance = function (id) {\n var inst = ttq._i[id] || [];\n for (var j = 0; j < ttq.methods.length; j++) { ttq.setAndDefer(inst, ttq.methods[j]); }\n return inst;\n };\n ttq.load = function (id, opts) {\n var url = 'https://analytics.tiktok.com/i18n/pixel/events.js';\n ttq._i = ttq._i || {}; ttq._i[id] = []; ttq._i[id]._u = url;\n ttq._t = ttq._t || {}; ttq._t[id] = +new Date();\n ttq._o = ttq._o || {}; ttq._o[id] = opts || {};\n var s = d.createElement('script');\n s.type = 'text/javascript'; s.async = true; s.src = url + '?sdkid=' + id + '&lib=' + t;\n var f = d.getElementsByTagName('script')[0];\n f.parentNode.insertBefore(s, f);\n };\n ttq.load('__TIKTOK_PIXEL_ID__');\n ttq.page();\n})(window, document, 'ttq');\n</script>"
},
{
"type": "BOOLEAN",
"key": "supportDocumentWrite",
"value": "false"
}
],
"firingTriggerId": [
"2147479553"
],
"tagFiringOption": "ONCE_PER_EVENT",
"monitoringMetadata": {
"type": "MAP"
},
"consentSettings": {
"consentStatus": "NEEDED",
"consentType": {
"type": "LIST",
"list": [
{
"type": "TEMPLATE",
"value": "ad_storage"
}
]
}
}
},
{
"accountId": "0",
"containerId": "0",
"tagId": "102",
"name": "TikTok Conversion - __RECIPE_LABEL__",
"type": "html",
"parameter": [
{
"type": "TEMPLATE",
"key": "html",
"value": "<script>\n(function () {\n if (!window.ttq || typeof window.ttq.track !== 'function') { return; }\n window.ttq.track('__TIKTOK_EVENT_NAME__');\n})();\n</script>"
},
{
"type": "BOOLEAN",
"key": "supportDocumentWrite",
"value": "false"
}
],
"firingTriggerId": [
"201"
],
"tagFiringOption": "ONCE_PER_EVENT",
"monitoringMetadata": {
"type": "MAP"
},
"consentSettings": {
"consentStatus": "NEEDED",
"consentType": {
"type": "LIST",
"list": [
{
"type": "TEMPLATE",
"value": "ad_storage"
}
]
}
}
}
],
"trigger": [
{
"accountId": "0",
"containerId": "0",
"triggerId": "201",
"name": "CE - __RECIPE_LABEL__",
"type": "CUSTOM_EVENT",
"customEventFilter": [
{
"type": "EQUALS",
"parameter": [
{
"type": "TEMPLATE",
"key": "arg0",
"value": "{{_event}}"
},
{
"type": "TEMPLATE",
"key": "arg1",
"value": "__DETECTION_EVENT__"
}
]
}
],
"filter": []
}
],
"variable": [],
"fingerprint": "0"
}
}
Related skills
| Skill | Stars | Updated | Works with | Status | Install |
|---|---|---|---|---|---|
| rea-analysis-optimizationmorluto/reaOptimize REA providers and shared analysis workflows for agent context, latency, CPU, and memory while preserving correctness and Evidence. Use for analysis bottlenecks and cache or query design; CI/test-suite optimization belongs to rea-ci-tests-audit. | Stars: 472k | Updated | Claude CodeCodex | Verified | Install |
| rea-ci-tests-auditmorluto/reaAudit REA CI and test suites for correctness, fixture drift, false passes, and measured performance; use for suite or workflow investigations and efficiency changes, rather than ordinary feature testing or a single test failure. | Stars: 472k | Updated | Claude CodeCodex | Verified | Install |
| rea-tool-designmorluto/reaAudit, investigate, design, or change REA investigation tools, CLI/MCP contracts, provider capabilities, and Evidence semantics. | Stars: 472k | Updated | Claude CodeCodex | Verified | Install |
| ponytail-auditDietrichGebert/ponytailQuality audit of the whole repo: bugs, security, real load, missing tests, speed, and what to delete. Most important first. | Stars: 196k | Updated | Claude CodeCodex | Verified | Install |