This goes on my order completed page.
This should take 5-mins for any experienced coder.
All you have to do is get it to loop for each item purchased (see code below).
<!– Begin cashback Tracking Pixel Code -->
var jf_merchant_id =
var jf_merchant_order_num = 'ORDER_NUMBER';
var jf_purchased_items = new Array();
// adding cart items
FOR EACH PURCHASED ITEM...
// add cart item
var jf_item = new Object();
[url removed, login to view] = 'ITEM_PRODUCT_ID';
[url removed, login to view] = 'ITEM_PRICE';
[url removed, login to view] = ITEM_QUANTITY;
[url removed, login to view] (jf_item);
NEXT PURCHASED ITEM
'[url removed, login to view]'>
<!-- End cashback Tracking Pixel Code -->
Here are the variables that my shopping cart uses. Replace the items above with the correct variables. For example, you would replace ORDER_NUMBER above with Order
Order Array Contents:
* Order = Order ID
OrderDetails Array Contents:
* OrderDetails[X] = Order ID
* OrderDetails[X] = Product Code
* OrderDetails[X] = Product Price
* OrderDetails[X] = Quantity
Note that in the above example, X refers to a line item number (beginning from zero). Note that there can be multiple OrderDetails arrays - one for each item contained within an order.