Forum Moderators: coopster

Message Too Old, No Replies

User tracking w/cookies

         

millyre

10:41 am on May 16, 2006 (gmt 0)

10+ Year Member



Hi all, (I've already posted this in the tracking forum, but guess it is more appropriate here...)

Does anyone have recommendations for setting up a tagging based system for my site? I've used the various free log analysis packages, but would like to 'upgrade' to a cookie based system in order to better track usage across visits.

I've read briefly about some of the commercial offers, but I was thinking that I could as well roll my own system, it can't be all that difficult/ complex...or?

I've got partial control of an apache server, and php at my disposal.

I was thinking of simply having each page call another one with javascript, adding an unique ID (stored in a cookie) plus URL, and storing the information in the server log file. (I could use mysql, but I think using the log-file would make the system simpler)

(I haven't given much thought to the analysis of the data once collected. Perhaps this is where the commercial packages show their strength?)

So then, is it possible, to have a user tracking system in 3 lines of code? :-)

eelixduppy

9:59 pm on May 16, 2006 (gmt 0)



You can use error_log() [us3.php.net] and instead of sending actual "errors", you can send user-tracking info.