added mixpanelgem but it's throwing an error when I add require mixpanel-ruby to the application.js file so I removed it for now.