Add mixpanel events for failed AJAX requests