#780 Phone detection not working

6.95
open
5
2012-10-11
2009-12-09
jockee
No

Mobile phones are not recognized in many cases because detection of the most common browsers is hardcoded in awstats.pl. This implies that a user agent containing any of those browsers will be recognized as this browser, not as the phone, regardless of the LevelForBrowsersDetection setting. Nowadays this is very common. Many phones have strings like MSIE, Opera, Safari in their ua. One example is iphone which is recognized as Safari. The whole idea of setting LevelForBrowsersDetection=allphones must be to detect the phone model, not the browser.

Discussion


Log in to post a comment.