Mixpanel metrics

This PR works but its still a work in progress. Over the next days I'll add more metrics to the system. There is also a PR in onepercent repo