When the purchase transactions are complete, run the code below.
...
Note |
---|
The |
Code Block | ||
---|---|---|
| ||
var data = { "OM.tid" : transactionID, "OM.pp" : "Product1 Code;Product2 Code", "OM.pu" : "Product1 Quantity;Product2 Quantity", "OM.ppr" : "Product1 Price*Product1 Quantity;Product2 Price*Product2 Quantity", "OM.exVisitorID" : keyID }; visilabsApi.customEvent("Purchase", data); |
...