added mixpanel metrics to APIWrapper