arrow_backward Back to blog

Tracking Views in Rails

ActsAsViewable is plugin that allows you to track page and asset views in your Rails application. For example, you can use it to track how many times a page is visited or how many times a particular image is viewed.

Trac: http://trac.intridea.com/trac/public/wiki/ActsAsViewable Subversion repository: http://svn.intridea.com/svn/public/acts_as_viewable

Installation:

OR

Create the tables where views will be tracked:

Set the objects you want to track views for:

arrow_backBack

New Project Request