On a WooCommerce shop, the Facebook pixel alone misses part of the orders: an ad blocker stops it, Safari shortens its cookies, or the buyer pays and never comes back to the thank-you page. Meta then sees fewer purchases than you made, and its algorithm optimises on that smaller number. The Conversions API (CAPI) fixes this by sending each order from a server as well. Here is how to set it up on WooCommerce without Google Tag Manager.
What the Conversions API adds to the pixel
- Orders the browser missed still reach Meta, because they leave from a server that ad blockers cannot touch.
- Orders entered in the admin or paid on an external payment page can be sent too.
- Better matching: the server can add the buyer’s hashed e-mail and phone, which raises Event Match Quality.
The pixel stays. Meta recommends both: the pixel for what happens on the page, the API for what the browser cannot be trusted to send.
The three usual ways on WooCommerce
- Meta’s own plugin (Facebook for WooCommerce). Free and quick, but it covers Meta only, and its events are hard to inspect when numbers disagree.
- Google Tag Manager with a server container. Flexible, but you rent and maintain a tagging server, build each tag and trigger, and keep the browser and server events in step. It is a project, usually with a developer.
- A tracking service with a WordPress plugin. You install one plugin, connect your Meta account, and the service runs the server side. This is what Tagbreeze does, for Meta, Google and TikTok at once.
Deduplication: the part that goes wrong
When the same purchase arrives twice, once from the pixel and once from the API, Meta must know it is one order. It does so with two fields sent on both sides:
event_name, the same on both:Purchase.event_id, the same value on both, for example built from the order number.
If the IDs differ, Meta counts two purchases and your ROAS looks better than it is. If the browser event has no ID at all, Meta cannot deduplicate either. Check this before trusting any report.
Setting it up with the Tagbreeze plugin
- Create your site in the Tagbreeze console and copy its site key and server key from the Install screen.
- Install the Tagbreeze plugin from WordPress.org, open Settings › Tagbreeze and paste both keys.
- In the console, connect Meta in one click and pick your pixel. Nothing to copy.
From then on, each order is sent to the pixel and to the Conversions API with one shared event ID, on the classic and the block checkout. An order the browser missed is sent from your server ten minutes after payment, and refunds and cancellations are taken back out of your reports. If a Meta pixel is already on your pages, it is reused, never loaded twice.
How to check it works
- In Meta Events Manager, open your pixel and the Purchase event: you should see the browser and the server as sources.
- Look at the deduplication figure for Purchase. A high rate means both sides send the same IDs.
- Compare a week of Meta purchases with your WooCommerce orders from ads. The gap should shrink, not grow.
- Check Event Match Quality: with hashed e-mail and phone it should rise above what the pixel alone reached.
Consent still applies
Server-side does not mean consent-free. For visitors in the EEA, the UK and Switzerland, nothing should be sent to Meta, from the browser or the server, until they agree. Tagbreeze reads the common consent plugins (Complianz, CookieYes, Cookiebot and others) and follows each visitor’s choice.