changed application.rb to include analytics