Просмотр исходного кода

Merge branch 'pr-track-trial-start' of github.com:sharelatex/web-sharelatex into pr-track-trial-start

Paulo Reis 10 лет назад
Родитель
Сommit
688eebf469

+ 2 - 0
services/web/public/coffee/ide/pdf/controllers/PdfController.coffee

@@ -348,7 +348,9 @@ define [
 
 		$scope.startFreeTrial = (source) ->
 			ga?('send', 'event', 'subscription-funnel', 'compile-timeout', source)
+
 			event_tracking.sendCountly "subscription-start-trial", { source }
+
 			window.open("/user/subscription/new?planCode=student_free_trial_7_days")
 			$scope.startedFreeTrial = true
 

+ 1 - 0
services/web/public/coffee/main/account-upgrade.coffee

@@ -7,6 +7,7 @@ define [
 
 		$scope.startFreeTrial = (source, couponCode) ->
 			event_tracking.sendCountly "subscription-start-trial", { source }
+
 			w = window.open()
 			sixpack.convert "track-changes-discount", ->
 				sixpack.participate 'in-editor-free-trial-plan', ['student', 'collaborator'], (planName, rawResponse)->