created analytics.rb