[nycphp-talk] Cookie Based Stats
Andrew M. Yochum
andrew at digitalpulp.com
Tue Jan 21 15:01:44 EST 2003
Hmm... are you looking for clickstream analysis (watching users' paths through
the site)? If that is your goal then this bit might help...
What I've done is added the storage of cookies in the apache log format. This
in conjunction with cookie-based php sessions (or your own custom cookie based
sessions) will allow you to do clickstream analysis. If you don't use sessions,
I believe the Apache mod_usertrack module will give you a similar result.
Here's an example from my httpd.conf file for the log format that includes
cookies:
LogFormat "%h %l %u %t \\"%r\\" %>s %b \\"%{Referer}i\\" \\"%{User-Agent}i\\" \\"%{Cookie}i\\"" combinedcookie
...which adds \\"%{Cookie}i\\" to log the stock combined log format.
Then you need a log analysis tool that knows how to use that cookie data to
track the user's path through your site, and that is where my experience ends,
as I've only done the setup and left the rest up to clients. I believe
WebTrends does such things, but costs $$$ ...
Regards,
Andrew
On Tue, 21 Jan 2003, Jim Musil wrote:
>
> We'd like to start tracking visitors to our sites based on cookies in order
> to compare the results with our traditional apache log crunching method,
> Analog.
>
> As I'm searching the web for packages and other info, can anyone here
> comment on their experience doing something like this?
>
> You could also correct, if necessary, my assumption that the best way to
> track visitors is to use a combination of log examination and cookie storage
> since both have faults.
>
> Thanks!
>
>
> Jim Musil
> <jim at nettmedia.com>
> Nettmedia, Senior Developer
> 345 Seventh Ave., 24th Floor.
> New York, NY 10001
> Tel. 212.629.0004 x 131
>
>
>
> --- Unsubscribe at http://nyphp.org/list/ ---
>
>
--
Andrew Yochum
Digital Pulp, Inc.
212.679.0676x255
andrew at digitalpulp.com
More information about the talk
mailing list