PDA

View Full Version : Variables in receipt page for affiliate tracking



paul
11-10-2007, 14:39
This relates to the information available in the receipt page we can send to affialiates eg shopzilla/kelkoo to track conversions. This is similar to the thread on google analytics here:
http://www.bluepark.co.uk/forums/showthread.php?t=78

The code below is example code and relates to Shopzilla. This code is inserted in Configuration/Order/Conversion code. But are the variables below available to call?

<script language="javascript">
<!--
/* Performance Tracking Data */
var mid = '';
var cust_type = '';
var order_value = '';
var order_id = '';
var units_ordered = '';
//-->
</script>
<script language="javascript" src="<A href="https://www.shopzilla.com/css/roi_tracker.js"></script">https://www.shopzilla.com/css/roi_tracker.js"></script>

Rich
11-10-2007, 18:28
This code will go in Site -> Configuration: Order, inside the Conversion Code field. The "order_id" and "order_value" variables above can be set to %order and %total which will be converted to the relevant values for a successful transaction. The code will only be displayed on the Payment Successful page.