diff --git a/services/web/public/coffee/ide/pdf/controllers/PdfController.coffee b/services/web/public/coffee/ide/pdf/controllers/PdfController.coffee index c1db880d8e..195083b118 100644 --- a/services/web/public/coffee/ide/pdf/controllers/PdfController.coffee +++ b/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 diff --git a/services/web/public/coffee/main/account-upgrade.coffee b/services/web/public/coffee/main/account-upgrade.coffee index cc6d217324..956c340d14 100644 --- a/services/web/public/coffee/main/account-upgrade.coffee +++ b/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)->