Skip to main content
Fires when an order is completed. This is the most important e-commerce event — it’s used for conversion tracking, ROAS calculation, and optimization across all ad platforms.
Shopify: Automatically tracked on the order confirmation page (thank you page) and via server-side webhooks.

JavaScript

The third parameter ('ORD_12345') is a deduplication ID. It prevents duplicate purchase events from being sent to destinations if the event fires multiple times.
Minimal example:

Properties

Important: The value property should match what you want reported to ad platforms. Discrepancies between Shopify order totals and reported CAPI revenue are the most common attribution debugging issue.

When to Fire

  • Order confirmation page load
  • After successful payment confirmation
  • Shopify orders/create webhook (server-side)