mirror of
https://github.com/overleaf/overleaf.git
synced 2024-12-27 21:10:49 +00:00
26 lines
753 B
Text
26 lines
753 B
Text
extends ../layout
|
|
|
|
block content
|
|
- locals.supressDefaultJs = true
|
|
script(data-main=jsPath+'main.js', src=jsPath+'libs/require.js', baseurl=jsPath)
|
|
script(src=jsPath+'libs/recurly.min.js')
|
|
link(rel='stylesheet', href='/recurly/recurly.css')
|
|
|
|
#subscribeForm.box Loading subscription form...
|
|
|
|
script(type="text/javascript")
|
|
ga('send', 'event', 'pageview', 'payment_form', "#{plan_code}")
|
|
|
|
|
|
script(type="text/javascript")
|
|
Recurly.config(!{recurlyConfig})
|
|
var recurlySubscriptionFormConfig = !{subscriptionFormOptions}
|
|
recurlySubscriptionFormConfig.successHandler = function(){
|
|
ga('send', 'event', 'subscription-funnel', 'subscribed')
|
|
}
|
|
|
|
Recurly.buildSubscriptionForm(recurlySubscriptionFormConfig);
|
|
|
|
|
|
include ../general/small-footer
|
|
|