实际上,我将 joomla 与美德玛特一起使用,我想在感谢页面中添加 WebGains 的代码,问题是代码永远无法与 WebGains 正确连接
代码是 javascript 和 WebGains 的调用 url
<!-- <webgains tracking code> -->
<script language="javascript" type="text/javascript">
var wgOrderReference = "myorderreference";
var wgOrderValue = "0";
var wgEventID = 1341771;
var wgComment = "";
var wgLang = "es_ES";
var wgsLang = "javascript-client";
var wgVersion = "1.2";
var wgProgramID = 73451;
var wgSubDomain = "track";
var wgCheckSum = "";
var wgItems = "";
var wgVoucherCode = "";
var wgCustomerID = "";
if(location.protocol.toLowerCase() == "https:") wgProtocol="https";
else wgProtocol = "http";
wgUri = wgProtocol + "://" + wgSubDomain + ".webgains.com/transaction.html" + "?wgver=" + wgVersion + "&wgprotocol=" + wgProtocol + "&wgsubdomain=" + wgSubDomain + "&wgslang=" + wgsLang + "&wglang=" + wgLang + "&wgprogramid=" + wgProgramID + "&wgeventid=" + wgEventID + "&wgvalue=" + wgOrderValue + "&wgchecksum=" + wgCheckSum + "&wgorderreference=" + wgOrderReference + "&wgcomment=" + escape(wgComment) + "&wglocation=" + escape(document.referrer) + "&wgitems=" + escape(wgItems) + "&wgcustomerid=" + escape(wgCustomerID) + "&wgvouchercode=" + escape(wgVoucherCode);
document.write('<sc'+'ript language="JavaScript" type="text/javascript" src="'+wgUri+'"></sc'+'ript>');
</script>
<noscript>
<img src="http://track.webgains.com/transaction.html?wgver=1.2&wgprogramid=7401&wgrs=1&wgvalue=0&wgeventid=11771&wgorderreference=myorderreference&wgitems=&wgvouchercode=&wgcustomerid=" alt="" />
</noscript>
<!-- </webgains tracking code> -->
我从 db 和 right 获得订单 id 和总价的值,但是当我进入附属管理系统时,WebGains 的代码没有显示,没有显示付款或产品等
如果你能帮助我,谢谢!