pf » How many iPhone Visitors have you had?
July 19, 2007
How many iPhone Visitors have you had?
I was curious if anyone was using an iPhone to read my blog yet, I'm sure before too long we will all be optimizing our sites for 3.5" displays. To find out I did a little grep on my Apache log file and piped it to wc to count the number of matches:
fgrep 'iPhone;' access.log | wc -l
So far 370 hits including images, to take out requests for images I added:
fgrep 'iPhone;' access.log | fgrep --invert-match images | wc -l
That yields 106 requests, hello iPhone readers...
BTW the user agent for the iPhone looks like this:
Mozilla/5.0 (iPhone; U; CPU like Mac OS X; en) AppleWebKit/420+ (KHTML, like Gecko) Version/3.0 Mobile/1A543a Safari/419.3
Related Entries
- The 15 Essential UNIX commands - July 29, 2005
Trackback Address: 645/88424A5DFA7988326A850569E28A65BB
Comments
On 07/20/2007 at 10:32:54 AM MDT Ben Nadel wrote:
1
Interesting... just went to my Google Analytics to search browsers. Searched for browsers containing "ipod", but nothing comes up. However, I did go to the site on someone's iPod (just to see what it looked like). So, not sure if Analytics is even picking them up. But then again, I just searched for MSIE and it came up with nothing, so I guess it is not storing useragents in that respect :(
On 07/20/2007 at 1:23:38 PM MDT rob wrote:
2
"hello iPhone readers..."
Hello ^_^
On 07/23/2007 at 10:42:33 AM MDT Nick Rufa wrote:
3
I measured our site's PDA traffic during the first week of the iPhone launch. As a whole PDAs accounted for only a very modest percentage of our site's total traffic. The breakdown within that was: 29.1% Blackberry 28.4% Palm 25.2% WindowsCE 17.3% iPhone 17.3 % is pretty nice for a its first week on the market. I'll measure again in a few months is anyone's interested.
On 07/23/2007 at 10:46:09 AM MDT Nick Rufa wrote:
4
Sorry, the numbers in my prev. post may be hard to follow. Trying again (29.1% Blackberry) . (28.4% Palm) . (25.2% WindowsCE) . (17.3 % iPhone)
On 07/23/2007 at 11:30:06 AM MDT Pete Freitag wrote:
5
@Ben
Did you mean to say you searched for browsers containing "iPhone", either way it doesn't look like Google Analytics reports on iPhone's yet.
- CFSCRIPT Cheatsheet
- 3 New Image Effects for ColdFusion 8
- Googlebot to Submit Web Forms
- ColdFusion 8 Update 1 Fixes some Image Processing Quirks
- 10 Most Useful Image Functions in ColdFusion 8
- Speaking at NYC CFUG This Week
- Adobe AIR Tutorial for HTML / JavaScript Developers
- INFORMATION_SCHEMA Support in MySQL, PostgreSQL
Subscribe to my RSS Feed:
RSS
RSS
add to del.icio.us
Pete Freitag is a software engineer, and web developer located in










