|
Posted by Tyno Gendo on 04/04/07 14:07
Prince of Code wrote:
> Hey all,
>
> I am trying to track the links that are clicked on a particular web
> page.
> Like a typical senario will be:
> Track (Count) how many times the main links Home,Help,About,Login etc
> are clicked.
> At the bottom line i am planning to track(count) all the links <a
> href-"">
> how many times each one is clicked. My guess is javascript and cookies
> would be helpful.
> Let me know your valuble idea or thoughts on this implementation.
>
> Thx
> Prince
>
Are you tracking per session, per ip, or other?
You could store in a session if you only wanted to keep the stats for
the live of that users visit, otherwise you will need to have some kind
of unique id for that user and store stats in a database.
If you had a user with a username/password, you could track in a
database which sections they access, or you could have standard
..htaccess type password and then use interrogate standard Apache logs
based on the REMOTE_USER field.
I'm not really sure of your full plan here. Maybe you could elaborate
on this.
[Back to original message]
|