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,7 +80,7 @@ block content
|
||||||
mixin printPlans(plans.individualAnnualPlans)
|
mixin printPlans(plans.individualAnnualPlans)
|
||||||
|
|
||||||
|
|
||||||
script(type="text/javascript")
|
script(type="text/javascript")
|
||||||
$('#cancelSubscription').on("click", function() {
|
$('#cancelSubscription').on("click", function() {
|
||||||
ga('send', 'event', 'subscription-funnel', 'cancelation')
|
ga('send', 'event', 'subscription-funnel', 'cancelation')
|
||||||
})
|
})
|
||||||
|
|
|
@ -16,7 +16,7 @@ block content
|
||||||
Recurly.config(!{recurlyConfig})
|
Recurly.config(!{recurlyConfig})
|
||||||
var recurlySubscriptionFormConfig = !{subscriptionFormOptions}
|
var recurlySubscriptionFormConfig = !{subscriptionFormOptions}
|
||||||
recurlySubscriptionFormConfig.successHandler = function(){
|
recurlySubscriptionFormConfig.successHandler = function(){
|
||||||
ga('send', 'event', 'subscription-funnel', 'created')
|
ga('send', 'event', 'subscription-funnel', 'subscribed')
|
||||||
}
|
}
|
||||||
|
|
||||||
Recurly.buildSubscriptionForm(recurlySubscriptionFormConfig);
|
Recurly.buildSubscriptionForm(recurlySubscriptionFormConfig);
|
||||||
|
|
Loading…
Reference in a new issue