Home > @snowplow/node-tracker > buildEcommerceTransaction
Build an Ecommerce Transaction Event Allows for tracking common ecommerce events, this event is usually used when a consumer completes a transaction.
Signature:
declare function buildEcommerceTransaction(event: EcommerceTransactionEvent): PayloadBuilder;| Parameter | Type | Description |
|---|---|---|
| event | EcommerceTransactionEvent | Contains the properties for the Ecommerce Transactoion event |
Returns:
PayloadBuilder
PayloadBuilder to be sent to