Compare commits

...

41 Commits

Author SHA1 Message Date
Corey Haines f23b665461 feat: add conversion tracking reference to paid-ads skill
Cross-platform pixel setup guide covering Google Ads, Meta, LinkedIn,
and TikTok — installation, event configuration, server-side tracking,
and validation. Covers the marketer-level setup that was missing between
the high-level checklists and deep code-level implementation.

Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
2026-04-21 12:02:57 -07:00
Corey Haines 880386085e Merge pull request #247 from xiaolai/fix/nlpm-zapier-webhook-url-validation
fix: validate https:// scheme for hooks send webhook URL in zapier.js
2026-04-21 12:01:13 -07:00
Corey Haines dffa2fd3cb Merge pull request #240 from dgalarza/fix/community-marketing-yaml
Fix invalid YAML in community-marketing SKILL.md
2026-04-21 12:01:10 -07:00
claude[bot] db34fa2a21 fix: validate https:// scheme for hooks send webhook URL
The `hooks send` command accepted any user-supplied URL without validation.
This adds an https:// scheme check and a comment clarifying the intended use
(Zapier webhook catch hooks), matching Zapier's own webhook URL format.

Co-Authored-By: Claude Code <noreply@anthropic.com>
2026-04-21 06:42:16 +00:00
Damian Galarza 0d586e4952 fix: quote community-marketing description to valid YAML
The unquoted description contained "Trigger phrases:" which YAML parsed
as a nested mapping, causing the skills CLI to silently drop the skill
during discovery. Wrap the value in double quotes and escape inner
quotes.
2026-04-14 18:18:17 -04:00
coreyhaines31 9125d8216e chore: sync skills with marketplace.json and README 2026-04-13 07:15:47 +00:00
Corey Haines 50e72e0a2d chore: sync development with main after v1.7.0 release 2026-04-13 00:10:59 -07:00
Corey Haines 743f718a7c Merge pull request #227 from coreyhaines31/feature/zapier-sdk
feat: add Zapier SDK integration for 8,000+ app access
2026-04-13 00:07:23 -07:00
Corey Haines 5616e31192 feat: add Zapier SDK integration for 8,000+ app access
The Zapier SDK (@zapier/zapier-sdk) gives AI agents direct TypeScript
access to 8,000+ app integrations without building OAuth flows. Updates
the integration guide with SDK quick start, CLI commands, methods, and
marketing automation examples.

Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
2026-04-07 11:09:35 -07:00
Corey Haines 2570f6ad4e Merge pull request #223 from coreyhaines31/fix/platform-limits-cleanup
fix: add line break between platform reference links
2026-04-06 14:45:31 -07:00
Corey Haines eb4256891a Merge pull request #222 from coreyhaines31/fix/community-content-additions
fix: add missing sections to community-marketing skill
2026-04-06 14:45:28 -07:00
Corey Haines 3448f557de Merge pull request #221 from coreyhaines31/fix/aso-audit-content-additions
fix: clean up aso-audit skill for cross-agent compatibility
2026-04-06 14:45:26 -07:00
Corey Haines 9f9c2d6f59 fix: add missing sections to community-marketing skill
- Add Task-Specific Questions section
- Add Related Skills section (referral-program, churn-prevention,
  social-content, customer-research)

Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
2026-04-06 12:00:21 -07:00
Corey Haines 7df49f2be8 fix: clean up aso-audit skill for cross-agent compatibility
- Replace Playwright-specific tool references with generic instructions
- Convert description from YAML multiline to quoted string (repo convention)
- Add Task-Specific Questions section
- Add Related Skills section

Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
2026-04-06 12:00:17 -07:00
Corey Haines af9fe5fb09 Merge pull request #214 from coreyhaines31/feature/copy-editing-content-refresh
feat: add content refresh editing to copy-editing
2026-04-03 16:58:45 -07:00
Corey Haines bb54a76215 fix: move content refresh to references, fix version and scope
- Move full content refresh content to references/content-refresh.md
  to stay under 500 lines when merged with expert panel PR
