mirror of
https://github.com/codeninjasllc/codecombat.git
synced 2024-11-23 23:58:02 -05:00
Add analytics to /teachers
This commit is contained in:
parent
3057df0230
commit
3b21567fac
1 changed files with 2 additions and 0 deletions
|
@ -19,6 +19,8 @@ module.exports = class TeachersView extends RootView
|
|||
|
||||
onClickLogin: (e) ->
|
||||
@openModalView new AuthModal(mode: 'login') if me.get('anonymous')
|
||||
window.tracker?.trackEvent 'Started Signup', category: 'Teachers', label: 'Teachers Login'
|
||||
|
||||
onClickSignup: (e) ->
|
||||
@openModalView new AuthModal() if me.get('anonymous')
|
||||
window.tracker?.trackEvent 'Started Signup', category: 'Teachers', label: 'Teachers Create'
|
||||
|
|
Loading…
Reference in a new issue