Added mixpanel and google analytics events tracking