
Every Meta campaign learns from the events your store sends back: who viewed a product, who added to cart, who bought. If those events are missing or wrong, the algorithm optimizes on bad information and your costs rise. The Meta Pixel and the Conversions API (CAPI) are the two ways to send those events. Most stores need both.
What the pixel does
The pixel is a piece of JavaScript that runs in the visitor’s browser. When someone views a page or completes a purchase, the browser sends the event directly to Meta.
Its weaknesses are growing:
- iPhone users who opt out of tracking send far less data.
- Ad blockers and some browsers block the pixel completely.
- Slow mobile connections, common on Egyptian networks, can close the page before the event fires.
- Thank-you pages that load slowly or redirect lose purchase events.
In many stores we audit, the pixel alone reports 20 to 40% fewer purchases than the store actually received.
What the Conversions API does
CAPI sends the same events from your server (or your platform’s server) to Meta. It does not depend on the browser, so it survives ad blockers and app privacy settings.
It also lets you send richer, safer customer data such as hashed phone number, email, city and the click ID, which helps Meta match the event to the person who saw the ad. Better matching means better optimization.
Why you need both, not one
The pixel catches browser-side signals quickly. CAPI fills the gaps and adds stronger matching. Meta combines them using deduplication: when the same purchase arrives from both, Meta keeps one, as long as both share the same event name and event ID.
If deduplication is not set up, you will see doubled purchases in Ads Manager, inflated ROAS and campaigns optimizing toward ghosts.
How to set it up by platform
Shopify: install the official Facebook & Instagram app and choose the “Maximum” data sharing setting. This enables pixel plus CAPI with deduplication handled for you.
WooCommerce: use the official Meta for WooCommerce plugin or a server-side tracking plugin that supports CAPI with event IDs. Test carefully if you use caching plugins, as they can break purchase events.
Easy Order and other hosted platforms: check the platform’s integrations page. Most now support pixel plus CAPI through a pixel ID and an access token generated in Events Manager.
Custom stores: send events from your backend using the Conversions API, include event_id on both browser and server events, and send the fbp and fbc values when available.
The events that matter
At minimum send: PageView, ViewContent, AddToCart, InitiateCheckout and Purchase with value and currency (EGP). For cash-on-delivery stores, consider a custom event for confirmed orders, sent after your team confirms by phone or WhatsApp. Optimizing toward confirmed orders, once you have enough volume, can noticeably improve order quality.
How to check it is working
- Open Events Manager and look at the Event Match Quality score for Purchase. Aim for “Good” or higher.
- Check the deduplication section: browser and server events should show as overlapping, not doubled.
- Compare Meta purchases for last week with real store orders. A gap above 15 to 20% means something is still missing.
- Place a test order and watch it appear in the Test Events tab from both sources.
Common setup mistakes
- Two pixels installed (one from a theme, one from an app), causing double events
- Purchase event firing on page refresh of the thank-you page
- Wrong currency or value sent as zero
- CAPI connected but without customer parameters, so match quality stays low
- Access token shared publicly or stored in theme code
Tracking is not glamorous, but it is the base of every scaling decision. If your Meta numbers and store numbers never match, our analytics and tracking work can fix the setup, or you can book a free call.