New tracking code format; please update your site if possible
We've recently changed the format of the tracking code you paste onto your site to take advantage of cross-site caching. Here is an example of what it used to look like (Javascript portion only):
[script src="http://static.getclicky.com/123.js"][/script]
In this example, "123" would be the site ID for this site in our database. This is all fine and dandy, but the problem is that the URL is unique for each site that has our tracking code on it, even though the actual javascript code that is being downloaded is the exact same. So if someone browses to 10 different sites in a day that all have Clicky on them, they would be downloading 10 copies of the same code, instead of 1.
As of a few weeks ago, we changed the format to this:
[script src="http://static.getclicky.com/js"][/script]
[script]clicky.init( 123 );[/script]
As you can see, the URL of the tracking code is now the exact same for every site that someone would visit with Clicky on it. We just added a seperate function call to set the site ID within the script after it's downloaded. Since any user's browser would cache this script, it doesn't have to redownload it. This means your site will load faster for anyone who has visited another site with Clicky on it in the last 7 days.
So, the point. If possible, please replace the existing tracking code on your site with a fresh copy (go to site prefs, then tracking code, to get a copy). As already mentioned, this will help speed up your site for the average visitor, as well as reducing bandwidth usage on our end.
Of course, the old format still works, and will indefinitely. We don't want to force you to do this, but if you have a few extra minutes, the web will be a better place. Thanks.
UPDATE: Yes, the new WP plugin has the new tracking code format. This only applies to people who manually paste the code on their site anyways, since using a plugin puts you at the mercy of the plugin developer.
5 comments | Nov 02 2009 2:49pm
[script src="http://static.getclicky.com/123.js"][/script]
In this example, "123" would be the site ID for this site in our database. This is all fine and dandy, but the problem is that the URL is unique for each site that has our tracking code on it, even though the actual javascript code that is being downloaded is the exact same. So if someone browses to 10 different sites in a day that all have Clicky on them, they would be downloading 10 copies of the same code, instead of 1.
As of a few weeks ago, we changed the format to this:
[script src="http://static.getclicky.com/js"][/script]
[script]clicky.init( 123 );[/script]
As you can see, the URL of the tracking code is now the exact same for every site that someone would visit with Clicky on it. We just added a seperate function call to set the site ID within the script after it's downloaded. Since any user's browser would cache this script, it doesn't have to redownload it. This means your site will load faster for anyone who has visited another site with Clicky on it in the last 7 days.
So, the point. If possible, please replace the existing tracking code on your site with a fresh copy (go to site prefs, then tracking code, to get a copy). As already mentioned, this will help speed up your site for the average visitor, as well as reducing bandwidth usage on our end.
Of course, the old format still works, and will indefinitely. We don't want to force you to do this, but if you have a few extra minutes, the web will be a better place. Thanks.
UPDATE: Yes, the new WP plugin has the new tracking code format. This only applies to people who manually paste the code on their site anyways, since using a plugin puts you at the mercy of the plugin developer.
5 comments | Nov 02 2009 2:49pm

Recent Comments
Great stuff. Thanks One thing I would like to see in the visitor detail/action page ... Daniel, Feb 04 2012 Nice interface changes :) On the lightbox for visitor detail, why not take it ... Jason, Feb 03 2012 LOVE love love it! Thanks guys. Susan Lassiter-Lyons, Feb 03 2012 Nice Work! How about cyan for hourly, dark blue for non? You could go green, t ... Joey, Feb 03 2012 We use clicky on our site http://www.xpress-media.co.uk and its far better than ... Web Design Sheffield, Feb 03 2012 What is the difference with Conversions and Visits to goal? I have 2 conversions ... Martin, Feb 02 2012 Wow!!! Just the update I was looking for. Thanks!! This is super! Spicer Matthews, Feb 02 2012 Regarding hourly color. I am no color expert by any stretch of the imagination, but ... mark@whatTOdoToronto.com, Feb 02 2012 Really nice update! Keep up the excellent work! Thanks! Philippe, Feb 02 2012 Great update I am loving it :) Andrew, Feb 02 2012