Passing variables from javascript array through url based tracking

Passing variables from javascript array through url based tracking

Hi,

I have an online store which is powered by Volusion Shopping Cart and am trying to get the tracking code for the affiliate network we use (Monetise) to pass the order number and order value through the networks tracking url.

The tracking url from the network is:

<script type="text/javascript" src="http://monetisetrk.co.uk/p.ashx?o=126&f= js &t=ORDERNO&p=ORDERVALUE])"></script>

Volusion stores the order details in a javascript array and originally I tried adding the relevant variables into the tracking url as below however whilst this allows the network to see that an order has been placed it does not pass the relevant order details to them:

<script src="http://monetisetrk.co.uk/p.ashx?o=126&f=js&t=Order[0]&p=Order[2]" type="text/javascript"></script>

Would anyone be able to help me amend the tracking url to capture and pass the relevant javascript array variables through to the network?

Kind Regards

Jon