Skip to content

Latest commit

 

History

History
28 lines (20 loc) · 1.69 KB

File metadata and controls

28 lines (20 loc) · 1.69 KB

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

Property Type Description
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
orderId string An 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
total number The total value of the order