Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Best way to collect Rails application usage statistics

I have a Rails application where users can set up their domains and publish content onto them. I need to collect public traffic statistics such as pageview count etc. One good example of this feature is flickr usage statistics i can see as a customer.

The question is what is the best way to collect usage information. Should it be done by parsing log files or should it be collected and stored in database at runtime? Is there any tool or Rails plugin that already provides this?

This solution should scale well, even with thousands of domains and millions of pageviews in month.

like image 701
Priit Avatar asked Jan 07 '09 13:01

Priit


1 Answers

Google Analytics is probably your best bet...

like image 69
Matt Darby Avatar answered Sep 18 '22 23:09

Matt Darby