Forum Moderators: DixonJones
<script>
// for Ecommstats
arielSetOrderID ('<%=ORDER_ID%>'); // must be unique
arielSetTotal(<%=ORDER_TOTAL%>);
</script>
... The instructions given to me by them are as follows: "Replace the variables ORDER_ID and ORDER_TOTAL with the variables created by your e-commerce system. The names of these will vary depending on the system you use."
Now, the two variable names that I will be using (taken from my shopping cart page) are as follows:
*!addr_email!*
*!Grand_total!*
obviously the variable *!Grand_total!* is the ORDER_TOTAL variable and the unique ID will be *!addr_email!*
I have emailed the ecommstats support people but since it's a friday evening I don't expect to hear from them right away, which is why I thought someone here might quickly be able to give me a hand.
The problem is that I can't seem to get the syntax correct when I put my variable names into their script. This means that when I load my shopping cart I get errors on the page, and obviously the information that I'm trying to track isn't being tracked because of these errors in the syntax of the script.
Anyone?