mirror of
https://github.com/codeninjasllc/codecombat.git
synced 2025-04-26 14:03:28 -04:00
Track pageviews for manual calls to navigate
This commit is contained in:
parent
652fb3cd3f
commit
6db4d72dc4
1 changed files with 1 additions and 0 deletions
|
@ -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 []
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue