overleaf/services/web/public/coffee/event_tracking.coffee

16 lines
461 B
CoffeeScript
Raw Normal View History

2014-02-12 05:23:40 -05:00
require [
"libs/bootstrap/bootstrap2full"
], ()->
#plans page
$('a.sign_up_now').on 'click', ->
ga 'send', 'event', 'button', 'click', 'premium-sign-up'
$('#annual-pricing').on 'click', ->
ga 'send', 'event', 'button', 'click', 'student-prices'
$('#student-pricing').on 'click', ->
ga('send', 'event', 'button', 'click', 'student-prices')
#plans link
$('#plansLink').on 'click', ->
ga 'send', 'event', 'button', 'click', 'plans-link-menu-bar'