Track pageviews for manual calls to navigate

This commit is contained in:
Matt Lott 2015-03-09 12:46:34 -07:00
parent 652fb3cd3f
commit 6db4d72dc4

View file

@ -206,6 +206,7 @@ module.exports = class CocoRouter extends Backbone.Router
if (e.route is document.location.pathname) and not manualView
return document.location.reload()
@navigate e.route, {trigger: not manualView}
@_trackPageView()
return unless manualView
if e.viewClass
args = e.viewArgs or []