PDA

View Full Version : I've always wondered....



Masetek
11-25-2005, 05:12 PM
At the bottom of awstats in the 'misc' section is has "add to favorites(estimated)". I've always wondered how the hell they're estimating that? Does anyone know?

r2d2
11-25-2005, 05:26 PM
This bit (http://awstats.sourceforge.net/docs/awstats_glossary.html) from Awstats page should help!



Add To Favourites:
This value, available in the "miscellanous chart", reports an estimated indicator that can be used to have an idea of the number of times a visitor has added your web site into its favourite bookmarks.
The technical rules for that is the following formula:
Number of Add to Favourites = round((x+y) / r)
where
x = Number of hits made by IE browsers for "/anydir/favicon.ico", with a referer field not defined, and with no 404 error code
y = Number of hits made by IE browsers for "/favicon.ico", with a referer field not defined, with or without 404 error code
r = Ratio of hits made by IE browsers compared to hits made by all browsers (r <= 1)

As you can see in formula, only IE is used to count reliable "add", the "Add to favourites" for other browsers are estimated using ratio of other browsers usage compared to ratio of IE usage. The reason is that only IE do a hit on favicon.ico nearly ONLY when a user add the page to its favourites. The other browsers make often hits on this file also for other reasons so we can't count one "hit" as one "add" since it might be a hit for another reason.
AWStats differentiate also hits with error and not to avoid counting multiple hits made recursively in upper path when favicon.ico file is not found in deeper directory of path.
Note that this number is just an indicator that is in most case higher than true value. The reason is that even IE browser sometimes make hit on favicon without an "Add to favourites" action by a user.

Masetek
11-25-2005, 05:43 PM
Interesting, cheers R2 :)

Todd W
11-25-2005, 06:02 PM
A couple of my sites show over 800% hehe