Hi Arash,
Congrats on your project, looks great!
I use Rails behind Apache. Have you thought about an api that would enable the stats to be added to your system?
In other words, a specification for what to store in mysql per web page request?
Or a related idea, pulling stats from the MySQL logging tables that Apache can use instead of having the application store into mysql?
See http://www.outoforder.cc/projects/apache/mod_log_sql/
Your javascript log requires an additional Ajax call to the server for each page load. Since the server has already handled the request, I'd rather not add another round trip per page load.
Advantages: Would work with any website hosted on Apache server.
Thanks for your thoughts...
Larry

