Search code examples
ruby-on-railsrubycountviewhit

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


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.