meta-capi-setup

Configure Meta Conversions API backends with event_id deduplication and SHA-256 PII hashing.

3|Updated Apr 1, 2026
One-click install
npx skills add https://github.com/anthril/official-claude-plugins --skill meta-capi-setup
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: meta-capi-setup
Source: https://github.com/anthril/official-claude-plugins/tree/main/plugins/ppc-manager/skills/meta-capi-setup
Command: npx skills add https://github.com/anthril/official-claude-plugins --skill meta-capi-setup

SYSTEM DOCUMENTATION & REQUIREMENTS

What problem does it solve?

Server-side event forwarding with Meta Conversions API is needed to recover lost browser conversions due to ad blockers and iOS 14+ privacy changes. This skill provides a structured approach to implement CAPI with strict deduplication, proper PII hashing, and test-event validation.

Core Features & Use Cases

  • Deduplicates browser and server events using event_id and event_name to ensure accurate reporting.
  • Supports multiple backends (GTM Server Container, Cloudflare Workers, Next.js API routes, and custom backends) to fit different tech stacks.
  • Provides guidance and samples for hashing PII and validating with Test Events before production deployment.

Quick Start

Configure a Meta CAPI backend by selecting GTM Server, Cloudflare Worker, or Next.js API and run a Test Event to validate Event Match Quality.

Frequently Asked Questions about meta-capi-setup

High-intent search queries and answers about installing and using this skill.

FAQPage Schema
How do I set up Meta Conversions API with server-side tracking?

Meta Conversions API server-side tracking is set up by forwarding events from backends like GTM Server or Next.js API, applying SHA-256 PII hashing, and validating with test events before production.

How do I deduplicate browser and server events for Meta ads?

Deduplicate browser and server Meta ads events by matching event_id and event_name across both endpoints, ensuring accurate conversion reporting without double-counting user actions.

Does Meta CAPI work with Cloudflare Workers and Next.js API routes?

Meta CAPI works with Cloudflare Workers and Next.js API routes, providing implementation samples that handle SHA-256 PII hashing and secure token management across multiple server backends.

Why do I need SHA-256 hashing for PII in server-side event forwarding?

SHA-256 hashing for PII is required in server-side event forwarding to securely transmit user data to Meta while satisfying privacy compliance standards for Conversions API payloads.

How do I validate Meta Conversions API events before production?

Validate Meta Conversions API events by running them through the Test Events tool to check Event Match Quality and ensure payloads are correctly formatted before launching.

What's the best way to recover lost conversions from ad blockers using Meta CAPI?

Recover lost conversions from ad blockers using Meta CAPI by forwarding server-side events directly from your backend, bypassing browser restrictions to restore accurate ad attribution data.