knut89
June 8, 2016, 12:00am
#1
Hi
I was trying to add a sales tracing code.
I put the code in a HTML block, in the order landing page(but it did not work).
Do I need to edit the code?
< script type ="text/javascript" >
(function () {
adrecord = {
"programID" : 721(721 did I put in, it is my programID code)
"orderID" :
"orderValue" :
};
var e= document .createElement ('script' ); e.src= document .location.protocol + '//track.adrecord.com/track.js' ;
var s= document .getElementsByTagName ('body' )[0 ]; s.appendChild (e);
})();
script >
More info: http://track.adrecord.com/docs.php
Hi
I was trying to add a sales tracing code.
I put the code in a HTML block, in the order landing page(but it did not work).
Do I need to edit the code?
< script type ="text/javascript" >
(function () {
adrecord = {
"programID" : 721(721 did I put in, it is my programID code)
"orderID" :
"orderValue" :
};
var e= document .createElement ('script' ); e.src= document .location.protocol + '//track.adrecord.com/track.js' ;
var s= document .getElementsByTagName ('body' )[0 ]; s.appendChild (e);
})();
script >
More info: http://track.adrecord.com/docs.php
You can insert your code into the Custom HTML code text area on the editing page of the Order landing page layout page. In order to do that please open the Design > Layouts > Order landing page page in the CS-Cart admin panel and click on the gear icon in the Order landing page tab.
Try to create HTML block with Smarty support to the Order landing layout page and use the following code:
(!) Not tested
knut89
June 9, 2016, 12:00am
#4
Thank you eComlabs, the code did work. Really appreciated :D