Post by Bg-foxx » Mon Jan 07, 2013 4:34 am

Hello everybody.

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>

New member

Posts

Joined
Wed Feb 22, 2012 7:55 am

Post by Bg-foxx » Wed Jan 09, 2013 8:46 am

Trying again..

Does anyone know what should I replace these generic parameters (below) with the same parameters, specific for OC?

_setMerchantId
_setOrderId
_setOrderAmount
_setOrderNotes

'', // Merchant sku
'', // Product name
'', // Category id
'', // Category name
'', // Unit price
'' // Item quantity

New member

Posts

Joined
Wed Feb 22, 2012 7:55 am
Who is online

Users browsing this forum: Bing [Bot] and 36 guests