: Use new Date().getTime(); as transaction id. It is rather unlikely that two persons book a course at the exact same millisecond (the js above produces a timestamp) and as long as you
Use
new Date().getTime();
as transaction id. It is rather unlikely that two persons book a course at the exact same millisecond (the js above produces a timestamp) and as long as you do not have a backend that generates unique transaction ids this will do. Actually you would assign the value of the above expression to a variable and use that:
<script type="text/javascript">
var transid = new Date().getTime();
pageTracker._addTrans(
transid, // required
"",
"69",
"",
"",
"",
"",
""
);
pageTracker._addItem(
transid, // required
"",
"Piano voor Beginners",
"Cursussen",
"69", // required
"1" //required
);
pageTracker._trackTrans();
</script>
And you probably want to update your GA code, that looks like a really old version of the tracking code.
More posts by @Shanna517
Terms of Use Create Support ticket Your support tickets Stock Market News! © vmapp.org2024 All Rights reserved.