---
title: "How to Set Up Meta Conversions API (CAPI) With Pixel Deduplication"
description: "Step-by-step Meta Conversions API setup with Pixel + CAPI, event_id deduplication, Event Match Quality, and 2026 Events Manager checks for Facebook and Instagram ads."
canonical_url: "https://www.isemediaagency.com/article/meta-conversions-api-explained-what-it-is-why-it-matters-and-how-to-set-it-up"
last_updated: 2025-11-18
---

# How to Set Up Meta Conversions API (CAPI) With Pixel Deduplication

Step-by-step Meta Conversions API setup with Pixel + CAPI, event_id deduplication, Event Match Quality, and 2026 Events Manager checks for Facebook and Instagram ads.

Browser tracking alone is unreliable. Ad blockers, iOS ATT prompts, and short thank-you page visits mean the Meta Pixel often misses conversions. The Meta Conversions API (CAPI) sends the same events from your server so Ads Manager and Meta’s auction still see the outcomes that matter. This guide covers what CAPI is, why Pixel + CAPI together is the default, and how to set it up with event_id deduplication and Event Match Quality checks in Events Manager. If you want this handled end to end for a New Jersey service business, see our Meta Ads management and paid advertising pages. Table of contents What is the Meta Conversions API? Why use Pixel and CAPI together Choose a setup path Step-by-step: Events Manager + server events Deduplication with event_id Event Match Quality and verification Privacy and consent notes (2026) FAQ What is the Meta Conversions API? CAPI is Meta’s server-to-server channel for conversion events. Instead of (or in addition to) the browser Pixel firing Purchase , Lead , or CompleteRegistration , your backend POSTs those events to Meta’s Graph API for your Pixel ID. Required server fields for website events include event_name , event_time , action_source (usually website ), user_data , and event_source_url . Meta documents these in the server event parameters reference. CAPI does not replace the Pixel. Meta’s guidance is to run both so you keep on-page features (retargeting audiences, instant browser signals) while recovering events the Pixel never sees. Why use Pixel and CAPI together Fewer missed conversions: Server events are not blocked by the visitor’s browser extensions the way a Pixel script can be. Better optimization input: Meta’s delivery systems train on the conversions you report. Incomplete event streams make learning noisier. Richer matching: Server payloads can include hashed email, phone, and other customer information parameters when you have a lawful basis to send them. Offline and CRM events: You can send qualified leads or closed jobs from a CRM after the click, not only on-page thank-you views. We do not publish unverified “X% recovered conversions” claims here. Measure your own lift in Events Manager (events received, deduplicated share, and Event Match Quality) before and after go-live. Choose a setup path Stack Typical path Shopify Facebook & Instagram channel. Raise customer data sharing to Enhanced or Maximum so Shopify sends CAPI alongside the Pixel. WooCommerce Official Facebook for WooCommerce plugin with Conversions API enabled and automatic event_id handling where supported. Webflow / no backend Zapier, Make, or a server-side GTM container that POSTs lead or purchase events when a form or webhook fires. Custom site Your app or a small serverless function POSTs to https://graph.facebook.com/v<API_VERSION>/<PIXEL_ID>/events with a generated access token. Pick the lightest path that covers your high-value events (usually Lead and Purchase). You do not need to mirror every PageView from the server on day one. Step-by-step: Events Manager + server events Confirm Pixel and Business assets. In Meta Business Suite, open Events Manager , select your Pixel (data set), and confirm domains are verified for the sites you will attribute. Generate a Conversions API access token. In the Pixel’s settings, open the Conversions API / server events setup and generate an access token. Store it as a secret. Do not put it in client-side JavaScript. Decide which events to send. Start with the events you optimize ads against: Lead, Schedule, Contact, Purchase, or CompleteRegistration. Use Meta’s standard event names so Pixel and CAPI stay aligned. Wire the server call. On conversion (order created, form stored, booking confirmed), POST JSON with data: [{ event_name, event_time, event_id, action_source, event_source_url, user_data, custom_data }] . Hash PII with SHA-256 before send, as Meta requires. Pass browser context when you have it. Include client_ip_address , client_user_agent , and cookies _fbp / _fbc when available. Those fields improve matching. Test before production. In Events Manager, open Test events , copy a test event code, and include test_event_code on your payloads. Confirm the event name, parameters, and deduplication status appear. Go live and monitor Overview. Remove the test code. Watch Overview for server vs browser volume, Event Deduplication, diagnostics, and Event Match Quality for each key event. UI labels in Events Manager change occasionally. If a menu name differs, search within Events Manager for “Conversions API,” “Generate access token,” or “Test events.” Meta’s verifying your setup docs stay current even when the left nav moves. Deduplication with event_id When Pixel and CAPI both report the same action, Meta needs a shared ID or you will double-count. Browser Pixel: pass the same value as eventID (fourth argument to fbq('track', ...) ). Server CAPI: send the same string as event_id . event_name / Pixel event name must match. Meta’s deduplication documentation states that matching ID + name within 48 hours collapses duplicates, and when browser and server events arrive within about five minutes, the browser event is generally preferred. Good event_id values: order ID, CRM lead ID, or a UUID generated once and reused on both channels for that action. // Browser (Pixel) fbq('track', 'Purchase', { value: 99.99, currency: 'USD' }, { eventID: 'ORDER-12345' }); // Server (CAPI) uses the same event_id "ORDER-12345" and event_name "Purchase" Event Match Quality and verification Event Match Quality (EMQ) scores how well customer information on a server event can match a Meta account. Scores run from 1 to 10. Meta surfaces EMQ on the Pixel Overview when CAPI is connected, and via the Setup Quality API for automated checks. See CAPI best practices . Practical ways to raise EMQ without inventing data: Send hashed email and phone when the customer provided them and consent allows it. Include fbp , fbc , IP, and user agent from the original session. Keep names and postal fields consistent with how the customer entered them before hashing. Do not send secrets, payment card data, or health data. Aim for a healthy EMQ on the events you optimize against. Treat the score as a diagnostic, not a vanity metric. Privacy and consent notes (2026) Update your privacy policy to disclose server-side Meta event sharing. Honor opt-outs: if a visitor declines ads/analytics cookies, do not send their identifiers via CAPI either. Hash emails, phones, and names with SHA-256 before the request leaves your server. Limit payloads to what you need for matching and measurement. Keep the access token in a secrets manager and rotate it if exposed. FAQ Do I still need the Meta Pixel if I use CAPI? Yes. Use both. CAPI fills gaps; the Pixel still powers many on-site and audience features. Will CAPI fix every attribution gap? No. Consent refusals, VPN noise, and incomplete CRM matching still exist. Most advertisers still see clearer event streams and more stable optimization after a correct Pixel + CAPI setup. Can a non-developer set this up? Often yes on Shopify, WooCommerce, and similar platforms. Custom stacks usually need a developer or an agency for the first wiring and QA. Where should I send leads after the form? Into your CRM and into CAPI with the same event_id the Pixel used on submit. That is how you avoid double counting while keeping sales follow-up intact. Need CAPI wired into live Meta campaigns? IseMedia sets up Pixel + Conversions API, creative testing, and local service audiences for New Jersey businesses. Start with Meta Ads (Facebook and Instagram) or the broader paid advertising overview, then book a call . Primary sources Meta Conversions API overview Server event parameters Deduplicate Pixel and server events Verifying your setup (EMQ and Test events) Conversions API best practices

Published: 2025-11-18T00:00:00.000Z

[More articles](https://www.isemediaagency.com/blog)
