Unique view count.
Posted
by alokswain
on Stack Overflow
See other posts from Stack Overflow
or by alokswain
Published on 2010-05-05T04:46:23Z
Indexed on
2010/05/05
6:18 UTC
Read the original article
Hit count: 176
ruby-on-rails
|ruby
I have a collection of links which are being displayed on the index page. Whenever a user clicks a link I want to keep a track of the number of unique views. I know it can be done by tracking the ips whenever a click happens by request.remote_ip
and then the link of the page that was clicked. Is there any better approach ? Any plugins etc.
© Stack Overflow or respective owner