adding mixpanel event tracking