- Bump version to 1.3.0 (expert panel PR takes 1.2.0)
- Fix scope creep: remove structured data from step 6, keep it
  focused on scannable formatting
- Add content-refresh.md to References section

Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
2026-04-03 16:56:24 -07:00
Corey Haines 884cf5e108 feat: add content refresh editing to copy-editing skill
Adds guidance for refreshing existing content — when to refresh vs.
rewrite, a 6-step refresh checklist (freshness, accuracy, voice, SEO,
proof, structure), and recommended cadence by content type. Bumps to v1.2.0.

Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
2026-04-03 16:56:24 -07:00
Corey Haines 295f1eef37 Merge pull request #213 from coreyhaines31/feature/copy-editing-expert-panel
feat: add expert panel scoring to copy-editing
2026-04-03 16:56:10 -07:00
Corey Haines 5c90bb8075 Merge pull request #212 from coreyhaines31/feature/social-content-repurposing
feat: expand content repurposing in social-content
2026-04-03 16:56:03 -07:00
Corey Haines 2fe1310881 Merge pull request #211 from coreyhaines31/feature/ab-test-growth-experiments
feat: add growth experimentation program to ab-test-setup
2026-04-03 16:55:52 -07:00
Corey Haines 6020ef6943 Merge pull request #210 from coreyhaines31/feature/add-rb2b-tool
feat: add RB2B and Gong to tools registry
2026-04-03 16:55:44 -07:00
Corey Haines 42ac956cb7 fix: correct Gong API endpoints and RB2B integration model
Gong: fix endpoints to POST (not GET), remove non-existent /v2/deals,
use tenant-specific base URL, correct recording limitation, add source
links. RB2B: clarify API Partner Program vs native integrations, add
pricing volatility note and source links. Registry: fix '10k calls'
to '10k API calls'.

Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
2026-04-03 16:50:28 -07:00
Corey Haines d10c161c04 feat: add RB2B and Gong to tools registry
RB2B for B2B website visitor identification (person-level de-anonymization,
intent signals, outreach routing). Gong for revenue intelligence (call
transcripts, competitive intel, deal insights, rep coaching).

Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
2026-04-03 16:50:28 -07:00
Corey Haines 76d1f89df9 Merge pull request #209 from coreyhaines31/feature/add-sparktoro
feat: add SparkToro audience research tool
2026-04-03 16:48:36 -07:00
Corey Haines 85b93be6d6 Merge pull request #208 from coreyhaines31/feature/ai-seo-pricing-md
feat: add pricing.md guidance to ai-seo skill
2026-04-03 16:48:29 -07:00
Corey Haines dba8570870 fix: add line break between platform reference links
Separates the two reference links so they render as distinct lines
instead of a single block.

Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
2026-04-01 17:54:46 -07:00
Corey Haines 28e8684fdd Merge pull request #205 from basseko/feature/aso-audit
feat: add aso-audit skill for App Store and Google Play optimization
2026-04-01 17:46:11 -07:00
Corey Haines 07a893efd0 Merge pull request #207 from MarianoGarciaGz/feat/platform-limits-reference
feat: add platform limits reference for social-content skill
2026-04-01 17:44:48 -07:00
Corey Haines fdb1202f12 Merge pull request #78 from pangerlkr/feature/new-skill-community-marketing
feat: add community-marketing skill
2026-04-01 17:40:43 -07:00
Corey Haines 314230b6db fix: address review feedback on expert panel scoring
- Add bridge sentence connecting to Seven Sweeps workflow
- Fix scoring criteria conflict: all personas 7+ with 8+ average
- Aligns step 5 target with the scoring rubric

Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
2026-04-01 16:38:10 -07:00
Corey Haines 330d220aca fix: address review feedback on social-content repurposing
- Soften unsourced "85%" stat to "most social video"
- Add "or audiograms" for audio-only podcast repurposing
- Broaden content atoms intro to apply across all formats

Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
2026-04-01 15:47:57 -07:00
Corey Haines c4cb25cb6c fix: address codex review feedback on growth experiments
Soften win-rate language to context-aware guidance. Clarify weekly
cadence to monitor guardrails while avoiding premature winner calls.
Expand playbook template with sample size, CI, guardrails, segment
deltas, and implementation status.

Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
2026-04-01 15:46:03 -07:00
Corey Haines 4ceaf88e96 feat: add expert panel scoring to copy-editing skill
Multi-persona review technique for high-stakes copy. Assemble 3-5 expert
personas, score 1-10, iterate until 8+. Includes recommended panels for
landing pages, email sequences, and sales pages. Bumps to v1.2.0.

Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
2026-04-01 15:17:01 -07:00
Corey Haines 7d85256e19 feat: expand content repurposing in social-content skill
Adds podcast/video repurposing with content atom extraction (quotable
moments, story arcs, tactical tips, controversial takes). Also adds
webinar and newsletter repurposing workflows. Bumps to v1.2.0.

Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
2026-04-01 15:16:14 -07:00
Corey Haines 7c13fccdd9 feat: add growth experimentation program to ab-test-setup
Adds experiment loop, ICE prioritization, hypothesis generation sources,
experiment velocity tracking, and playbook pattern for promoting winners.
Turns ab-test-setup from a single-test skill into a continuous growth engine.

Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
2026-04-01 15:15:18 -07:00
Corey Haines b902ed2d79 feat: add SparkToro as audience research tool
Add SparkToro integration guide, registry entry, and references in
customer-research skill. SparkToro reveals where your ICP spends time
using clickstream, search, and social data — essential for finding
podcasts, YouTube channels, subreddits, and websites your audience
engages with.

Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
2026-04-01 13:50:02 -07:00
Corey Haines 47db68aaba feat: add pricing.md recommendation to ai-seo skill
AI agents are increasingly evaluating SaaS products on behalf of buyers.
Adding guidance on machine-readable pricing files (pricing.md/pricing.txt)
so companies don't get filtered out of AI-mediated buying journeys.

Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
2026-04-01 13:24:53 -07:00
Mariano García fcac7f27b0 feat: add platform limits reference for social-content skill
Add hashtag limits, character counts, and visible text thresholds
for Instagram, Facebook, TikTok, LinkedIn, Twitter/X, YouTube,
Pinterest, and Threads.
2026-03-31 15:33:54 -06:00
Bassel Koshak fd98062849 fix: add product marketing context check to aso-audit skill 2026-03-31 16:31:24 +03:00
Bassel Koshak 40f20b2736 feat: add aso-audit skill for App Store and Google Play optimization
Live ASO audit skill that fetches real store listings, scores across 6
weighted dimensions (Title, Description, Visuals, Ratings, Metadata,
Conversion), and produces a prioritized action plan.

