diff --git a/lms/templates/student_account/login_and_register.html b/lms/templates/student_account/login_and_register.html index e83d1cbeec..dc01423f01 100644 --- a/lms/templates/student_account/login_and_register.html +++ b/lms/templates/student_account/login_and_register.html @@ -13,6 +13,14 @@ <%static:require_module module_name="js/student_account/logistration_factory" class_name="LogistrationFactory"> var options = ${data | n, dump_js_escaped_json}; LogistrationFactory(options); + if ('newrelic' in window) { + newrelic.finished(); + // Because of a New Relic bug, the finished() event doesn't show up + // in Insights, so we have to make a new PageAction that is basically + // the same thing. We still want newrelic.finished() for session + // traces though. + newrelic.addPageAction('xfinished'); + }