added mixpanel tracking code