Where should I place my Yahoo conversion tracking code?
This is my tracking code:
<SCRIPT language="JavaScript" type="text/javascript">
<!-- Yahoo! Inc.
window.ysm_customData = new Object();
window.ysm_customData.conversion = "transId=,currency=,amount=";
var ysm_accountid = "1GVJSDROJ4CLGCGC9VJJVN9QBV4";
document.write("<SCR" + "IPT language='JavaScript' type='text/javascript' "
+ "SRC=//" + "srv3.wa.marketingsolutions.yahoo.com" + "/script/ScriptServlet" + "?aid=" + ysm_accountid
+ "></SCR" + "IPT>");
// -->
</SCRIPT>
Hi versadial,
Try the JavaScript box - without the script tags. There's also a thread about this somewhere here.
Bob
That makes sense. I figured I would post the question before trying it live. Now all I need is a conversion in order to tell me it works. :wink:
Can I place the Bing JavaScript conversion code in that same area?
If so, what keeps them seperated if there are no script tags?
It looks like this:
<SCRIPT>
microsoft_adcenterconversion_domainid = 57725;
microsoft_adcenterconversion_cp = 5050;
</SCRIPT>
<SCRIPT SRC="https://0.r.msn.com/scripts/microsoft_adcenterconversion.js"></SCRIPT>
<NOSCRIPT><IMG width=1 height=1 SRC="https://57725.r.msn.com/?type=1&cp=1"/></NOSCRIPT><a href="http://advertising.msn.com/MSNadCenter/LearningCenter/adtracker.asp" target="_blank">::adCenter::</a>
Thanks Bob. I appreciate your feedback.
I'll try that and as soon as I get some Bing conversions I'll know if it worked.
If I have multiple Yahoo accounts for the various regions of the world, how do I use my multiple sets of yahoo conversion code? Could I place them all in the Form JavaScript area? Is there a special way to combine these sets of code in this area?
Hi versadial,
How do you know whicn one to use? Or do you just load them all on every page?
I don't think that there is any reason why you can't add them all into the JavaScript box, it's just not very elegant code.
Bob
What do you mean by, "How do I know which one to use"? Which Yahoo conversion tracking javascript code? Each Yahoo account from each country has a different javascript code. I want to track ALL conversions even though they are reported seperately in the different country accounts.
Hi versadial,
So you show all the conversion codes on each page?
Bob
No, I'm only using the conversion codes on the forms. When someone fills out the form it counts as a conversion and the conversion is recorded because of the JavaScript conversion code I place in the "Form code-Form HTML" area of Chronoforms admin.
So, if I am using the same form for several countries, how should I combine all the javascript codes for my different Yahoo accounts into the form javascript area?
I'm not a big Javascript guy so i wasn't sure how to combine them to be accepted in Chronoforms. I also wasn't aware of any other way to go about it.
Hi versadial,
I don't know what needs to be combined. Show me the code for 2 or 3 and, if I have time, I'll try to combine them for you.
Bob
Kewl, thanks Bob. Here's the four regions.
USA:
<SCRIPT language="JavaScript" type="text/javascript">
<!-- Yahoo! Inc.
window.ysm_customData = new Object();
window.ysm_customData.conversion = "transId=,currency=,amount=";
var ysm_accountid = "1GVJSDROJ4CLGCGC9VJJVN9QBV4";
document.write("<SCR" + "IPT language='JavaScript' type='text/javascript' "
+ "SRC=//" + "srv3.wa.marketingsolutions.yahoo.com" + "/script/ScriptServlet" + "?aid=" + ysm_accountid
+ "></SCR" + "IPT>");
// -->
</SCRIPT>
Australia:
<SCRIPT language="JavaScript" type="text/javascript">
<!-- Yahoo! Search Marketing Australia & NZ
window.ysm_customData = new Object();
window.ysm_customData.conversion = "transId=,currency=,amount=";
var ysm_accountid = "12JS86J4UJO12J039QC19BHG1EK";
document.write("<SCR" + "IPT language='JavaScript' type='text/javascript' "
+ "SRC=//" + "srv3.wa.marketingsolutions.yahoo.com" + "/script/ScriptServlet" + "?aid=" + ysm_accountid
+ "></SCR" + "IPT>");
// -->
</SCRIPT>
Brazil:
<SCRIPT language="JavaScript" type="text/javascript">
<!-- Yahoo! do Brasil Internet Ltda.
window.ysm_customData = new Object();
window.ysm_customData.conversion = "transId=,currency=,amount=";
var ysm_accountid = "1CA0EIQKOUP2BT799L15FRIEDLG";
document.write("<SCR" + "IPT language='JavaScript' type='text/javascript' "
+ "SRC=//" + "srv2.wa.marketingsolutions.yahoo.com" + "/script/ScriptServlet" + "?aid=" + ysm_accountid
+ "></SCR" + "IPT>");
// -->
</SCRIPT>
UK:
<SCRIPT language="JavaScript" type="text/javascript">
<!-- Yahoo!
window.ysm_customData = new Object();
window.ysm_customData.conversion = "transId=,currency=,amount=";
var ysm_accountid = "14KT33C47O7727SNIPPASFIBFNC";
document.write("<SCR" + "IPT language='JavaScript' type='text/javascript' "
+ "SRC=//" + "srv3.wa.marketingsolutions.yahoo.com" + "/script/ScriptServlet" + "?aid=" + ysm_accountid
+ "></SCR" + "IPT>");
// -->
</SCRIPT>
Any ideas on how to best combine/optimize the aforementioned scripts?
Ah, sorry, I missed your previous post. I'll give that a try. Thanks again.