Changing metrics to use mixpanel