code for counting number of hits in ruby on rails application
i want to know the code for counting number of hits in my ruby on rails application : conditions are it should not increment when a refresh action is executed. And it should be incremented by 1 only when clicked by a unique MAC address
I dont think it is possible to get mac ids
Try some analytics to get unique visitors details.
This can't be done using Rails Application, but you can do this using AWStats.
This will give more detailed statistical information based on Host IP, Country, Browsers, etc,.