Forum Moderators: open

Message Too Old, No Replies

Tracking code for two Oveture accounts on one page

How to istall two tracking codes on one page

         

John

6:34 pm on Oct 13, 2004 (gmt 0)

10+ Year Member



I have Overture .com and Overture .co.uk both feeding traffic into the saem site so I generated two lots of tracking code and copied them into the head tag. initially it worked fine but now it has stopped working. Is it something to do with how the two Java scripts are laid out?

here is the head tag

How should they be laid out? One after the
other or nestd together?

Here is the current script.

<head><title>WorldPay Select</title>
<SCRIPT LANGUAGE="JavaScript">
<!-- Overture Services Inc. 07/15/2003
var cc_tagVersion = "1.0";
var cc_accountID = "**********";
var cc_marketID = "0";
var cc_protocol="http";
var cc_subdomain = "convctr";
if(location.protocol == "https:")
{
cc_protocol="https";
cc_subdomain="convctrs";
}
var cc_queryStr = "?" + "ver=" + cc_tagVersion + "&aID=" + cc_accountID +
"&mkt=" + cc_marketID +"&ref=" + escape(document.referrer);
var cc_imageUrl = cc_protocol + "://" + cc_subdomain +
".overture.com/images/cc/cc.gif" + cc_queryStr;
var cc_imageObject = new Image();
cc_imageObject.src = cc_imageUrl;
// -->

<SCRIPT LANGUAGE="JavaScript">
<!-- Overture Services Inc. 07/15/2003
var cc_tagVersion = "1.0";
var cc_accountID = "**********";
var cc_marketID = "1";
var cc_protocol="http";
var cc_subdomain = "convctr";
if(location.protocol == "https:")
{
cc_protocol="https";
cc_subdomain="convctrs";
}
var cc_queryStr = "?" + "ver=" + cc_tagVersion + "&aID=" + cc_accountID +
"&mkt=" + cc_marketID +"&ref=" + escape(document.referrer);
var cc_imageUrl = cc_protocol + "://" + cc_subdomain +
".overture.com/images/cc/cc.gif" + cc_queryStr;
var cc_imageObject = new Image();
cc_imageObject.src = cc_imageUrl;
// -->
</SCRIPT></SCRIPT>
</head>

Is there something obviously wrong

Thanks for your help

Regards

John Owen

[edited by: rogerd at 7:01 pm (utc) on Oct. 13, 2004]
[edit reason] Specifics edited [/edit]