node-tracker.buildecommercetransactionitem
Home > @snowplow/node-tracker > buildEcommerceTransactionItem
buildEcommerceTransactionItem() function
Build an Ecommerce Transaction Item Event Related to the buildEcommerceTransaction() Each Ecommerce Transaction may contain one or more EcommerceTransactionItem events
Signature:declare function buildEcommerceTransactionItem(event: EcommerceTransactionItemEvent): PayloadBuilder;
Parameters
Parameter | Type | Description |
---|---|---|
event | EcommerceTransactionItemEvent | Contains the properties for the Ecommerce Transaction Item event |
PayloadBuilder
PayloadBuilder to be sent to