mirror of
https://github.com/overleaf/overleaf.git
synced 2024-11-21 20:47:08 -05:00
changed ga tracking created -> subscribed, fixed indentation on cancel sub events
This commit is contained in:
parent
92c68177a6
commit
260c5210a6
2 changed files with 5 additions and 5 deletions
|
@ -80,10 +80,10 @@ block content
|
|||
mixin printPlans(plans.individualAnnualPlans)
|
||||
|
||||
|
||||
script(type="text/javascript")
|
||||
$('#cancelSubscription').on("click", function() {
|
||||
ga('send', 'event', 'subscription-funnel', 'cancelation')
|
||||
})
|
||||
script(type="text/javascript")
|
||||
$('#cancelSubscription').on("click", function() {
|
||||
ga('send', 'event', 'subscription-funnel', 'cancelation')
|
||||
})
|
||||
|
||||
|
||||
|
||||
|
|
|
@ -16,7 +16,7 @@ block content
|
|||
Recurly.config(!{recurlyConfig})
|
||||
var recurlySubscriptionFormConfig = !{subscriptionFormOptions}
|
||||
recurlySubscriptionFormConfig.successHandler = function(){
|
||||
ga('send', 'event', 'subscription-funnel', 'created')
|
||||
ga('send', 'event', 'subscription-funnel', 'subscribed')
|
||||
}
|
||||
|
||||
Recurly.buildSubscriptionForm(recurlySubscriptionFormConfig);
|
||||
|
|
Loading…
Reference in a new issue