adds mixpanel analytics