Question

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

Was it helpful?

Solution

I dont think it is possible to get mac ids

Retrieving client system information from a Rails application

Try some analytics to get unique visitors details.

OTHER TIPS

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,.

Licensed under: CC-BY-SA with attribution
Not affiliated with StackOverflow
scroll top