SitePoint Sponsor |
|
User Tag List
Results 1 to 4 of 4
-
Apr 8, 2009, 04:29 #1
- Join Date
- Mar 2006
- Posts
- 701
- Mentioned
- 0 Post(s)
- Tagged
- 0 Thread(s)
design for "site statistics php application"
We want to make a php custom program that hold the statistics for our site-Infomation about the user that make a click at a page etc.
What is the best solution to hold all this information.
To use a database, a log file or what?
Dimis
-
Apr 8, 2009, 05:20 #2
- Join Date
- Dec 2008
- Posts
- 120
- Mentioned
- 0 Post(s)
- Tagged
- 0 Thread(s)
try to add google analytics on all your pages and then use google analitycs interfaces to track user path
-
Apr 9, 2009, 01:31 #3
- Join Date
- Mar 2006
- Location
- Sweden
- Posts
- 451
- Mentioned
- 0 Post(s)
- Tagged
- 0 Thread(s)
Another way is to it in Javascript. Intercept all click-events on every page and send an Ajax-request to the server that logs it in a database. You can limit it to only log clicks on links, but you could also expand it to log basically everything the user does by logging all kinds of events.
-
Apr 14, 2009, 14:39 #4
- Join Date
- Nov 2004
- Location
- Plano
- Posts
- 643
- Mentioned
- 0 Post(s)
- Tagged
- 0 Thread(s)
what kind of information are you looking to track? i think you could crawl your server log files unless you need something more than that provides.
Bookmarks