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

changed ab test from 30 -> 14 to 14 -> 7

Henry Oswald 12 лет назад
Родитель
Сommit
21f46da08a

+ 0 - 6
services/web/app/views/layout.jade

@@ -126,11 +126,5 @@ html(itemscope, itemtype='http://schema.org/Product')
 					category: "questions"
 					category: "questions"
 				};
 				};
 
 
-		span(ng-controller="AbTestController")
-		//- script.
-		//- 	window.ab = [
-		//- 		{step:1, bucket:"14d", testName:"trial_len"},
-		//- 		{step:2, bucket:"30d", testName:"trial_len"}
-		//- 	]
 
 
 
 

+ 1 - 1
services/web/app/views/subscriptions/new.jade

@@ -29,5 +29,5 @@ block content
 
 
 		window.ab = [
 		window.ab = [
 			{step:1, bucket:"14d", testName:"trial_len"},
 			{step:1, bucket:"14d", testName:"trial_len"},
-			{step:1, bucket:"30d", testName:"trial_len"}
+			{step:1, bucket:"7d", testName:"trial_len"}
 		]
 		]

+ 1 - 1
services/web/app/views/subscriptions/successful_subscription.jade

@@ -36,5 +36,5 @@ block content
 	script(type="text/javascript").
 	script(type="text/javascript").
 		window.ab = [
 		window.ab = [
 			{step:2, bucket:"14d", testName:"trial_len"},
 			{step:2, bucket:"14d", testName:"trial_len"},
-			{step:2, bucket:"30d", testName:"trial_len"}
+			{step:2, bucket:"7d", testName:"trial_len"}
 		]
 		]

+ 1 - 1
services/web/public/coffee/ide.coffee

@@ -66,7 +66,7 @@ define [
 		$scope.startFreeTrial = (source) ->
 		$scope.startFreeTrial = (source) ->
 
 
 			buckets = [
 			buckets = [
-				{ bucketName:"30d", planCode: "student_free_trial" }
+				{ bucketName:"7d", planCode: "student_free_trial_7_days" }
 				{ bucketName:"14d", planCode: "student_free_trial_14_days" }
 				{ bucketName:"14d", planCode: "student_free_trial_14_days" }
 			]
 			]
 			bucket = abTestManager.getABTestBucket "trial_len", buckets
 			bucket = abTestManager.getABTestBucket "trial_len", buckets

+ 1 - 1
services/web/public/coffee/main/plans.coffee

@@ -60,7 +60,7 @@ define [
 	App.controller "PlansController", ($scope, $modal, event_tracking, abTestManager, MultiCurrencyPricing) ->
 	App.controller "PlansController", ($scope, $modal, event_tracking, abTestManager, MultiCurrencyPricing) ->
 		
 		
 		buckets = [
 		buckets = [
-			{ bucketName:"30d", queryString: "_free_trial", trial_len:30 }
+			{ bucketName:"7d", queryString: "_free_trial_7_days", trial_len:30 }
 			{ bucketName:"14d", queryString: "_free_trial_14_days", trial_len:14 }
 			{ bucketName:"14d", queryString: "_free_trial_14_days", trial_len:14 }
 		]
 		]
 		bucket = abTestManager.getABTestBucket "trial_len", buckets
 		bucket = abTestManager.getABTestBucket "trial_len", buckets