Connecting PrestaShop to Meta Conversions API
PrestaShop is self-hosted open source with a large module ecosystem, which means the store's behaviour depends heavily on which modules are installed. Meta's pixel loses a large share of conversions to Safari, ad blockers and iOS, and the Conversions API exists because of it. The join between them succeeds or fails on one thing: whether the fbc and fbp values reaches the PrestaShop order before the conversion happens, because Meta can only match a conversion it can tie back to a click it recognizes.
Free30 minutesNo obligation
Specific to this pair
PrestaShop to Meta CAPI: one event_id from confirmation page to hook
Use the PrestaShop order reference as the event_id for both the Meta pixel on the confirmation page and the Conversions API event from the validation hook. Check whether PrestaShop's Facebook module already sends server events first. Store fbc and fbp on the cart, send hashed customer and address data, and send bank-wire orders at payment accepted within seven days.
Meta deduplicates the pixel and the Conversions API on event_name plus event_id, and on PrestaShop the two fire in different places: the pixel on the order confirmation page, the server event from the validation hook. Both need the same event_id. Use the order reference, which exists by the time either runs, rather than a random ID generated in a template.
Check what is already installed first. PrestaShop's own Facebook and Instagram module can send pixel events and, depending on version and settings, server events too; add a custom Conversions API send on top and one purchase can reach Meta from three sources. Either let the module own Meta or switch off its server side, and confirm in Events Manager which integration each Purchase arrived from.
Store fbc and fbp on the cart while the shopper is on your site, because payment callbacks validate orders without the shopper's cookies. Send Purchase with value and currency from the order and hashed email, phone, name and country from the customer and address records, which PrestaShop always holds. Bank-wire orders are validated before payment and Meta cannot retract them, so send those at the payment-accepted state, within seven days of the order or Meta rejects the event, or exclude them.
PrestaShop → Meta · what breaks
Why this join usually fails — PrestaShop → Meta
- 01
The fbc and fbp values never reaches PrestaShop
Module conflicts and caching both interfere with anything running in the page, and multi-store installations complicate which store an order belongs to.
- 02
Module ecosystem interference
PrestaShop stores accumulate modules, and any of them can alter checkout behaviour or strip what your code depends on. Failures appear after an unrelated update.
- 03
Double counting from broken deduplication
Server and browser both fire, the event_id does not match, and Meta counts two purchases. Reported ROAS goes up, the business does not, and it can run for months before anyone reconciles against the store.
- 04
Nothing reconciles afterwards
Events Manager shows received events, the deduplication state and an Event Match Quality score per event. Events arriving is not the test — deduplicated, well-matched events arriving is. Compare Meta's reported purchases against your store's order count for the same window.
PrestaShop → Meta · the fix
What working looks like — PrestaShop → Meta
The fbc and fbp values on every order
Conversions arriving in Meta
Events appear in Events Manager with an Event Match Quality score, deduplicated against the pixel, and become usable for optimization and attribution.
Reconciled against the source
PrestaShop → Meta · architecture
How PrestaShop and Meta actually connect
- 1
PrestaShop holds the truth
You own the data and can query it directly. Pin down which order states count as revenue, since PrestaShop's state machine is more granular than most.
- 2
Meta Conversions API needs a click to match
Meta matches server events to people using whatever identifiers you send, hashed with SHA-256 where required. There is no single mandatory key, which is why quality varies so much between implementations — a poorly matched event is accepted, reported, and worth much less than it appears.
- 3
The identifier is the bridge
The fbc and fbp values, captured at the visit and carried into the PrestaShop order.
- 4
The event source decides reliability
Fire server-side from the hook rather than the confirmation template.
- 5
Deduplication at the destination
Meta deduplicates on the pair of event_name and event_id. The browser pixel and the server event must send the same event_id for the same conversion, within the deduplication window. Get this wrong and every purchase counts twice — which is by far the most common Conversions API failure and it inflates reported ROAS rather than reducing it.
PrestaShop → Meta · normal or broken
Working vs. broken, side by side — PrestaShop → Meta
Normal, not a fault
The fbc and fbp values present on the order
Sent from the PrestaShop order validation hook
Deduplicated correctly
Meta deduplicates on the pair of event_name and event_id. The browser pixel and the server event must send the same event_id for the same conversion, within the deduplication window. Get this wrong and every purchase counts twice — which is by far the most common Conversions API failure and it inflates reported ROAS rather than reducing it.
Reconciles with the source
Actually broken
The fbc and fbp values missing on most records
Module conflicts and caching both interfere with anything running in the page, and multi-store installations complicate which store an order belongs to.
Sent from the browser
PrestaShop stores accumulate modules, and any of them can alter checkout behaviour or strip what your code depends on. Failures appear after an unrelated update.
Counted twice, or not at all
Server and browser both fire, the event_id does not match, and Meta counts two purchases. Reported ROAS goes up, the business does not, and it can run for months before anyone reconciles against the store.
Nobody has reconciled it
PrestaShop → Meta · diagnose
Diagnostic order — PrestaShop → Meta
- 01
Count orders carrying the fbc and fbp values
- 02
Follow one real conversion end to end
- 03
Check order metadata on ten recent orders
Partial coverage across orders points at a module conflict rather than a missing implementation.
- 04
Read Event Match Quality and the deduplication indicator
In Events Manager, open the event and check both. A low match quality means weak identifiers; a missing deduplication indicator means your event_id pairing is broken.
- 05
Read the match rate, not the success message
Events Manager shows received events, the deduplication state and an Event Match Quality score per event. Events arriving is not the test — deduplicated, well-matched events arriving is. Compare Meta's reported purchases against your store's order count for the same window.
PrestaShop → Meta · prove
How it gets proven — PrestaShop → Meta
Source of truth
PrestaShop's order records in your own database, for the same window and order state set.
- The fbc and fbp values confirmed present on a live order.
- Deduplication confirmed in Events Manager on a real purchase, with the browser and server events visibly paired rather than counted twice.
- Order metadata confirmed present across ten consecutive orders rather than one.
PrestaShop → Meta · free audit
What we check in the free audit
- Count orders carrying the fbc and fbp values
- Follow one real conversion end to end
- Check order metadata on ten recent orders
- Read Event Match Quality and the deduplication indicator
- Read the match rate, not the success message
Checked against
PrestaShop's order records in your own database, for the same window and order state set.
Free30 minutesNo obligation
PrestaShop → Meta · when not to buy
When you don't need this — PrestaShop → Meta
- Measure identifier coverage yourself first — pull your last hundred orders and count how many carry the fbc and fbp values.
- If your PrestaShop install is heavily moduled and maintained by another party, scope their involvement before starting.
- If you are not running Meta ads at meaningful spend, the Conversions API is effort without payoff. It earns its cost when the optimization signal is worth improving.
PrestaShop → Meta · what we deliver
What gets built — PrestaShop → Meta
Identifier capture into PrestaShop
Capture the identifier and write it to order metadata through a hook, server-side, so it does not depend on page execution.
Event source: the PrestaShop order validation hook
Fire server-side from the hook rather than the confirmation template.
Dispatch to Meta
Server-side events to the Conversions API with the event_id matched to the pixel, action_source set correctly, and customer data hashed before it leaves your infrastructure.
Reversals where they exist
Credit slips are recorded against the order.
Written guarantee
95%+ tracking accuracy
Measured against PrestaShop's order records in your own database, for the same window and order state set.. Miss it and we keep working at no cost.
From $400 · See packages
FAQ
PrestaShop → Meta questions, answered
Check your module version and settings; some versions include a server-side option. Run either the module's server events or your own, not both.
The confirmation-page pixel and the server event carry different event_ids, or two modules both send. Use the order reference as event_id everywhere.
Almost always because the fbc and fbp values never reached the PrestaShop order. Module conflicts and caching both interfere with anything running in the page, and multi-store installations complicate which store an order belongs to. Measure coverage before debugging the dispatch.
Two things. The _fbc cookie, derived from the fbclid parameter on the landing URL in the format fb.1.<timestamp>.<fbclid>, is the click identifier. The _fbp cookie is the browser identifier. Beyond those, Meta matches on hashed customer information — email, phone, name, city, country — and every additional field raises the Event Match Quality score. Unlike Google, Meta does not need a click ID at all if the customer data is good, but match quality drops noticeably without it.
The PrestaShop order validation hook. Fire server-side from the hook rather than the confirmation template.
Events Manager shows received events, the deduplication state and an Event Match Quality score per event. Events arriving is not the test — deduplicated, well-matched events arriving is. Compare Meta's reported purchases against your store's order count for the same window.
More on PrestaShop → Meta
- Meta · Lead → booked callHow to track lead to booked call for Meta Ads
- Meta · Booked call → closed wonHow to track booked call to closed won for Meta Ads
- Meta · Free trial → paidHow to track free trial to paid for Meta Ads
RELATED GUIDES
Where PrestaShop → Meta fits in the rest of your tracking
- Meta · Jewelry ecommerceMeta Ads conversion tracking for jewelry ecommerce brands
- Meta · Furniture ecommerceMeta Ads conversion tracking for furniture ecommerce brands
- Meta × Ecommerce OrdersHow to reconcile Meta Ads against your store's order table
- Meta · Add to cart → purchaseHow to track add to cart to purchase for Meta Ads
- Gumroad → MetaConnecting Gumroad to Meta Conversions API
- PrestaShop → RedditConnecting PrestaShop to Reddit
- Furniture ecommerceConversion tracking for furniture ecommerce, measured after delivery
- SureCart → MetaConnecting SureCart to Meta Conversions API
Free · 30 min
Get PrestaShop and Meta joined properly
Free30 minutesNo obligation
