mirror of
https://github.com/overleaf/overleaf.git
synced 2025-03-15 04:14:47 +00:00
Remove track-changes-discount experiment
This commit is contained in:
parent
667c7ce520
commit
c091399610
1 changed files with 6 additions and 7 deletions
|
@ -9,10 +9,9 @@ define [
|
|||
event_tracking.sendMB "subscription-start-trial", { source, plan: $scope.startTrialPlanCode }
|
||||
|
||||
w = window.open()
|
||||
sixpack.convert "track-changes-discount", ->
|
||||
ga?('send', 'event', 'subscription-funnel', 'upgraded-free-trial', source)
|
||||
url = "/user/subscription/new?planCode=#{$scope.startTrialPlanCode}&ssp=true"
|
||||
if couponCode?
|
||||
url = "#{url}&cc=#{couponCode}"
|
||||
$scope.startedFreeTrial = true
|
||||
w.location = url
|
||||
ga?('send', 'event', 'subscription-funnel', 'upgraded-free-trial', source)
|
||||
url = "/user/subscription/new?planCode=#{$scope.startTrialPlanCode}&ssp=true"
|
||||
if couponCode?
|
||||
url = "#{url}&cc=#{couponCode}"
|
||||
$scope.startedFreeTrial = true
|
||||
w.location = url
|
||||
|
|
Loading…
Reference in a new issue