Connecting OpenCart to AppsFlyer
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. AppsFlyer exists because mobile app attribution is a different problem from web attribution, and on iOS a large share of it is now aggregated and delayed by design rather than by accident. The join between them succeeds or fails on one thing: whether the AppsFlyer device identifier, appsflyer_id reaches the OpenCart order before the conversion happens, because AppsFlyer can only match a conversion it can tie back to a click it recognizes.
Free30 minutesNo obligation
Specific to this pair
OpenCart and AppsFlyer: storing appsflyer_id against app orders
Use AppsFlyer only if a mobile app places OpenCart orders. Have the app pass the appsflyer_id with the order, store it in a custom field or side table keyed on order_id, and send a server-to-server purchase when order history reaches a paid status, with default-currency total and code. Use one sender to avoid double revenue. Web-only stores don't need AppsFlyer.
AppsFlyer matters for an OpenCart business only if a mobile app places orders into the store. When it does, the order is still created by OpenCart, often through an API or app-builder extension, and the paid status arrives later from the payment callback. The SDK firing at checkout in the app counts orders whose payment never completed, so the reliable event is server-to-server, sent when the order history update moves the order into a paid status.
That requires the appsflyer_id on the order, and OpenCart has no column for it. Have the app pass it with the order request and store it in a custom field or a side table keyed on order_id; without it, the server event has no device to attribute to. Then choose one sender: if the app SDK also logs the purchase, switch it off or share a deduplication key, or AppsFlyer forwards double revenue to every network downstream.
Value and currency come from OpenCart's order total in the default currency, with the matching currency code, sent as the in-app event's revenue. For refunded statuses, send a reversal only if your AppsFlyer setup and the receiving networks handle negative revenue; check before assuming. For a web-only OpenCart store, AppsFlyer adds nothing over web tracking and is not worth installing.
OpenCart → AppsFlyer · what breaks
Why this join usually fails — OpenCart → AppsFlyer
- 01
The AppsFlyer device identifier, appsflyer_id 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.
- 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.
- 03
Web conversions sent to a mobile attribution platform
This is the common error and it produces confident nonsense. A purchase made on your website has no device identifier and no install behind it. AppsFlyer will either discard it or attribute it to nothing, and the revenue disappears somewhere between the two systems without anyone noticing it went.
- 04
Nothing reconciles afterwards
AppsFlyer shows the event on the raw data export with its attributed media source. Check the raw export, not the aggregate dashboard, and confirm the event carries a device identifier rather than landing as organic.
OpenCart → AppsFlyer · the fix
What working looks like — OpenCart → AppsFlyer
The AppsFlyer device identifier, appsflyer_id on every order
Conversions arriving in AppsFlyer
The event is attributed to the install source, forwarded to whichever networks are configured, and appears in the cohort reporting.
Reconciled against the source
OpenCart → AppsFlyer · architecture
How OpenCart and AppsFlyer actually connect
- 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
AppsFlyer needs a click to match
AppsFlyer needs the device identifier and an event name it recognizes, plus the revenue value for in-app purchases. A server event about a user with no linked device cannot be attributed to an install.
- 3
The identifier is the bridge
The AppsFlyer device identifier, appsflyer_id, captured at the visit and carried into the OpenCart order.
- 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
Deduplication at the destination
AppsFlyer deduplicates in-app events by its own event identifier. Sending the same purchase from both the SDK and your server produces two events and double-counts revenue in every dashboard downstream, including the ad networks AppsFlyer forwards to.
OpenCart → AppsFlyer · normal or broken
Working vs. broken, side by side — OpenCart → AppsFlyer
Normal, not a fault
The AppsFlyer device identifier, appsflyer_id present on the order
Sent from the OpenCart order record
Deduplicated correctly
AppsFlyer deduplicates in-app events by its own event identifier. Sending the same purchase from both the SDK and your server produces two events and double-counts revenue in every dashboard downstream, including the ad networks AppsFlyer forwards to.
Reconciles with the source
Actually broken
The AppsFlyer device identifier, appsflyer_id 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
This is the common error and it produces confident nonsense. A purchase made on your website has no device identifier and no install behind it. AppsFlyer will either discard it or attribute it to nothing, and the revenue disappears somewhere between the two systems without anyone noticing it went.
Nobody has reconciled it
OpenCart → AppsFlyer · diagnose
Diagnostic order — OpenCart → AppsFlyer
- 01
Count orders carrying the AppsFlyer device identifier, appsflyer_id
- 02
Follow one real conversion end to end
- 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.
- 04
Check what share of your revenue happens in the app at all
If most purchases are on the web, AppsFlyer is not your conversion destination and the work belongs somewhere else entirely.
- 05
Read the match rate, not the success message
AppsFlyer shows the event on the raw data export with its attributed media source. Check the raw export, not the aggregate dashboard, and confirm the event carries a device identifier rather than landing as organic.
OpenCart → AppsFlyer · prove
How it gets proven — OpenCart → AppsFlyer
Source of truth
OpenCart orders by order status, with the statuses that mean paid agreed explicitly.
- The AppsFlyer device identifier, appsflyer_id confirmed present on a live order.
- In-app revenue events reconciled per transaction against your billing system, with the organic share stated rather than assumed away.
- Orders in paid statuses reconciled against the payment gateway's settled total for a closed week.
OpenCart → AppsFlyer · free audit
What we check in the free audit
- Count orders carrying the AppsFlyer device identifier, appsflyer_id
- Follow one real conversion end to end
- List the order statuses in use and agree which mean money received
- Check what share of your revenue happens in the app at all
- Read the match rate, not the success message
Checked against
OpenCart orders by order status, with the statuses that mean paid agreed explicitly.
Free30 minutesNo obligation
OpenCart → AppsFlyer · when not to buy
When you don't need this — OpenCart → AppsFlyer
- Measure identifier coverage yourself first — pull your last hundred orders and count how many carry the AppsFlyer device identifier, appsflyer_id.
- If the store runs an unmaintained checkout extension, fixing or replacing that comes before any tracking work.
- If you have no mobile app, this is not a destination for you. If you have one but sell mostly on the web, send web conversions to your ad platforms directly and use AppsFlyer only for install and in-app events.
OpenCart → AppsFlyer · what we deliver
What gets built — OpenCart → AppsFlyer
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 AppsFlyer
The AppsFlyer server-to-server events API, posted from your billing system with the device identifier and revenue.
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.
From $400 · See packages
FAQ
OpenCart → AppsFlyer questions, answered
From OpenCart, when the order reaches a paid status, so failed payments are never counted. Keep the app SDK purchase event off or deduplicated.
OpenCart has no field for it, so use a custom field or your own table keyed on order_id, written when the app submits the order.
Almost always because the AppsFlyer device identifier, appsflyer_id never reached the OpenCart order. Third-party checkout and payment extensions bypass the core order flow, so the identifier can be dropped inside a plugin nobody has read. Measure coverage before debugging the dispatch.
AppsFlyer assigns its own device ID and matches installs to clicks through referrer data on Android and Apple's frameworks on iOS. There is no durable cross-device identifier. On iOS without ATT consent, attribution falls back to SKAdNetwork, which returns aggregated conversion values on a delay with no user-level detail at all — so a share of your installs will be attributable only in aggregate, permanently.
The OpenCart order record. Send orders whose status is in the agreed paid list, at the order total excluding shipping and tax.
AppsFlyer shows the event on the raw data export with its attributed media source. Check the raw export, not the aggregate dashboard, and confirm the event carries a device identifier rather than landing as organic.
More on OpenCart → AppsFlyer
- Stripe → AppsFlyerConnecting Stripe to AppsFlyer
- PayPal → AppsFlyerConnecting PayPal to AppsFlyer
- Shopify → AppsFlyerConnecting Shopify to AppsFlyer
RELATED GUIDES
Where OpenCart → AppsFlyer fits in the rest of your tracking
- WooCommerce Subscriptions → AppsFlyerConnecting WooCommerce Subscriptions to AppsFlyer
- SureCart → AppsFlyerConnecting SureCart to AppsFlyer
- WooCommerce → AppsFlyerConnecting WooCommerce to AppsFlyer
- Furniture ecommerceConversion tracking for furniture ecommerce, measured after delivery
- Braintree → AppsFlyerConnecting Braintree to AppsFlyer
- Ecwid → AppsFlyerConnecting Ecwid to AppsFlyer
- Shopify → AppsFlyerConnecting Shopify to AppsFlyer
- nopCommerce → AppsFlyerConnecting nopCommerce to AppsFlyer
Free · 30 min
Get OpenCart and AppsFlyer joined properly
Free30 minutesNo obligation
