The Little Guy Posted November 2, 2007 Share Posted November 2, 2007 Have this stats site, It reads in stats from Javascript and PHP, and saves the info to a database. Currently it tracks: - display (1024 X 786) - referrence (http://previospage.com) - current Location (http://mysite.com) - date (2007-11-01 12:12:03) - weekDay (Thursday) - ip (123.123.123.123) - user agent (Mozilla/4.0 (compatible; MSIE 6.0; Windows NT 5.1; SV1; .NET CLR 1.1.4322)) With that information, I can show: - display - enterence page - exit page - #/hour - #/day - #/week - #/month - #/year - Browser - Operating System - Show browsing paths - most popular page - least popular page If someone could tell me other things I could get using JS or PHP, that would be awesome! OR.. other things with the stats I am already getting. Quote Link to comment Share on other sites More sharing options...
pocobueno1388 Posted November 2, 2007 Share Posted November 2, 2007 If you search through the server variable, I'm sure you can find more. <?php echo '<pre>'; print_r($_SERVER); echo '</pre>'; ?> Quote Link to comment Share on other sites More sharing options...
neylitalo Posted November 2, 2007 Share Posted November 2, 2007 The IP address will be from a specific country, so you can get an idea of where your visitors are, and the user-agent will probably tell you the language the browser is using, so you can tell what languages your visitors speak. Quote Link to comment Share on other sites More sharing options...
Daniel0 Posted November 2, 2007 Share Posted November 2, 2007 You could create a click heatmap. Then you'll know where people clicks the most. Quote Link to comment Share on other sites More sharing options...
The Little Guy Posted November 2, 2007 Author Share Posted November 2, 2007 If you search through the server variable, I'm sure you can find more. That will mainly tell me about my server... the the viewing server, But I will have a look. Quote Link to comment Share on other sites More sharing options...
TheFilmGod Posted November 2, 2007 Share Posted November 2, 2007 I think that what you got going is great... But quite frankly, I don't understand why you would ever need any of that information. If you have page views and unique visitors - that is enough information. What are the display stats going to tell you? Which resolution is most common? - Will you really change your website because 2% more people last night used 640 X 480 resolution? I use a service which gives me everything you would ever ask for. Display, search key terms, browsers, ips addresses, regional blocks... unfortunately, I recently noticed that the info is useless. I do not adapt my website according to my current stats, but aim to adapt my site to the world's stats. Over 50% users use the 1024 resolution. Why should I change it since 2% of my visitors use 640 X 480? ??? .... To go back on topic, I do recommend trying to get search keywords ppl used on google to get on your site! That will become the most beneficial! Sorry for going a bit off topic! Quote Link to comment Share on other sites More sharing options...
The Little Guy Posted November 2, 2007 Author Share Posted November 2, 2007 I do recommend trying to get search keywords ppl used on google to get on your site! That will become the most beneficial! Any good codes of how to get key words? not just from Google but from other search engines as well? Quote Link to comment Share on other sites More sharing options...
The Little Guy Posted November 2, 2007 Author Share Posted November 2, 2007 Where can I get a database that matches countries to ip addresses? Quote Link to comment Share on other sites More sharing options...
neylitalo Posted November 2, 2007 Share Posted November 2, 2007 Where can I get a database that matches countries to ip addresses? Check out exec and Unix whois. Quote Link to comment Share on other sites More sharing options...
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.