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
Notes
- Provide
revenuein the same currency ascurrency, for example129.99withUSD. - Use
trackSale(data)for conversions rather thantrackEvent('sale.complete', ...).