Skip to content

Commit

Permalink
Merge pull request #906 from Automattic/remove/nux-trampoline-test
Browse files Browse the repository at this point in the history
Signup: Remove `nuxTrampoline` a/b test
  • Loading branch information
drewblaisdell committed Nov 27, 2015
2 parents cb162c1 + 972872d commit 5003aca
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 16 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 @@ -37,15 +37,6 @@ module.exports = {
},
defaultVariation: 'originalA'
},
nuxTrampoline: {
datestamp: '20151113',
variations: {
main: 10,
'landing-main': 10,
notTested: 80
},
defaultVariation: 'main'
},
businessPluginsNudge: {
datestamp: '20151119',
variations: {
Expand Down
8 changes: 1 addition & 7 deletions client/signup/config/flows.js
Original file line number Diff line number Diff line change
Expand Up @@ -9,19 +9,13 @@ var assign = require( 'lodash/object/assign' ),
*/
var config = require( 'config' ),
stepConfig = require( './steps' ),
user = require( 'lib/user' )(),
abtest = require( 'lib/abtest' ).abtest;
user = require( 'lib/user' )();

function getCheckoutDestination( dependencies ) {
if ( dependencies.cartItem || dependencies.domainItem ) {
return '/checkout/' + dependencies.siteSlug;
}

/* NUX Trampoline A/B */
if ( 'landing-main' === abtest( 'nuxTrampoline' ) ) {
return 'https://' + dependencies.siteSlug + '/?landing';
}

return '/me/next?welcome';
}

Expand Down

0 comments on commit 5003aca

Please sign in to comment.