Generating a unique id in javascript

4 views
Skip to first unread message

Travis Reeder

unread,
Sep 10, 2006, 5:25:12 PM9/10/06
to ecommStats
You can use the following script if you do not have a unique id for
your order. This will make a unique id for you.

<script>
// for Ecommstats
var ecommDate = new Date();
arielSetOrderId(ecommDate.getTime());
arielSetTotal('1.0');
</script>

You can still change the price variable to your order amount.

Reply all
Reply to author
Forward
0 new messages