Commit a019ec96 by Tyler Hallada

Only track learner page events once

parent afaaccdc
...@@ -100,10 +100,6 @@ define(function(require) { ...@@ -100,10 +100,6 @@ define(function(require) {
this.options.pageModel.set('title', gettext('Learners')); this.options.pageModel.set('title', gettext('Learners'));
this.onLearnerCollectionUpdated(this.options.learnerCollection); this.onLearnerCollectionUpdated(this.options.learnerCollection);
// track the "page" view
this.options.trackingModel.set('page', 'learner_roster');
this.options.trackingModel.trigger('segment:page');
return rosterView; return rosterView;
}, },
...@@ -167,10 +163,6 @@ define(function(require) { ...@@ -167,10 +163,6 @@ define(function(require) {
} }
}))(); }))();
this.options.rootView.showChildView('main', notFoundView); this.options.rootView.showChildView('main', notFoundView);
// track the "page" view
this.options.trackingModel.set('page', 'learner_not_found');
this.options.trackingModel.trigger('segment:page');
} }
}); });
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment