Information on available variables on the receipt page of the checkout can be found here http://kb.worldsecuresystems.com/134/bc_1342.html#main_eCommerce
<script type="text/javascript">
<!--
var value="{tag_amount}"; //Value of sale
var ref="{tag_orderid}"; //Your unique reference
var mid="XXXX";
var goalid="XXXX";
//-->
</script>
<script type="text/javascript" src="https://aflite.co.uk/js/track.js"></script>