E
Edwin Hannan
Hi All, hope some one can help
I have been asked to put some tracking code on a confirmation page, in
between the body tags. see code at end of message
I need to get the clients email into the variable wgOrderReference
I have a confirmation field Email (in code looks like this <!--webbot
bot="ConfirmationField" S-Field="Email" -->
Ho do I do this?
Thanks for any help
Ed
edwinDOThannanATntlworldDOTcom
FP2k and FP2003
******************* Javascript Tracking Code ***********************8
<script language="javascript" type="text/javascript">
<!--
var wgOrderReference = Confirmation field Email;
var wgOrderValue = "0";
var wgEventID = 111;
var wgComment = "";
var wgLang = "en_GB";
var wgsLang = "javascript-client";
var wgVersion = "1.1";
var wgProgramID = 111;
var wgSubDomain = "track";
var wgCheckSum = "";
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);
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.1&wgprogramid=411&wg
rs=1&wgvalue=123&wgeventid=722&wgorderreference=myorder reference" alt="" />
</noscript>
<!-- </webgains tracking code> -->
I have been asked to put some tracking code on a confirmation page, in
between the body tags. see code at end of message
I need to get the clients email into the variable wgOrderReference
I have a confirmation field Email (in code looks like this <!--webbot
bot="ConfirmationField" S-Field="Email" -->
Ho do I do this?
Thanks for any help
Ed
edwinDOThannanATntlworldDOTcom
FP2k and FP2003
******************* Javascript Tracking Code ***********************8
<script language="javascript" type="text/javascript">
<!--
var wgOrderReference = Confirmation field Email;
var wgOrderValue = "0";
var wgEventID = 111;
var wgComment = "";
var wgLang = "en_GB";
var wgsLang = "javascript-client";
var wgVersion = "1.1";
var wgProgramID = 111;
var wgSubDomain = "track";
var wgCheckSum = "";
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);
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.1&wgprogramid=411&wg
rs=1&wgvalue=123&wgeventid=722&wgorderreference=myorder reference" alt="" />
</noscript>
<!-- </webgains tracking code> -->