Fix trackEvent broken reference