Page 1 of 1

How do implement conversion code in yahoo analytics

PostPosted: Fri Dec 19, 2008 12:52 pm
by nicesur
---------------------------------------------------------
ANALYTICS SETTINGS:

Analytics are enabled

Utilizing “Conversion Only Analytics”

Revenue Value is set to “Dynamic Value”

---------------------------------------------------------
Yahoo’s Instructions for the following code are:

Copy the HTML code below and insert it between the <HEAD> and </HEAD> tags on your site’s conversion page(s). To pass a dynamic revenue value in the tag, you must modify your web pages accordingly.

---------------------------------------------------------
The HTML code (minus our account id in italics) supplied by Yahoo is:

Code: Select all
<SCRIPT language="JavaScript" type="text/javascript">
<!-- Yahoo! Inc.
window.ysm_customData = new Object();
window.ysm_customData.conversion = “transId=,currency=,amount=”;
var ysm_accountid = “ our-account-id-goes-here”;
[removed]("<SCR" + “IPT language=’JavaScript’ type=’text/javascript’ “
+ “SRC=//” + “srv3.wa.marketingsolutions.yahoo.com” + “/script/ScriptServlet” + “?aid=” + ysm_accountid
+ “></SCR” + “IPT>");
// -->
</SCRIPT>