Unlike other tracking codes, we need to put Yahoo Analytics conversion code between
Yahoo’s Instructions for the following code are:
To add the Yahoo conversion tracking code in the Head tags, we need to look at the checkout layout configuration file:
Find out which page layout it uses when an order is completed.
i.e.) For one page checkout, look for this code:
You can edit the Head section of ‘2columns-right.phtml’ to add the Yahoo tracking code. But if this template, 2columns-right.phtml is being used for other pages, I would make a copy of it and name it ‘2columns-right-success.phtml’ and add the tracking code there. This way, it will track it only when there is a successful conversion.
Thx for pointing right direction. But I would recommend the following code as referenced by yahoo help.
Missing parTIAl of code before, the first line should be: