Tracking parameters configuration
-
Dear support,
I need help with the following code, I have to customize it in order to make it work for transactions tracking. All parameters with [] should be filled in.// First one var TDConf = TDConf || {}; TDConf.Config = { products:[ {id: "[product-id1]", price:"[price1]", currency:"[currency1]", name:"[product-name1]", qty:"[quantity1]"}, {id: "[product-id2]", price:"[price2]", currency:"[currency2]", name:"[product-name1]", qty:"[quantity2]"}, /*...*/ ], containerTagId : "XXXXX" }; // Second one var TDConf = TDConf || {}; TDConf.Config = { products:[ {id: "[product-id1]", price:"[price1]", currency:"[currency1]", name:"[product-name1]"}, {id: "[product-id2]", price:"[price2]", currency:"[currency2]", name:"[product-name2]"}, /*...*/ ], Category_name : "[Name of category products]", containerTagId : "XXXXX" }; // Third one var TDConf = TDConf || {}; TDConf.Config = { productId: "[product-id]", category: "[main-category-name]", brand: "[brand]", productName: "[product-name]", productDescription: "[product-description]", price: "[price]", currency: "[currency]", url: "[click-url]", imageUrl: "[url-to-product-image]", containerTagId : "XXXXX" }; // Fourth one var TDConf = TDConf || {}; TDConf.Config = { products:[ {id: "[product-id1]", price:"[price1]", currency:"[currency1]", name:"[product-name1]",grpId:"[group-product-id1]", qty:"[quantity1]"}, {id: "[product-id2]", price:"[price2]", currency:"[currency2]", name:"[product-name1]",grpId:"[group-product-id2]", qty:"[quantity2]"}, /*...*/ ], orderId: "[orderId]", orderValue: "[orderValue]", currency: "[currency]", voucherCode: "[voucherCode]", validOn: "[validOn]", containerTagId : "XXXXX" };Could you help, please?
Thanks in advance.
Viewing 2 replies - 1 through 2 (of 2 total)
Viewing 2 replies - 1 through 2 (of 2 total)
The topic ‘Tracking parameters configuration’ is closed to new replies.