hi, im looking for away to track how often a node has been viewed, the view also has a link which I would like to track how many times has been clicked, and finaly the view will have a user argument in it, it will only be displayed on user profiles, I would like to track how many times the views been seen on a given users profile, and how many times it been clicked on a given users profile.
The problem is the nodes are displayed in views. Will the statistic modules still count the node has been viewed even if its part of a view?
How about tracking when a link gets clicked is that possible, and the user integration so I can track how many times the nodes been viewed on a given users profile, is that possible?
Thanks for any advice or suggestions.
Comments
I think the statistics module
I think the core statistics module only counts the number of times the node itself has been viewed, not listed in a view.
Google Analytics
Part of what you are looking for can be achieved through google analytics, however, it won't be the per-user stats you would like.
One idea is that you could write a hook that overrides the node view process and have it print an entry to the watchdog. Perhaps the rules modules could be used for this too.