Hi - Affiliate Windows have recently upgraded their tracking code as their old tracking code was falling victim to some anti spyware products.
This is the old code (which I have populated with the Actinic variables):
This is the new code (which I have populated with the Actinic variables):
This code works fine for a site I developed (a long time ago) in version 5 but not for a site developed in v7.06. I have tested this with code provided by AW.
I reported this to AW but the reply I had appears to be a real kop out which is:
I have reverted back to the old code for the V7 site and it is now reporting sales again.
I have grabbed the HTML code from the receipt pages of v7 site which includes the new AW tracking code and is displayed below:
Has anybody else had this problem? Would someone from Actinic like to comment on this?
This is the old code (which I have populated with the Actinic variables):
<img src="http://www.awin1.com/sale.php?sale=NETQUOTEVAR:NUMERICORDERTOTALCGI&extra=NETQUOTEVAR:THEORDERNUMBER&mid=xxxx&parts=default:NETQUOTEVAR:NUMERICORDERTOTALCGI">
<script language="JavaScript" type="text/javascript">
<!--
/*** Set your transaction parameters ***/
var aw_mid = 'xxxx';
var aw_sale = 'NETQUOTEVAR:NUMERICORDERTOTALCGI';
var aw_extra = 'NETQUOTEVAR:THEORDERNUMBER';
var aw_parts = 'Default:NETQUOTEVAR:NUMERICORDERTOTALCGI';
var aw_test = '0';
/*** Do not edit below here. ***/
call = location.protocol.toLowerCase()+"//www.aw";
call += "in1.co"+"m/sread.j"+"s?a="+aw_mid+"&b="+aw_sale+"&c="+aw_extra+"&d="+aw_parts;
call += "&t="+aw_test+"&l="+escape(window.location.href)+"&tv=1.0";
document.write("<s"+"cript language=\"JavaS"+"cript\" type=\"text/javas"+"cript\" src=\""+call+"&tt=js\" id=\"aw_tag\"></s"+"cript>");
var oImage = new Image;
oImage.src = call+"&tt=ia";
-->
</script>
<noscript>
<img src="https://www.awin1.com/sread.img?tt=ns&tv=1.0&merchant=1259&amount=NETQUOTEVAR:NUMERICORDERTOTALCGI&ref=NETQUOTEVAR:THEORDERNUMBER
&parts=Default:NETQUOTEVAR:NUMERICORDERTOTALCGI&testmode=0" />
</noscript>
<!--
/*** Set your transaction parameters ***/
var aw_mid = 'xxxx';
var aw_sale = 'NETQUOTEVAR:NUMERICORDERTOTALCGI';
var aw_extra = 'NETQUOTEVAR:THEORDERNUMBER';
var aw_parts = 'Default:NETQUOTEVAR:NUMERICORDERTOTALCGI';
var aw_test = '0';
/*** Do not edit below here. ***/
call = location.protocol.toLowerCase()+"//www.aw";
call += "in1.co"+"m/sread.j"+"s?a="+aw_mid+"&b="+aw_sale+"&c="+aw_extra+"&d="+aw_parts;
call += "&t="+aw_test+"&l="+escape(window.location.href)+"&tv=1.0";
document.write("<s"+"cript language=\"JavaS"+"cript\" type=\"text/javas"+"cript\" src=\""+call+"&tt=js\" id=\"aw_tag\"></s"+"cript>");
var oImage = new Image;
oImage.src = call+"&tt=ia";
-->
</script>
<noscript>
<img src="https://www.awin1.com/sread.img?tt=ns&tv=1.0&merchant=1259&amount=NETQUOTEVAR:NUMERICORDERTOTALCGI&ref=NETQUOTEVAR:THEORDERNUMBER
&parts=Default:NETQUOTEVAR:NUMERICORDERTOTALCGI&testmode=0" />
</noscript>
I reported this to AW but the reply I had appears to be a real kop out which is:
Thank you for sending the code over. It looks like the values for sale
amount and parts are not being parsed through correctly. It is likely to be
the variable that is used to parse the information to the tracking code is
wrong. You may need to speak to Actinic to check on the variable that needs
to be used to parse this information.
amount and parts are not being parsed through correctly. It is likely to be
the variable that is used to parse the information to the tracking code is
wrong. You may need to speak to Actinic to check on the variable that needs
to be used to parse this information.
I have grabbed the HTML code from the receipt pages of v7 site which includes the new AW tracking code and is displayed below:
<script language="JavaScript" type="text/javascript">
<!--
/*** Set your transaction parameters ***/
var aw_mid = 'xxxx';
var aw_sale = '15%2e94';
var aw_extra = 'DTTEST10000144';
var aw_parts = 'Default:15%2e94';
var aw_test = '0';
/*** Do not edit below here. ***/
call = location.protocol.toLowerCase()+"//www.aw";
call += "in1.co"+"m/sread.j"+"s?a="+aw_mid+"&b="+aw_sale+"&c="+aw_extra+"&d="+aw_parts;
call += "&t="+aw_test+"&l="+escape(window.location.href)+"&tv=1.0";
document.write("<s"+"cript language=\"JavaS"+"cript\" type=\"text/javas"+"cript\" src=\""+call+"&tt=js\" id=\"aw_tag\"></s"+"cript>");
var oImage = new Image;
oImage.src = call+"&tt=ia";
-->
</script><noscript><img src="https://www.awin1.com/sread.img?tt=ns&tv=1.0&merchant=xxxx&amount=15%2e94&ref=DTTEST10000144&parts=Default:15%2e94&testmode=0" /></noscript>
<!--
/*** Set your transaction parameters ***/
var aw_mid = 'xxxx';
var aw_sale = '15%2e94';
var aw_extra = 'DTTEST10000144';
var aw_parts = 'Default:15%2e94';
var aw_test = '0';
/*** Do not edit below here. ***/
call = location.protocol.toLowerCase()+"//www.aw";
call += "in1.co"+"m/sread.j"+"s?a="+aw_mid+"&b="+aw_sale+"&c="+aw_extra+"&d="+aw_parts;
call += "&t="+aw_test+"&l="+escape(window.location.href)+"&tv=1.0";
document.write("<s"+"cript language=\"JavaS"+"cript\" type=\"text/javas"+"cript\" src=\""+call+"&tt=js\" id=\"aw_tag\"></s"+"cript>");
var oImage = new Image;
oImage.src = call+"&tt=ia";
-->
</script><noscript><img src="https://www.awin1.com/sread.img?tt=ns&tv=1.0&merchant=xxxx&amount=15%2e94&ref=DTTEST10000144&parts=Default:15%2e94&testmode=0" /></noscript>
Comment