diff --git a/includes/class-sensei-grading.php b/includes/class-sensei-grading.php index 8c825920ca..09eeadfcfc 100755 --- a/includes/class-sensei-grading.php +++ b/includes/class-sensei-grading.php @@ -721,6 +721,12 @@ public function admin_process_grading_submission() { } + // Log event: when a quiz is graded. + $event_properties = array( + 'question_count' => $count, + ); + sensei_log_event( 'grading_quiz_grade', $event_properties ); + wp_safe_redirect( esc_url_raw( $load_url ) ); exit;