Skip to main content
Sent by trackSale() when a completed purchase is tracked. The SDK emits the browser event cevoid:sale.complete and sends the internal event sale.complete. The browser event is emitted as cevoid:sale.complete. The forwarded payload is available on event.detail.

Payload fields

string
required
Order identifier.
string
Market identifier used for SKU resolution in telemetry.
string
Customer identifier.
string
required
ISO currency code.
number
required
Decimal major-unit amount in currency.Example: 129.99
string[]
Purchased SKUs used for telemetry-side product resolution.

Notes

  • Provide revenue in the same currency as currency, for example 129.99 with USD.
  • Use trackSale(data) for conversions rather than trackEvent('sale.complete', ...).