Merge pull request #25501 from woocommerce/fix/25487

[4.0] Increase Onboarding A/B Test to 50%
This commit is contained in:
Peter Fabian 2020-01-31 08:54:14 +01:00 committed by GitHub
commit e87cea8688
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 1 additions and 1 deletions

View File

@ -158,7 +158,7 @@ class WC_Admin_Setup_Wizard {
// If it doesn't exist yet, generate it for later use and save it, so we always show the same to this user.
if ( ! $ab_test ) {
$ab_test = 1 !== rand( 1, 10 ) ? 'a' : 'b'; // 10% of users. b gets the new experience.
$ab_test = 1 !== rand( 1, 2 ) ? 'a' : 'b'; // 50% of users. b gets the new experience.
update_option( 'woocommerce_setup_ab_wc_admin_onboarding', $ab_test );
}