Meta Pixel + Conversions API (CAPI): How to Set Up Tracking the Right Way
Why the Pixel alone is no longer enough, how CAPI fills the gap, and a step-by-step checklist to set up and test both without double-counting.
If your Meta Ads results look worse than what is actually happening in your business, tracking is usually the first place to look. Ad blockers, browser privacy settings and iOS restrictions all stop some browser events from reaching Meta. When fewer conversions are reported, the algorithm has less data to learn from, and your campaigns get harder to optimise.
The fix is to run the Meta Pixel and the Conversions API (CAPI) together.
Pixel vs CAPI in one minute
- Meta Pixel is a piece of code in the visitor’s browser. It records actions such as page views, leads and purchases.
- Conversions API sends the same events from your server (or a partner platform) directly to Meta, so they are not blocked by the browser.
- Used together, they give Meta a more complete picture of what happens after someone clicks your ad.
Step 1: Decide which events matter
Start with the actions that represent real business value. For most businesses these are standard events such as Lead, CompleteRegistration, AddToCart, InitiateCheckout and Purchase. Write them down with where each one fires (which page or button). Fewer, well-defined events beat dozens of messy ones.
Step 2: Install the Pixel
Create or select your dataset in Events Manager, then add the base code to every page. On WordPress or Shopify, the official integrations handle most of this for you. Add your standard events on the right pages or buttons, and pass useful parameters such as value and currency for purchases.
Step 3: Add the Conversions API
There are three common routes:
- Partner integration: Shopify, WooCommerce and many CRMs can switch on CAPI in a few clicks. This is the fastest option for most small businesses.
- Conversions API Gateway: a managed setup that runs on your own cloud account without writing server code.
- Direct integration: your developer sends events from your server. This gives the most control.
Step 4: Deduplicate events
When the Pixel and CAPI both send the same purchase, Meta needs to know it is one event, not two. Send the same event name and the same event_id from both sources. Without this, your reported conversions can be inflated and your cost per result will look misleading.
Step 5: Improve match quality
Meta matches events to people using customer information parameters such as email and phone number, which are hashed before they are sent. Passing more of these (with proper consent) usually improves your Event Match Quality score in Events Manager, which helps attribution and optimisation.
Step 6: Test before you trust it
- Use the Test Events tab in Events Manager and complete a real lead or test purchase.
- Check that each event arrives from both the browser and the server, and is marked as deduplicated.
- Review the diagnostics tab for warnings about missing parameters or duplicate events.
Where AI helps
AI assistants like Claude are useful for the slow parts of this work: drafting an event plan for your funnel, explaining an error in Events Manager in plain language, writing the checklist your developer should follow, and reviewing whether your parameters make sense. You still verify everything in Events Manager, but you get there much faster.
The bottom line: better tracking does not just make your reports prettier. It gives Meta’s delivery system better signals, which is one of the most reliable ways to improve results without increasing budget.
Want to apply this to your own campaigns?
Join the GrowthQ Tribe for free, or go deeper with the Meta Ads Mentorship Program.