mirror of
https://github.com/yu-i-i/overleaf-cep.git
synced 2026-06-12 07:30:46 +02:00
changed ga tracking created -> subscribed, fixed indentation on cancel sub events
This commit is contained in:
@@ -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);
|
||||
|
||||
Reference in New Issue
Block a user