Hi,
Very new here but if anyone can help I'd be very very grateful.
I need to output the order total and customer or order id to the following javascript that sends this info to a referer as part of a points reward system operated by a third party the code is:
anyidea how to do this?Code:<Script Language="JavaScript"> <!--//Begin var winName = top.window.name; var winNameArray = winName.split("_"); var MemberID = winNameArray[1]; var OfferID = winNameArray[2]; var transaction_value = 'WRITE_OUT_VALUE_OF_TRANSACTION_HERE'; var unique_identifier = 'WRITE_OUT_UNIQUE_IDENTIFIER_HERE'; if (top.window.name.substring(0,17)=="PigsBackMemberID_") { document.write('<img src="https://www.pigsback.com/pb/callback.asp?mid='+MemberID+'&oid='+OfferID+'&desc='+transaction_value+'&uid='+unique_identifier+'" width="1" height="1">'); } //--> </Script>





LinkBack URL
About LinkBacks






Bookmarks