Adding mixpanel analytics