vrepsys
vrepsys

Reputation: 2213

How to track user activity in Rails?

In Rails is there a gem which helps to track user activity?

The most obvious way to track/log user activity would be to save all HTTP requests and parameters along with the username into the database. Is there a gem for that?

EDIT: I would like to track things like: 1) John Smith clicked 'Search' button on the books page 2) Adam Smith viewed the book 'The Wealth of Nations' etc.

Tracking what actions were performed by what users is essential, so something like google analytics does not really fit the bill.

Thanks

Upvotes: 4

Views: 1790

Answers (2)

Daniel Evans
Daniel Evans

Reputation: 6808

You may get what you need out of using the Analytical gem

Analytical supports numerous services including kissmetrics and clicky, one of which should be an excellent fit for the data you are trying to gather.

Upvotes: 2

Yves Senn
Yves Senn

Reputation: 1996

If there is no restrictions you should use something like http://www.google.com/analytics/ it is extremely valuable and you can interact with it to customize it to your needs.

Upvotes: 0

Related Questions