integrated mixpanel to model events