I just set up a Shopping.com account for my OC store products (using an XML feed) and wanted to take advantage of their new feature, starting January 2013 - ROI Tracker. Since, I'll be paying for any visitors that they'd be bringing to my website, I thought I'd rather have the data and be able to analyze how my Shopping campaign is doing.
I'm supposed to paste the code below into my post-checkout page and populate it with my own data (the stuff that's before the "//"), like "setMerchantId", etc. My question is where can I find all these that are specific for OC so that the script can effectively communicate with Shopping.com?
Any help or pointing in the right direction is greatly appreciated!!

Code: Select all
<script type="text/javascript">
var _roi = _roi || [];
// Step 1: add base order details
_roi.push(['_setMerchantId', '513279']); // required
_roi.push(['_setOrderId', '']); // unique customer order ID
_roi.push(['_setOrderAmount', '']); // order total without tax and shipping
_roi.push(['_setOrderNotes', '']); // notes on order, up to 50 characters
// Step 2: add every item in the order
// where your e-commerce engine loops through each item in the cart and prints out _addItem for each
// please note that the order of the values must be followed to ensure reporting accuracy
_roi.push(['_addItem',
'', // Merchant sku
'', // Product name
'', // Category id
'', // Category name
'', // Unit price
'' // Item quantity
]);
// Step 3: submit transaction to SDC ROI tracker
_roi.push(['_trackTrans']);
</script>
<script type="text/javascript" src="https://stat.dealtime.com/ROI/ROI2.js"></script>