CHAVOUSA
VP-CART New User
USA
86 Posts |
Posted - November 27 2004 : 13:03:01
|
I signed up for BizRates product listing and they have a script available for merchants so they can measure the ROI. I tried using it on the shopthanks.asp page but get a message 'Type Mistmatch' when it gets to the product total variable. Can anyone please help?
The values for the 3 variables I am getting them from the current session and already have them defined:
ordernumber=Getsess("oid") ordertotalcurr=Getsess("OrderProductTotal") ordercount=Getsess("CartCount")
Here is the script from BizRate modified by me:
%> <script language="javascript"> <!-- /* ROI Tracking Data */ var mid = ''; var cust_type = ''; var order_value = '<%ordertotalcurr%>'; var order_id = '<%ordernumber%>'; var units_ordered = '<%ordercount%>'; //--> </script> <script language="javascript" src="https://www.bizrate.com/css/roi_tracker.js"></script> <%
note: One thing that I noticed was that when I use the closing and opening characters <% and %> in the script, the values don't change color, as they usually do in FrontPage to define asp coding.
|
|