Change a/b test size of new onboarding to 50 percent.

This commit is contained in:
Timmy Crawford 2020-01-27 09:01:27 -08:00
parent 99d957dd2d
commit 081afa256c
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 );
}