deactivatepublic
This event is triggered when the router completely exits this route. It is not executed when the model for the route changes.
App.IndexRoute = Ember.Route.extend({
trackPageLeaveAnalytics: function(){
trackPageLeaveAnalytics();
}.on('deactivate')
});
Please login to continue.