adding mixpanel analytics