Skip to content

Commit

Permalink
Signup: Verticals Survey: Disable the Verticals Survey
Browse files Browse the repository at this point in the history
There were some bugs around stats collection and some strange behavior in
Firefox and iOS Chrome. We are disabling the test for now and will re-start when
things are working correctly again.
  • Loading branch information
sirbrillig authored and kwight committed Dec 9, 2015
1 parent 96ef7d9 commit 9d77d5b
Show file tree
Hide file tree
Showing 4 changed files with 0 additions and 54 deletions.
9 changes: 0 additions & 9 deletions client/lib/abtest/active-tests.js
Original file line number Diff line number Diff line change
Expand Up @@ -16,15 +16,6 @@ module.exports = {
},
defaultVariation: 'singlePurchaseFlow'
},
verticalSurvey: {
datestamp: '20151202',
variations: {
noSurvey: 12,
oneStep: 44,
twoStep: 44
},
defaultVariation: 'noSurvey'
},
translatorInvitation: {
datestamp: '20150910',
variations: {
Expand Down
15 changes: 0 additions & 15 deletions client/signup/config/flows.js
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,6 @@ var assign = require( 'lodash/object/assign' ),
*/
var config = require( 'config' ),
stepConfig = require( './steps' ),
abtest = require( 'lib/abtest' ).abtest,
user = require( 'lib/user' )();

function getCheckoutDestination( dependencies ) {
Expand Down Expand Up @@ -65,20 +64,6 @@ const flows = {
lastModified: '2015-09-22'
},

'vert-blog': {
steps: abtest( 'verticalSurvey' ) === 'noSurvey' ? [ 'themes', 'domains', 'plans', 'user' ] : [ 'survey-blog', 'themes', 'domains', 'plans', 'survey-user' ],
destination: getCheckoutDestination,
description: 'Categorizing blog signups for Verticals Survey',
lastModified: null
},

'vert-site': {
steps: abtest( 'verticalSurvey' ) === 'noSurvey' ? [ 'themes', 'domains', 'plans', 'user' ] : [ 'survey-site', 'themes', 'domains', 'plans', 'survey-user' ],
destination: getCheckoutDestination,
description: 'Categorizing site signups for Verticals Survey',
lastModified: null
},

headstart: {
steps: [ 'theme-headstart', 'domains-with-theme', 'plans', 'user' ],
destination: getCheckoutDestination,
Expand Down
4 changes: 0 additions & 4 deletions client/signup/config/step-components.js
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,6 @@ var EmailSignupComponent = require( 'signup/steps/email-signup-form' ),
PlansStepComponent = require( 'signup/steps/plans' ),
DomainsStepComponent = require( 'signup/steps/domains' ),
DSSStepComponent = require( 'signup/steps/dss' ),
SurveyStepComponent = require( 'signup/steps/survey' ),
config = require( 'config' );

module.exports = {
Expand All @@ -18,9 +17,6 @@ module.exports = {
test: config( 'env' ) === 'development' ? require( 'signup/steps/test-step' ) : undefined,
plans: PlansStepComponent,
domains: DomainsStepComponent,
'survey-blog': SurveyStepComponent,
'survey-site': SurveyStepComponent,
'survey-user': EmailSignupComponent,
'domains-with-theme': DomainsStepComponent,
'theme-dss': DSSStepComponent,
'jetpack-user': EmailSignupComponent
Expand Down
26 changes: 0 additions & 26 deletions client/signup/config/steps.js
Original file line number Diff line number Diff line change
Expand Up @@ -35,32 +35,6 @@ module.exports = {
stepName: 'test',
},

'survey-user': {
stepName: 'survey-user',
apiRequestFunction: stepActions.createAccount,
dependencies: [ 'surveySiteType', 'surveyQuestion' ],
providesToken: true,
providesDependencies: [ 'bearer_token', 'username' ]
},

'survey-blog': {
stepName: 'survey-blog',
props: {
surveySiteType: 'blog',
isOneStep: abtest( 'verticalSurvey' ) === 'oneStep'
},
providesDependencies: [ 'surveySiteType', 'surveyQuestion' ]
},

'survey-site': {
stepName: 'survey-site',
props: {
surveySiteType: 'site',
isOneStep: abtest( 'verticalSurvey' ) === 'oneStep'
},
providesDependencies: [ 'surveySiteType', 'surveyQuestion' ]
},

plans: {
stepName: 'plans',
apiRequestFunction: stepActions.addPlanToCart,
Expand Down

0 comments on commit 9d77d5b

Please sign in to comment.