Basic analytics gem for Rails