Add event tracking for student training and image upload