Add analytics to /teachers

This commit is contained in:
Matt Lott 2015-12-02 17:10:19 -08:00
parent 3057df0230
commit 3b21567fac

View file

@ -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'