node-tracker.buildecommercetransaction
Home > @snowplow/node-tracker > buildEcommerceTransaction
buildEcommerceTransaction() function
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;
Parameters
Parameter | Type | Description |
---|---|---|
event | EcommerceTransactionEvent | Contains the properties for the Ecommerce Transactoion event |
PayloadBuilder
PayloadBuilder to be sent to