Skip to content

Commit

Permalink
Merge pull request #5668 from Automattic/update/deploy-nudges-test
Browse files Browse the repository at this point in the history
Plans: deploy nudges and remove test.
  • Loading branch information
mtias committed May 31, 2016
2 parents bb13146 + 652e49a commit 40669a8
Show file tree
Hide file tree
Showing 2 changed files with 0 additions and 18 deletions.
8 changes: 0 additions & 8 deletions client/lib/abtest/active-tests.js
Original file line number Diff line number Diff line change
Expand Up @@ -54,14 +54,6 @@ module.exports = {
},
defaultVariation: 'namegen'
},
nudges: {
datestamp: '20160519',
variations: {
showAll: 60,
hideAll: 40
},
defaultVariation: 'showAll'
},
guidedTours: {
datestamp: '20160428',
variations: {
Expand Down
10 changes: 0 additions & 10 deletions client/my-sites/upgrade-nudge/index.jsx
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,6 @@ import sitesList from 'lib/sites-list';
import { getValidFeatureKeys, hasFeature } from 'lib/plans';
import { isFreePlan } from 'lib/products-values';
import TrackComponentView from 'lib/analytics/track-component-view';
import { abtest } from 'lib/abtest';

const sites = sitesList();

Expand Down Expand Up @@ -90,15 +89,6 @@ export default React.createClass( {
return null;
}

if ( abtest( 'nudges' ) === 'hideAll' ) {
return (
<TrackComponentView eventName={ 'calypso_upgrade_nudge_hide' } eventProperties={ {
cta_name: this.props.event,
cta_feature: this.props.feature
} } />
);
}

if ( ! this.props.href && site ) {
if ( this.props.feature ) {
href = `/plans/compare/${ this.props.feature }/${ site.slug }`;
Expand Down

0 comments on commit 40669a8

Please sign in to comment.