Hi All
I'm running a campaign with NexTag and would like to add their their ROI conversion code to the checkout success page.
They have standard or advanced tracking, at a minimum it needs order # and order total. The advanced also wants products ordered and categories and a bit more stuff.
So, at a minimum, I'd like to know how to enter the Zen Order ID and Order total in the basic code, and the correct file to place it in. The advanced tracking would be great to have, but it looks a bit involved, maybe NexTag should write a zc mod for that.
Thanks
Basic Code:
Advanced Code:PHP Code:<script type="text/javascript">
<!--
/* NexTag ROI Optimizer Data */
var id = 'nextag user id';
var rev = '<REVENUE>';
var order = '<ORDER ID>';
//-->
</script>
<script type="text/javascript" src="https://imgsrv.nextag.com/imagefiles/includes/roitrack.js"></script>
PHP Code:<script type="text/javascript">
<!--
/* NexTag ROI Optimizer Data */
var id = 'nextag user id';
var rev = '<REVENUE>';
var order = '<ORDER ID>';
var cats = '<CATEGORY1|CATEGORY2|CATEGORY3|...>';
var prods = '<PRODUCT1|PRODUCT2|PRODUCT3|...>';
var units = '<UNITS1|UNITS2|UNITS3|...>';
//-->
</script>
<script type="text/javascript" src="https://imgsrv.nextag.com/imagefiles/includes/roitrack.js"></script>
Definitions:
<REVENUE> — specifies the sales amount of the current purchase.
<ORDER ID> — specifies your store's Order ID for the current purchase
<CATEGORY1|CATEGORY2|CATEGORY3|...> — specifies your store's categories for each product purchased in the order.
<PRODUCT1|PRODUCT2|PRODUCT3|...> — specifies your store's product name for each product purchased in the order. This variable is used to ensure that we have matched the sale to the correct click. Since each order may contain a different number of products, your code will need to dynamically create the list of products based on the number of products in the order. Each product is separated by a pipe-character.
<UNITS1|UNITS2|UNITS3|...> — specifies the number of units purchased for each product in the order. This variable is used to improve the accuracy of your reports. Since each order may contain a different number of products, your code will need to dynamically create the list of units based on the number of products in the order. Each unit is separated by a pipe-character.


)
