2014-02-12 05:23:40 -05:00
|
|
|
require [
|
|
|
|
], ()->
|
|
|
|
#plans page
|
2014-03-21 13:49:20 -04:00
|
|
|
$('a.sign_up_now').on 'click', (e)->
|
|
|
|
ga_PlanType = $(@).attr("ga_PlanType")
|
|
|
|
ga 'send', 'event', 'subscription-funnel', 'sign_up_now_button', ga_PlanType
|
2014-02-12 05:23:40 -05:00
|
|
|
|
2014-03-21 13:49:20 -04:00
|
|
|
$('#annual-pricing').on 'click', ->
|
|
|
|
ga 'send', 'event', 'subscription-funnel', 'plans-page', 'annual-prices'
|
2014-02-12 05:23:40 -05:00
|
|
|
$('#student-pricing').on 'click', ->
|
2014-03-21 13:49:20 -04:00
|
|
|
ga('send', 'event', 'subscription-funnel', 'plans-page', 'student-prices')
|
2014-02-12 05:23:40 -05:00
|
|
|
|
|
|
|
$('#plansLink').on 'click', ->
|
2014-03-21 13:49:20 -04:00
|
|
|
ga 'send', 'event', 'subscription-funnel', 'go-to-plans-page', 'from menu bar'
|
|
|
|
|
|
|
|
|
|
|
|
|