Tracking COD and delayed-purchase orders the right way
Cash-on-delivery breaks the standard purchase event. Here's the pattern Tagify uses to keep attribution intact across confirmation, fulfilment and refund.
If you run COD in South Asia, the Middle East or LATAM, you already know the pain: 30–50% of placed orders never get fulfilled, but every platform's pixel fires a Purchase event the moment checkout completes. You end up training Meta and TikTok to optimise for orders that won't pay.
The three-step pattern
- Fire an InitiateCheckout server event at order placement — counted, not optimised on.
- Fire the Purchase event only after the order is confirmed (call centre, WhatsApp confirmation or webhook from your shipping partner).
- Fire a Refund / value-correction event when the order is returned or rejected, so platforms learn the real revenue.
How Tagify Gateway does it
The Gateway exposes a single endpoint that accepts state transitions: placed, confirmed, shipped, delivered, returned. Each transition maps to the correct ad-platform event with the right monetary value. You wire it once at the warehouse or call-centre system — no front-end changes needed.
Result: ROAS numbers that actually match your bank account, and ad platforms that finally learn which audiences pay versus which audiences just click 'order'.