Skip to main content
OpenCart → MetaIntegration guide

Connecting OpenCart to Meta Conversions API

OpenCart is self-hosted and extension-driven, which means the checkout you are measuring is frequently not the one the project ships — someone replaced it with a plugin years ago. 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 OpenCart 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

OpenCart to Meta CAPI: event_id across a plugin you didn't write

Most OpenCart stores reach the Meta Conversions API through an extension, so first confirm it sends server events and that pixel and server Purchase share an event_id: use the OpenCart order ID. Send Purchase when the order reaches a paid status, value excluding shipping and tax, hashed billing details, and fbc written to the order at the confirm step.

Most OpenCart stores that send to Meta do it through a marketplace extension, so the first check is whether it sends Conversions API events at all or only the pixel, and, if both, whether the pixel Purchase and the server Purchase share an event_id. Use the OpenCart order ID for both. An extension that generates its own random ID on each side is the classic double count, and it inflates ROAS without anyone noticing.

Send Purchase when the order reaches a paid status, with value excluding shipping and tax, the currency the value is actually in, and hashed email, phone, name and country from the order's billing fields. For bank transfer orders that sit pending until someone marks them paid, send from the status change itself with that moment as event_time. A nightly or weekly batch of manually confirmed orders risks Meta's seven-day limit on web events.

Capture fbclid on landing into your own storage and write fbc to the order at the confirm step, because a checkout or payment extension you did not write is not guaranteed to pass it along, and the confirm step is the last moment you control before the gateway. Meta has no retraction for refunds, so refunded and cancelled statuses should be reconciled from OpenCart rather than expected in Ads Manager.

OpenCart → Meta · what breaks

Why this join usually fails — OpenCart → Meta

  1. 01

    The fbc and fbp values never reaches OpenCart

    Third-party checkout and payment extensions bypass the core order flow, so the identifier can be dropped inside a plugin nobody has read.

  2. 02

    Order status meaning something different in every store

    There is no standard. A pipeline built on the assumption that "Complete" means paid will silently over- or under-count depending on how that particular shop was configured five years ago.

  3. 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.

  4. 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.

OpenCart → Meta · the fix

What working looks like — OpenCart → 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

OpenCart → Meta · architecture

How OpenCart and Meta actually connect

  1. 1

    OpenCart holds the truth

    Order status is configurable per store. "Complete" can mean paid, shipped or manually closed depending on how the shop was set up, and nobody documents which.

  2. 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. 3

    The identifier is the bridge

    The fbc and fbp values, captured at the visit and carried into the OpenCart order.

  4. 4

    The event source decides reliability

    Send orders whose status is in the agreed paid list, at the order total excluding shipping and tax.

  5. 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.

OpenCart → Meta · normal or broken

Working vs. broken, side by side — OpenCart → Meta

Normal, not a fault

  • The fbc and fbp values present on the order

  • Sent from the OpenCart order record

  • 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

    Third-party checkout and payment extensions bypass the core order flow, so the identifier can be dropped inside a plugin nobody has read.

  • Sent from the browser

    There is no standard. A pipeline built on the assumption that "Complete" means paid will silently over- or under-count depending on how that particular shop was configured five years ago.

  • 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

OpenCart → Meta · diagnose

Diagnostic order — OpenCart → Meta

  1. 01

    Count orders carrying the fbc and fbp values

  2. 02

    Follow one real conversion end to end

  3. 03

    List the order statuses in use and agree which mean money received

    Ten minutes with the shop owner, and it is the single thing that decides whether the numbers mean anything.

  4. 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.

  5. 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.

OpenCart → Meta · prove

How it gets proven — OpenCart → Meta

Source of truth

OpenCart orders by order status, with the statuses that mean paid agreed explicitly.

  • 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.
  • Orders in paid statuses reconciled against the payment gateway's settled total for a closed week.

OpenCart → 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
  • List the order statuses in use and agree which mean money received
  • Read Event Match Quality and the deduplication indicator
  • Read the match rate, not the success message

Checked against

OpenCart orders by order status, with the statuses that mean paid agreed explicitly.

Get my free conversion tracking audit

Free30 minutesNo obligation

OpenCart → Meta · when not to buy

When you don't need this — OpenCart → Meta

  • Measure identifier coverage yourself first — pull your last hundred orders and count how many carry the fbc and fbp values.
  • If the store runs an unmaintained checkout extension, fixing or replacing that comes before any tracking work.
  • 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.

OpenCart → Meta · what we deliver

What gets built — OpenCart → Meta

  • Identifier capture into OpenCart

    Capture on landing into your own storage and write to the order table directly, not through a checkout extension you do not control.

  • Event source: the OpenCart order record

    Send orders whose status is in the agreed paid list, at the order total excluding shipping and tax.

  • 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

    Refunded and cancelled statuses reverse.

Written guarantee

95%+ tracking accuracy

Measured against OpenCart orders by order status, with the statuses that mean paid agreed explicitly.. Miss it and we keep working at no cost.

Get my free conversion tracking audit

From $400 · See packages

FAQ

OpenCart → Meta questions, answered

The pixel and the server event are using different event_id values, usually because an extension generates its own. Set both to the OpenCart order ID.

Free · 30 min

Get OpenCart and Meta joined properly

Free30 minutesNo obligation