Features brand maturity system (Dominant/Established/Challenger) that
adjusts scoring to avoid penalizing deliberate brand choices by
household-name apps.

Backed by official Apple/Google developer docs and industry benchmarks
from AppTweak, SplitMetrics, and Sensor Tower.
2026-03-30 16:32:32 +03:00
Pangerkumzuk Longkumer 8657fd4f78 feat: add community-marketing skill
Added a comprehensive guide on community marketing strategies, including principles, playbooks, platform selection, and health metrics.
2026-03-06 07:48:29 +05:30
6 changed files with 369 additions and 3 deletions
+1 -1
View File
@@ -19,8 +19,8 @@
"./skills/ab-test-setup",
"./skills/ad-creative",
"./skills/ai-seo",
"./skills/aso-audit",
"./skills/analytics-tracking",
"./skills/aso-audit",
"./skills/churn-prevention",
"./skills/cold-email",
"./skills/community-marketing",
+1
View File
@@ -58,6 +58,7 @@ See each skill's **Related Skills** section for the full dependency map.
| [ad-creative](skills/ad-creative/) | When the user wants to generate, iterate, or scale ad creative — headlines, descriptions, primary text, or full ad... |
| [ai-seo](skills/ai-seo/) | When the user wants to optimize content for AI search engines, get cited by LLMs, or appear in AI-generated answers.... |
| [analytics-tracking](skills/analytics-tracking/) | When the user wants to set up, improve, or audit analytics tracking and measurement. Also use when the user mentions... |
| [aso-audit](skills/aso-audit/) | When the user wants to audit or optimize an App Store or Google Play listing. Also use when the user mentions 'ASO... |
| [churn-prevention](skills/churn-prevention/) | When the user wants to reduce churn, build cancellation flows, set up save offers, recover failed payments, or... |
| [cold-email](skills/cold-email/) | Write B2B cold emails and follow-up sequences that get replies. Use when the user wants to write cold outreach emails,... |
| [community-marketing](skills/community-marketing/) | Build and leverage online communities to drive product growth and brand loyalty. Use when the user wants to create a... |
+1 -1
View File
@@ -1,6 +1,6 @@
---
name: community-marketing
description: Build and leverage online communities to drive product growth and brand loyalty. Use when the user wants to create a community strategy, grow a Discord or Slack community, manage a forum or subreddit, build brand advocates, increase word-of-mouth, drive community-led growth, engage users post-signup, or turn customers into evangelists. Trigger phrases: "build a community," "community strategy," "Discord community," "Slack community," "community-led growth," "brand advocates," "user community," "forum strategy," "community engagement," "grow our community," "ambassador program," "community flywheel."
description: "Build and leverage online communities to drive product growth and brand loyalty. Use when the user wants to create a community strategy, grow a Discord or Slack community, manage a forum or subreddit, build brand advocates, increase word-of-mouth, drive community-led growth, engage users post-signup, or turn customers into evangelists. Trigger phrases: \"build a community,\" \"community strategy,\" \"Discord community,\" \"Slack community,\" \"community-led growth,\" \"brand advocates,\" \"user community,\" \"forum strategy,\" \"community engagement,\" \"grow our community,\" \"ambassador program,\" \"community flywheel.\""
metadata:
version: 1.0.0
---
+3 -1
View File
@@ -245,6 +245,8 @@ Before launching campaigns, ensure proper tracking and account setup.
**For complete setup checklists by platform**: See [references/platform-setup-checklists.md](references/platform-setup-checklists.md)
**For conversion pixel installation and event setup**: See [references/conversion-tracking.md](references/conversion-tracking.md)
### Universal Pre-Launch Checklist
- [ ] Conversion tracking tested with real conversion
- [ ] Landing page loads fast (<3 sec)
@@ -302,7 +304,7 @@ For implementation, see the [tools registry](../../tools/REGISTRY.md). Key adver
| **LinkedIn Ads** | B2B, job title targeting | - | [linkedin-ads.md](../../tools/integrations/linkedin-ads.md) |
| **TikTok Ads** | Younger demographics, video | - | [tiktok-ads.md](../../tools/integrations/tiktok-ads.md) |
For tracking, see also: [ga4.md](../../tools/integrations/ga4.md), [segment.md](../../tools/integrations/segment.md)
For tracking setup, see [references/conversion-tracking.md](references/conversion-tracking.md), [ga4.md](../../tools/integrations/ga4.md), [segment.md](../../tools/integrations/segment.md)
---
@@ -0,0 +1,361 @@
# Conversion Tracking Setup
How to set up conversion tracking pixels across ad platforms. This guide covers installation, event configuration, and validation — everything a marketer needs to ensure ad spend is properly attributed.
---
## Why This Matters
Without conversion tracking:
- Ad platforms can't optimize for your actual goals
- You're flying blind on ROAS and CPA
- Retargeting audiences can't be built
- You'll waste budget on impressions that don't convert
Get tracking right before spending a dollar on ads.
---
## Platform Pixels Overview
| Platform | Pixel/Tag Name | Events API | Key Events |
|----------|---------------|:----------:|------------|
| **Google Ads** | Google tag (gtag.js) | Enhanced Conversions | purchase, sign_up, generate_lead |
| **Meta** | Meta Pixel + CAPI | Conversions API | Purchase, Lead, ViewContent, AddToCart |
| **LinkedIn** | Insight Tag | Conversions API | conversion (URL or event-based) |
| **TikTok** | TikTok Pixel | Events API | Purchase, ViewContent, AddToCart, CompleteRegistration |
| **Twitter/X** | Twitter Pixel | - | Purchase, SignUp, Download |
---
## Google Ads
### Install the Google tag
Add to every page, in `<head>`:
```html
<script async src="https://www.googletagmanager.com/gtag/js?id=AW-XXXXXXXXX"></script>
<script>
window.dataLayer = window.dataLayer || [];
function gtag(){dataLayer.push(arguments);}
gtag('js', new Date());
gtag('config', 'AW-XXXXXXXXX');
</script>
```
Replace `AW-XXXXXXXXX` with your Conversion ID from Google Ads > Tools > Conversions.
### Set up conversion actions
In Google Ads > Goals > Conversions > New conversion action:
| Conversion | Category | Value | Count |
|-----------|----------|-------|-------|
| Purchase | Purchase | Dynamic (order value) | Every |
| Sign up / Lead | Sign-up | Fixed ($X estimated value) | One |
| Demo request | Lead | Fixed ($X estimated value) | One |
| Free trial start | Sign-up | Fixed ($X estimated value) | One |
### Fire conversion events
```javascript
// Purchase
gtag('event', 'conversion', {
'send_to': 'AW-XXXXXXXXX/CONVERSION_LABEL',
'value': 99.00,
'currency': 'USD',
'transaction_id': 'ORDER-123'
});
// Lead / Sign up
gtag('event', 'conversion', {
'send_to': 'AW-XXXXXXXXX/CONVERSION_LABEL',
'value': 50.00,
'currency': 'USD'
});
```
### Enhanced Conversions
Sends hashed first-party data (email, phone) to improve attribution after cookie restrictions. Enable in Google Ads > Goals > Settings > Enhanced conversions.
```javascript
gtag('set', 'user_data', {
'email': 'user@example.com', // auto-hashed by gtag
'phone_number': '+11234567890'
});
```
### Google Tag Manager alternative
If using GTM instead of inline gtag.js:
1. Install GTM container on all pages
2. Create Google Ads conversion tags in GTM
3. Set triggers for conversion events (form submissions, purchases)
4. Use the Data Layer to pass dynamic values (order amount, transaction ID)
5. Test with GTM Preview mode before publishing
---
## Meta (Facebook/Instagram)
### Install the Meta Pixel
Add to every page, in `<head>`:
```html
<script>
!function(f,b,e,v,n,t,s)
{if(f.fbq)return;n=f.fbq=function(){n.callMethod?
n.callMethod.apply(n,arguments):n.queue.push(arguments)};
if(!f._fbq)f._fbq=n;n.push=n;n.loaded=!0;n.version='2.0';
n.queue=[];t=b.createElement(e);t.async=!0;
t.src=v;s=b.getElementsByTagName(e)[0];
s.parentNode.insertBefore(t,s)}(window, document,'script',
'https://connect.facebook.net/en_US/fbevents.js');
fbq('init', 'YOUR_PIXEL_ID');
fbq('track', 'PageView');
</script>
```
Replace `YOUR_PIXEL_ID` from Meta Events Manager.
### Standard events
```javascript
// View a product or key page
fbq('track', 'ViewContent', {
content_name: 'Pro Plan',
content_category: 'Pricing',
value: 29.00,
currency: 'USD'
});
// Lead capture (form submit, demo request)
fbq('track', 'Lead', {
content_name: 'Demo Request',
value: 50.00,
currency: 'USD'
});
// Purchase
fbq('track', 'Purchase', {
value: 99.00,
currency: 'USD',
content_type: 'product',
contents: [{ id: 'pro-plan', quantity: 1 }]
});
// Add to cart (e-commerce)
fbq('track', 'AddToCart', {
content_ids: ['SKU-123'],
content_type: 'product',
value: 49.00,
currency: 'USD'
});
```
### Conversions API (CAPI)
Server-side tracking that works alongside the pixel. Required for accurate tracking after iOS 14+ and cookie restrictions.
Set up via:
- **Direct integration** — send events from your server to Meta's API
- **Partner integrations** — Shopify, WooCommerce, Segment, etc. have built-in CAPI support
- **Conversions API Gateway** — Meta's managed solution via AWS
Key: send the same events from both pixel (browser) AND CAPI (server), with a shared `event_id` for deduplication.
### Aggregated Event Measurement
Required for iOS 14+ tracking. In Events Manager > Aggregated Event Measurement:
1. Verify your domain
2. Configure and prioritize your top 8 events in order of business importance
3. Purchase should typically be #1, Lead #2
---
## LinkedIn
### Install the Insight Tag
Add to every page, before `</body>`:
```html
<script type="text/javascript">
_linkedin_partner_id = "YOUR_PARTNER_ID";
window._linkedin_data_partner_ids = window._linkedin_data_partner_ids || [];
window._linkedin_data_partner_ids.push(_linkedin_partner_id);
(function(l) {
if (!l){window.lintrk = function(a,b){window.lintrk.q.push([a,b])};
window.lintrk.q=[]}
var s = document.getElementsByTagName("script")[0];
var b = document.createElement("script");
b.type = "text/javascript";b.async = true;
b.src = "https://snap.licdn.com/li.lms-analytics/insight.min.js";
s.parentNode.insertBefore(b, s);})(window.lintrk);
</script>
```
### Conversion tracking
LinkedIn supports two methods:
**URL-based**: Fires when someone visits a specific URL (e.g., `/thank-you`).
Set up in Campaign Manager > Analyze > Conversion Tracking > Create Conversion.
**Event-based**: Fire manually on specific actions:
```javascript
window.lintrk('track', { conversion_id: YOUR_CONVERSION_ID });
```
### LinkedIn CAPI
For server-side tracking, LinkedIn offers a Conversions API. Set up via partner integrations (Segment, Tealium) or direct API calls. Deduplicates with the Insight Tag automatically when configured correctly.
---
## TikTok
### Install the TikTok Pixel
Add to every page, in `<head>`:
```html
<script>
!function (w, d, t) {
w.TiktokAnalyticsObject=t;var ttq=w[t]=w[t]||[];
ttq.methods=["page","track","identify","instances","debug","on","off",
"once","ready","alias","group","enableCookie","disableCookie","holdConsent",
"revokeConsent","grantConsent"],ttq.setAndDefer=function(t,e)
{t[e]=function(){t.push([e].concat(Array.prototype.slice.call(arguments,0)))}};
for(var i=0;i<ttq.methods.length;i++)ttq.setAndDefer(ttq,ttq.methods[i]);
ttq.instance=function(t){for(var e=ttq._i[t]||[],n=0;
n<ttq.methods.length;n++)ttq.setAndDefer(e,ttq.methods[n]);return e};
ttq.load=function(e,n){var r="https://analytics.tiktok.com/i18n/pixel/events.js",
o=n&&n.partner;ttq._i=ttq._i||{},ttq._i[e]=[],ttq._i[e]._u=r,
ttq._t=ttq._t||{},ttq._t[e]=+new Date,ttq._o=ttq._o||{},
ttq._o[e]=n||{};var s=document.createElement("script");
s.type="text/javascript",s.async=!0,s.src=r+"?sdkid="+e+"&lib="+t;
var a=document.getElementsByTagName("script")[0];
a.parentNode.insertBefore(s,a)};
ttq.load('YOUR_PIXEL_ID');
ttq.page();
}(window, document, 'ttq');
</script>
```
### Standard events
```javascript
// View content
ttq.track('ViewContent', {
content_id: 'pro-plan',
content_type: 'product',
content_name: 'Pro Plan',
value: 29.00,
currency: 'USD'
});
// Complete registration / sign up
ttq.track('CompleteRegistration', {
content_name: 'Free Trial'
});
// Purchase
ttq.track('Purchase', {
content_id: 'pro-plan',
content_type: 'product',
value: 99.00,
currency: 'USD',
quantity: 1
});
// Add to cart
ttq.track('AddToCart', {
content_id: 'SKU-123',
content_type: 'product',
value: 49.00,
currency: 'USD'
});
```
### Events API (server-side)
TikTok's Events API works like Meta's CAPI — send the same events from your server for better attribution. Use `event_id` for deduplication with browser pixel events.
### Advanced Matching
Pass hashed user data for better attribution:
```javascript
ttq.identify({
email: 'user@example.com', // auto-hashed
phone_number: '+11234567890'
});
```
---
## Validation Checklist
After installing any pixel, verify before going live:
### Browser-side checks
- [ ] Pixel fires on every page (check via browser extension)
- [ ] Conversion events fire at the right moment (after confirmed action, not on button click)
- [ ] Event parameters contain correct values (currency, amount, content IDs)
- [ ] No duplicate events firing on the same action
- [ ] Events fire on both desktop and mobile
### Platform-side checks
- [ ] Events appear in the platform's event manager/diagnostics
- [ ] Test conversions show correct values
- [ ] Event match quality is acceptable (Meta: score > 6)
- [ ] Server-side events are deduplicating with browser events (not double-counting)
### Debugging tools
| Platform | Tool |
|----------|------|
| Google | Google Tag Assistant, Chrome DevTools Network tab |
| Meta | Meta Pixel Helper (Chrome extension), Events Manager Test Events |
| LinkedIn | Insight Tag Validator in Campaign Manager |
| TikTok | TikTok Pixel Helper (Chrome extension), Events Manager |
| All | GTM Preview Mode (if using Google Tag Manager) |
---
## Common Mistakes
- **Firing purchase events on button click instead of confirmed payment** — always fire on the success/thank-you page or after server confirmation
- **Missing deduplication between pixel and server events** — without a shared `event_id`, you'll double-count conversions
- **Not testing on mobile** — many pixels break on mobile browsers or in-app webviews
- **Hardcoded test values** — remove test transaction amounts before going live
- **Forgetting to exclude internal traffic** — your team's visits inflate conversion data
- **Installing pixels without consent management** — GDPR/CCPA require user consent before firing tracking pixels in applicable regions
- **Pixel installed but no conversion actions created** — the pixel collects data, but the ad platform won't optimize without defined conversion actions
---
## When to Use Server-Side Tracking
Browser-only tracking is increasingly unreliable due to:
- iOS 14+ App Tracking Transparency
- Third-party cookie deprecation
- Ad blockers (30%+ of tech audiences)
**Use server-side (CAPI/Events API) when:**
- Running Meta or TikTok ads (strongly recommended)
- Your audience is tech-savvy (higher ad blocker usage)
- You need accurate purchase/revenue attribution
- You're spending >$5K/month on any platform
**Server-side is optional when:**
- Running Google Ads only (Enhanced Conversions covers most gaps)
- Low ad spend / testing phase
- B2B with LinkedIn only (Insight Tag is still reliable)
+2
View File
@@ -122,7 +122,9 @@ async function main() {
case 'hooks':
switch (sub) {
case 'send': {
// Sends a POST to a Zapier webhook catch hook URL (e.g. https://hooks.zapier.com/hooks/catch/...)
if (!args.url) { result = { error: '--url required' }; break }
if (!args.url.startsWith('https://')) { result = { error: '--url must use https://' }; break }
if (!args.data) { result = { error: '--data required (JSON string)' }; break }
let data
try {