Merge pull request #12010 from edx/ormsbee/measure_login_page
Add finished() metric for login and registration.
This commit is contained in:
@@ -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');
|
||||
}
|
||||
</%static:require_module>
|
||||
</%block>
|
||||
|
||||
|
||||
Reference in New Issue
Block a user