Website Feedback
Feedback Analytics

Categories

Here comes the science bit – upgraded your YWA tracking code?

Do you use Yahoo! Web Analytics?  Yes?  How clever of you!  (me? biased? pfff!)

Have you been using it since the days of IndexTools?  Yes?  How loyal of you!

Have you upgraded your tracking code to the latest version?  No?  Not sure?  Well, let me help you out a little.

When IndexTools became Yahoo! Web Analytics in 2008 and completed the rebranding process in 2009, the tracking code was overhauled.  So, the current version is version 5 and the previous version is version 4.  Support for version 4 ends on July 30th 2010, so if you want to continue to benefit from support and updates, then you might want to think about upgrading.

Not sure which version you have?  The difference is that Yahoo! now hosts the .js file for tracking and version 5 uses setter functions as opposed to global variables.

I.e. Old looks something like:

<!–CUSTOMIZATION CODE –>

<script >

var DOCUMENTNAME=’About Us’;

var DOCUMENTGROUP=’Company Information’;

var ACTION=’01′;

</script>

<!– End of Customization Code –>

<!—TRACKING CODE –>

<script src=”/tracking.js”></script<noscript><img src=”http://s.analytics.yahoo.com/p.pl?a=1000123456789&js=no” width=”1″ height=”1″ alt=”" /></noscript><!–//–>

New looks more like:

<!– Yahoo! Web Analytics – All rights reserved –>

<script src=”http://d.yimg.com/mi/eu/ywa.js”></script>

<script >

/*globals YWA*/

var YWATracker = YWA.getTracker(“1000123456789″);

/*

YWATracker.setDocumentName(“About Us”);

YWATracker.setDocumentGroup(“Company”);

*/

YWATracker.submit();

</script>

<noscript>

<div><img src=”http://s.analytics.yahoo.com/p.pl?a=1000123456789&amp;js=no” width=”1″ height=”1″ alt=”" /></div>

</noscript>

So, log in to your account, go to the Installation section and copy the code there to get started, get the Installation Guide and away you go!

Blog Directory