diff --git a/services/web/public/coffee/main/new-subscription.coffee b/services/web/public/coffee/main/new-subscription.coffee index 859d4710ef..96575eb25a 100644 --- a/services/web/public/coffee/main/new-subscription.coffee +++ b/services/web/public/coffee/main/new-subscription.coffee @@ -12,10 +12,10 @@ define [ $scope.switchToStudent = ()-> window.location = "/user/subscription/new?planCode=student_free_trial_7_days¤cy=#{$scope.currencyCode}&cc=#{$scope.data.coupon}" + event_tracking.sendMB "subscription-form", { plan : window.plan_code } $scope.paymentMethod = "credit_card" - $scope.data = number: "" month: "" @@ -59,8 +59,6 @@ define [ .done() pricing.on "change", => - event_tracking.sendMB "subscription-form", { plan : pricing.items.plan.code } - $scope.planName = pricing.items.plan.name $scope.price = pricing.price $scope.trialLength = pricing.items.plan.trial?.length