I'll go into more detail.
I have two tracking codes I need to install:
1) Advertise.com
<script language=javascript src=http://www.advconversion.com/ads-conversiontrack/conversion/track.do?type=html&advertiserId=66718></script>
2) Shopping.com
<script type="text/javascript">
var _roi = _roi || [];
// Step 1: add base order details
_roi.push(); // required
_roi.push(); // unique customer order ID
_roi.push(); // order total without tax and shipping
_roi.push(); // 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 ECN ROI tracker
_roi.push();
</script>
<script type="text/javascript" src="
stat.dealtime.com/ROI/ROI2.js
"></script>
I have no idea why the Advertise.com code didn't work since it doesn't appear to have any variables. W/ the shopping.com I followed hints from your other posts here:
www.hikashop.com/support/forum/4-how-to/...omfirmaion-page.html
www.hikashop.com/forum/4-how-to/68067-tr...get-cart-values.html
With that information, I entered this which DID NOT WORK:
$app =& JFactory::getApplication();
$order_id = $app->getUserState(HIKASHOP_COMPONENT.'.order_id');
$orderClass = hikashop::get('class.order');
$order = $orderClass->get($order_id);
<script type="text/javascript">
var _roi = _roi || [];
// Step 1: add base order details
_roi.push(); // required
_roi.push(); // unique customer order ID
_roi.push(); // order total without tax and shipping
_roi.push(); // 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 ECN ROI tracker
_roi.push();
</script>
<script type="text/javascript" src="
stat.dealtime.com/ROI/ROI2.js
"></script>
An actual document page on this topic would be very helpful rather than another forum topic.