Fix mixpanel logging for new-dashboard

Similar error as #1436