Computing.Net > Forums > Web Development > web statistics

Computer Problems? Computing.Net has over 1,000,000 posts about all things technology related! Over 90% answered within 24 hours! Click here to start participating now! Also, be sure to check out the New User Guide.

web statistics

Reply to Message Icon

Name: osaru
Date: February 1, 2005 at 19:11:02 Pacific
OS: redhat
CPU/Ram: 1g
Comment:

Is there anyway to have web statistics for dynamic pages? The site I have developed only has 1 index(php) page that loads contents dynamically so the statistic tool such as awstats only shows index page. Will I need to implement my own stat page?



Sponsored Link
Ads by Google

Response Number 1
Name: Khalid
Date: February 1, 2005 at 22:10:32 Pacific
Reply:

You can get even more statistics with dynamically loaded pages because you know much more detail about what the user requested, where he comes from, perhaps 'who' he is (cookie) etc.
If you make an insert in a mysql "stat"-table (or whatever you want to call the table), make sure you at least insert the following data:
- datetime
- userip
- userid (if you get one, using cookies)
- referer
- page requested (usually id or something)
- request part of the url (?id=134&page=2)

You can insert more data off course, but with this minimum you can get a lot of statistics, like unique visitors in a period, total pageviews in a period, certain request in a period, follow a user through the site (what pages did he/she looked at) etc etc.

good luck!

Niels.


0

Response Number 2
Name: fambi
Date: February 2, 2005 at 02:31:23 Pacific
Reply:

What language do you use?


0

Response Number 3
Name: osaru
Date: February 7, 2005 at 15:26:43 Pacific
Reply:

I use php + mysql


0

Sponsored Link
Ads by Google
Reply to Message Icon

Related Posts

See More







Post Locked

This post is quite old and has been locked from receiving new replies. Please create a new posting instead.


Go to Web Development Forum Home


Sponsored links

Ads by Google


Results for: web statistics

Where to learn about web hosting? www.computing.net/answers/webdevel/where-to-learn-about-web-hosting/1346.html

Web Page Creation www.computing.net/answers/webdevel/web-page-creation/3222.html

Which web design software? www.computing.net/answers/webdevel/which-web-design-software/878.html