-
Notifications
You must be signed in to change notification settings - Fork 2k
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
Domain Search: A/B test for the placeholder text and examples for the domains search field #3728
Conversation
@@ -166,6 +166,12 @@ var RegisterDomainStep = React.createClass( { | |||
}, | |||
|
|||
searchForm: function() { | |||
var placeholderText = this.translate( 'Enter a domain or keyword', { textOnly: true } ); |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
You can get rid of all these { textOnly: true }
parameters - they are not needed any more.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Removed in c0981a2.
exampleDomains = ''; | ||
|
||
if ( ! this.props.isInSigup && abtest( 'domainSearchPlaceholderText' ) === 'searchForADomain' ) { | ||
placeholderText = this.translate( 'Search for a domain' ); |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
This test is currently limited to users with an en
locale, so I don't think we should translate this string or "e.g." below.
I tested this and had one comment about the code, but otherwise, LGTM. |
c9410f1
to
1a5c217
Compare
@drewblaisdell Removed the translation, updated the start date, and rebased. |
1a5c217
to
7cb4427
Compare
LGTM. 👍 |
…p domain searches.
7cb4427
to
e19014d
Compare
…r-test Domain Search: A/B test for the placeholder text and examples for the domains search field
This PR introduces a new A/B test for showing different placeholder text and examples for the domain search field.
original
:searchForADomain
:To test:
localStorage.setItem( 'ABTests', '{"domainSearchPlaceholderText_20160302":"original"}' );
localStorage.setItem( 'ABTests', '{"domainSearchPlaceholderText_20160302":"searchForADomain"}' );
Note that this is only shown at
/domains/add
and not in signup (since the goal is to increase domain searches and the signup step requires a search even if you are just opting for the*.wordpress.com
domain).