Improve stability of mixpanel tracking