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

Domain Search: A/B test for the placeholder text and examples for the domains search field #3728

Merged
merged 6 commits into from
Mar 4, 2016

Conversation

breezyskies
Copy link
Contributor

This PR introduces a new A/B test for showing different placeholder text and examples for the domain search field.

original:
screen shot 2016-03-02 at 9 07 58 am

searchForADomain:
screen shot 2016-03-02 at 7 50 57 pm

To test:

  • Original: localStorage.setItem( 'ABTests', '{"domainSearchPlaceholderText_20160302":"original"}' );
  • Variation: 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).

@breezyskies breezyskies added [Status] Needs Review The PR is ready for review. This also triggers e2e canary tests and wp-desktop tests automatically. [Feature Group] Emails & Domains Features related to email integrations and domain management. labels Mar 2, 2016
@breezyskies breezyskies self-assigned this Mar 2, 2016
@@ -166,6 +166,12 @@ var RegisterDomainStep = React.createClass( {
},

searchForm: function() {
var placeholderText = this.translate( 'Enter a domain or keyword', { textOnly: true } );
Copy link
Contributor

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.

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Removed in c0981a2.

@breezyskies breezyskies changed the title Domain Search: A/B test for the placeholder text in the domains search field Domain Search: A/B test for the placeholder text and examples for the domains search field Mar 3, 2016
exampleDomains = '';

if ( ! this.props.isInSigup && abtest( 'domainSearchPlaceholderText' ) === 'searchForADomain' ) {
placeholderText = this.translate( 'Search for a domain' );
Copy link
Contributor

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.

@drewblaisdell
Copy link
Contributor

I tested this and had one comment about the code, but otherwise, LGTM.

@breezyskies breezyskies force-pushed the add/domain-search-placeholder-test branch from c9410f1 to 1a5c217 Compare March 3, 2016 22:59
@breezyskies
Copy link
Contributor Author

@drewblaisdell Removed the translation, updated the start date, and rebased.

@breezyskies breezyskies force-pushed the add/domain-search-placeholder-test branch from 1a5c217 to 7cb4427 Compare March 3, 2016 23:13
@drewblaisdell
Copy link
Contributor

LGTM. 👍

@drewblaisdell drewblaisdell added [Status] Ready to Merge and removed [Status] Needs Review The PR is ready for review. This also triggers e2e canary tests and wp-desktop tests automatically. labels Mar 4, 2016
@breezyskies breezyskies force-pushed the add/domain-search-placeholder-test branch from 7cb4427 to e19014d Compare March 4, 2016 14:18
breezyskies added a commit that referenced this pull request Mar 4, 2016
…r-test

Domain Search: A/B test for the placeholder text and examples for the domains search field
@breezyskies breezyskies merged commit ecad150 into master Mar 4, 2016
@breezyskies breezyskies deleted the add/domain-search-placeholder-test branch March 4, 2016 15:11
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
[Feature Group] Emails & Domains Features related to email integrations and domain management.
Projects
None yet
Development

Successfully merging this pull request may close these issues.

4 participants