Skip to main content

node-tracker.ecommercetransactionevent

Home > @snowplow/node-tracker > EcommerceTransactionEvent

EcommerceTransactionEvent interface

An Ecommerce Transaction Event Allows for tracking common ecommerce events, this event is usually used when a customer completes a transaction.

Signature:
interface EcommerceTransactionEvent 

Properties

PropertyTypeDescription
affiliation?string(Optional) Transaction affiliation (e.g. store where sale took place)
city?string(Optional) Delivery address, city
country?string(Optional) Delivery address, country
currency?string(Optional) Currency of the transaction
orderIdstringAn identifier for the order
shipping?number(Optional) The amount of shipping costs for this transaction
state?string(Optional) Delivery address, state
tax?number(Optional) The amount of tax on the transaction
totalnumberThe total value of the order