NEW LISTINGS  HOT LISTINGS  TOP RATED  EDITOR PICK  ADD A LISTING  UPDATE A LISTING  GET RATED  UPGRADE A LISTING
  HOME     MY ACCOUNT     POWER SEARCH     REGISTER     MEMBER LIST     SUGGEST CATEGORY  

Average Visitor Rating: 0.00 (out of 5)
Number of ratings: 0 Votes

Visitor Rating

Analyzing Site Usage Statistics with PHP.
26746 Analyzing Site Usage Statistics with PHP. http://www.stargeek.com/usage_stats.php Most of the popular site usage statistics analyzation software fall flat when attempting to perform some of the more complicated calculations and reporting. Many times we find ourselves wishing we could record and monitor some statistical information, and then not only have it displayed in a useful and meaningfully way, but also in a way that makes sense to us. Specifically my problems with the common webalizer apache log file parser, are its rough-around-the-edges support for referral logs and its handling of google search terms, as well as the complete absence of visually presented trend, or average, lines through time, and the fact that it is imposible to use webalyzer to view real-time information. On the other side there is the javascript based solutions, similar in implementation to "free counters" these setups require extra code be inserted into all of your pages and run on the client side (the number of things that could go wrong with this is a scary thought, given that most of the information can be gathered, safely, on the server-side). PHP > Tips and Tutorials > Web Traffic Analysis Oct 16, 2006

Write a Review   Add to My Favorite   Refer it to Friend   Report Broken Link  

Bookmark Analyzing Site Usage Statistics with PHP.:


Other links at PHP > Tips and Tutorials > Web Traffic Analysis
Learn how you can create a small and simple PHP script to log your visitors activity into a file. You just need to add 1 line to each of your page to enable logging and the statistics will be collected in a html file so you don't have to setup any database for this task.
Category:

safeReferral Function
Category:

Most of the popular site usage statistics analyzation software fall flat when attempting to perform some of the more complicated calculations and reporting. Many times we find ourselves wishing we could record and monitor some statistical information, and then not only have it displayed in a useful and meaningfully way, but also in a way that makes sense to us. Specifically my problems with the common webalizer apache log file parser, are its rough-around-the-edges support for referral logs and its handling of google search terms, as well as the complete absence of visually presented trend, or average, lines through time, and the fact that it is imposible to use webalyzer to view real-time information. On the other side there is the javascript based solutions, similar in implementation to "free counters" these setups require extra code be inserted into all of your pages and run on the client side (the number of things that could go wrong with this is a scary thought, given that most of the information can be gathered, safely, on the server-side).
Category:

Getting information about your visitors is interesting and sometimes useful for generating statistics, especially when you have a high traffic.
Category:

Capturing click data is useful when you want to look at trends such as pages that are looked at the most, or amount of traffic.
To do this you would need to call the function below each time a page is loaded to capture the click data such as user ip, page title and url. Ofcourse you can capture more info here, for example date.
Further on you would need to save the click data in a database or text file (for example a csv file ready to be viewed in excel).
Category:




Main Category
192
2037
816
286
175
1802
1222
911
1163
7478
70
907
59
2222
174

Join Mailing List
Joining mailing list will entitle you to receive occasional emails informing you of news and updates to the site and any special offers that may be of interest to you.



Top 10
Directory Statistics

Links: 19493
Categories: 1275
Registered Users: 748
Mailing List Subscribers: 2046
Unique Outgoing Hits: 227513

Pagerank Statistics
PR 10
1 site(s)
PR 9
13 site(s)
PR 8
32 site(s)
PR 7
256 site(s)
PR 6
779 site(s)
PR 5
1901 site(s)

PHP News