Channel Intelligence Script / Nextag ROI Script formatting


Example usage:

Channel Intelligence script format:

<script language="JavaScript">
    var CI_OrderID = '##ORDERID##';
    var CI_ItemIDs = new Array('SKU1','SKU2');
    var CI_ItemQtys = new Array('SKU1 QTY','SKU2 QTY');
    var CI_ItemPrices = new Array('SKU1 PRICE','SKU2 PRICE');
</script>
<script src="_confirmation.js">https://cts-secure.channelintelligence.com/<PARTNER-ID>_confirmation.js"></script>

With the new merges:

<script language="JavaScript">
    var CI_OrderID = '##ORDERID##';
    var CI_ItemIDs = new Array(##ORDERITEMLISTQUOTED##);
    var CI_ItemQtys = new Array(##ORDERQUANTITYLISTQUOTED##);
    var CI_ItemPrices = new Array(##ORDERPRICELISTQUOTED##);
</script>
<script src="_confirmation.js">https://cts-secure.channelintelligence.com/<PARTNER-ID>_confirmation.js"></script>

Resulting output when placed in the Store Settings Place Order script section:

<script language="JavaScript">
    var CI_OrderID = '100506';
    var CI_ItemIDs = new Array('fasfsdasdfdsfdsfds',",'ITEMNR123123');
    var CI_ItemQtys = new Array('1','2','3');
    var CI_ItemPrices = new Array('2295.00','0.00','5.00');
</script>
<script src="_confirmation.js">https://cts-secure.channelintelligence.com/<PARTNER-ID>_confirmation.js"></script>


Nextag ROI script format:

<script type="text/javascript">
<!--
/* NexTag ROI Optimizer Data */
    var id = '111111';
    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>

With the new merges:


<script type="text/javascript">
<!--
/* NexTag ROI Optimizer Data */
    var id = '111111';
    var rev = '<##ORDERTOTAL##>';
    var order = '<##ORDERID##>';
    var cats = '<##ORDERCATEGORYLISTPIPESEPARATED##>';
    var prods = '<##ORDERITEMLISTPIPESEPARATED##>';
    var units = '<##ORDERQUANTITYLISTPIPESEPARATED##>';
//-->
</script>
<script type="text/javascript" src="https://imgsrv.nextag.com/imagefiles/includes/roitrack.js"></script>

Resulting output when placed in the Store Settings Place Order script section:

<script type="text/javascript">
<!--
/* NexTag ROI Optimizer Data */
    var id = '111111';
    var rev = '<33168.91>';
    var order = '<100503>';
    var cats = '<Electronics|Action|Comedy|Action>';
    var prods = '<fasfsdasdfdsfdsfds|ITEMNR123123|ItemNr21231231|5555555>';
    var units = '<13|2|1|2>';
//-->
</script>
<script type="text/javascript" src="https://imgsrv.nextag.com/imagefiles/includes/roitrack.js"></script>

How helpful was this article?
Number of questions: 0