ad-copy-writer
Generate ad copy variations for Google, Microsoft, Meta, LinkedIn, TikTok, Reddit, Snapchat and X Ads (plus Apple Search Ads…
Meta Conversions API (CAPI) Setup Reference — architecture, event types, customer information hashing, deduplication, implementation examples, AEM, and testing
Claude Code
$ npx -y skills add cognyai/claude-code-marketing-skills --skill meta-capi --agent claude-code
Codex
$ npx skills add cognyai/claude-code-marketing-skills --skill meta-capi -a codex -y
Cursor
$ npx skills add cognyai/claude-code-marketing-skills --skill meta-capi -a cursor -y
Gemini CLI
$ npx skills add cognyai/claude-code-marketing-skills --skill meta-capi -a gemini-cli -y
GitHub Copilot
$ npx skills add cognyai/claude-code-marketing-skills --skill meta-capi -a github-copilot -y
OpenCode
$ npx skills add cognyai/claude-code-marketing-skills --skill meta-capi -a opencode -y
Windsurf
$ npx skills add cognyai/claude-code-marketing-skills --skill meta-capi -a windsurf -y
name: meta-capi description: Meta Conversions API (CAPI) Setup Reference — architecture, event types, customer information hashing, deduplication, implementation examples, AEM, and testing version: "1.1.1" author: Cogny AI platforms: [] user-invocable: true argument-hint: "<query or topic>" allowed-tools: - WebFetch - WebSearch - Bash - Read - Write # Meta Ads tools (when connected via Cogny MCP) - mcp__cogny__refresh_mcp_discovery - mcp__cogny__mcp__Meta_Ads__tool_get_pixels - mcp__cogny__mcp__Meta_Ads__tool_get_insights - mcp__cogny__mcp__Meta_Ads__tool_get_campaigns - mcp__cogny__mcp__Meta_Ads__tool_get_ad_sets - mcp__cogny__mcp__Meta_Ads__tool_get_ads - mcp__cogny__mcp__Meta_Ads__tool_get_custom_audiences - mcp__cogny__mcp__Meta_Ads__tool_list_ad_accounts # Coverage check and other platforms (when connected via Cogny MCP) - mcp__cogny__list_integrations - mcp__cogny__mcp__Shopify__tool_list_orders - mcp__cogny__mcp__WooCommerce__get_sales_report - mcp__cogny__mcp__Google_Tag_Manager__tool_search_tags - mcp__cogny__mcp__TikTok_Ads__tool_get_pixels - mcp__cogny__mcp__Snapchat_Ads__tool_list_pixels - mcp__cogny__mcp__Reddit_Ads__tool_get_conversion_events - mcp__cogny__mcp__LinkedIn_Ads__tool_get_conversions - mcp__cogny__mcp__X_Ads__tool_get_web_event_tags
Complete technical reference for Meta Conversions API: architecture, all standard event types with parameters, customer information hashing, implementation methods, event deduplication, testing, and Aggregated Event Measurement.
Full docs: https://cogny.com/docs/meta-conversions-api
/meta-capi # Full CAPI overview /meta-capi deduplication # Event dedup strategy /meta-capi purchase event # Purchase event parameters /meta-capi emq # Improve Event Match Quality /meta-capi aem # Aggregated Event Measurement /meta-capi node.js # Node.js implementation example /meta-capi gtm server-side # GTM SS container setup
You are a Meta Conversions API expert. Use this reference to help users implement CAPI correctly, debug event tracking issues, improve Event Match Quality, configure deduplication, and understand Aggregated Event Measurement.
When the user asks a question, find the relevant section below and provide precise, actionable answers with ready-to-use code examples.
If the user provides a specific topic as an argument, focus on that area. Otherwise, provide an overview of the CAPI architecture and key implementation steps.
If Cogny MCP tools are available, use them to inspect the user's actual Pixel configuration, ad account setup, and campaign data to provide contextual recommendations.
Works with zero accounts (reference and code). When connected:
| Job | Primary | Enhanced when connected | |-----|---------|-------------------------| | Which pixel to send to | Meta `tool_list_ad_accounts` → `tool_get_pixels` | — | | Is the browser Pixel already in GTM (and does it set `event_id`)? | — | GTM `tool_search_tags` (`search_term: "Meta"` / `"Facebook"`) | | CAPI coverage: Meta purchases vs real orders | Meta `tool_get_insights` | Shopify `tool_list_orders`, WooCommerce `get_sales_report` | | Same server-side pattern on other platforms | — | TikTok, Snapchat, Reddit, LinkedIn, X (see "Other Platforms' Server-Side APIs") |
`tool_get_pixels` returns `source: ad_account` or `business_manager`; only the first is assigned to the account. CAPI to a Business-only pixel won't feed this account's ads.
---
User's Browser
+------------------------------+
| Meta Pixel (fbevents.js) |
| - Fires on page interaction |
| - Sets _fbp / _fbc cookies |
| - Sends event_id for dedup |
+----------+-------------------+
| HTTPS (browser -> Meta)
v
+------------------------------+
| Meta Servers |
| - Receives Pixel events |
| - Receives CAPI events |
| - Deduplicates via event_id |
| - Matches users (EMQ) |
| - Feeds ad optimization |
+------------------------------+
^
| HTTPS (server -> Meta)
+----------+-------------------+
| Your Server / GTM SS |
| - Conversions API endpoint |
| - POST /{ver}/{pixel_id}/ |
| events |
| - Hashes PII before sending |
| - Sends same event_id |
+------------------------------+**Why both matter:**
Fired when a transaction is completed.
| Parameter | Type | Required | Description | |-----------|------|----------|-------------| | `value` | float | **Yes** | Total transaction value | | `currency` | string | **Yes** | ISO 4217 code (e.g., `USD`, `EUR`) | | `content_ids` | array<string> | Recommended | Product IDs from catalog | | `content_type` | string | Rec
AI marketing skills for Claude Code, Cursor, Windsurf, and other AI coding tools. Audit SEO, analyze ads, research competitors, qualify leads — all from your terminal. Free skills need no account. Premium skills connect your real data for $9/mo.
Generate ad copy variations for Google, Microsoft, Meta, LinkedIn, TikTok, Reddit, Snapchat and X Ads (plus Apple Search Ads…
Enforce a pre-declared evidence bar on every ad — after it spends enough, pause it if it misses (e.g. CTR < 1% or cost per lead…
Build a portable brand-kit.json for the user's product — colors, typography, voice — that other skills (video, ad creative,…
Find accounts where something just happened that creates demand — funding, hiring, new locations, launches, rising ad engagement…
Give every campaign an ID and carry it everywhere — allocate IDs, audit ad/email/UTM naming across Google, Meta, LinkedIn, Bing,…
Re-read every lost deal in your CRM (HubSpot, Pipedrive or Upsales; Salesforce via the CRM layer) with its calls, meetings and…
When the user wants to plan, design, or implement an A/B test or experiment, or build a growth experimentation program. Also use…
Comprehensive SEO analysis for any website or business type. Full site audits, single-page analysis, technical SEO (crawlability,…
Turn the current project website into a short, polished, shareable launch video using Hyperframes. Use when someone says "/brag",…
Full website GEO+SEO audit with parallel subagent delegation. Orchestrates a comprehensive Generative Engine Optimization audit…