Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Signup: Trampoline: Ensure trampoline test assignments don't influenc… #1697

Merged
merged 1 commit into from
Dec 16, 2015
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
6 changes: 5 additions & 1 deletion client/signup/steps/email-signup-form/index.jsx
Original file line number Diff line number Diff line change
Expand Up @@ -12,6 +12,7 @@ import SignupForm from 'components/signup-form'
import signupUtils from 'signup/utils'
import SignupActions from 'lib/signup/actions'
import { abtest } from 'lib/abtest'
import { getABTestVariation } from 'lib/abtest';

export default React.createClass( {

Expand Down Expand Up @@ -45,7 +46,10 @@ export default React.createClass( {
analytics.tracks.recordEvent( 'calypso_signup_user_step_submit', analyticsData );

// run and record before creating user, only for free and in main flow
if ( ! this.props.signupDependencies.cartItem && this.props.flowName === 'main' ) {
if ( ! this.props.signupDependencies.cartItem &&
this.props.flowName === 'main' &&
getABTestVariation( 'dss' ) !== 'main' &&
getABTestVariation( 'triforce' ) !== 'main' ) {
abtest( 'nuxTrampoline' );
}

Expand Down