More and more of our clients are wanting to track their site metrics from more than just google and since there aren't really any great modules for adding the Yahoo! tracking code; I thought I'd share exactly how I went about adding them. The problem is that if I simply place the tag on the page.tpl.php file then I get the code going site wide and if it's a conversion code, I only need it to trigger for certain pages. We tried creating individual pages and then placing the code in the body, but the problem is the Yahoo! code must be placed into the
tags.So, here's a simply way to get your Yahoo! conversion codes on the pages you need them.
<head> </head> tags of your site, I put mine right before the closing head tag and save your fileNow your tracking code will be located in the head tag as required by Yahoo!