Skip to content

Commit

Permalink
Update Preview Mode experiment name (#2389)
Browse files Browse the repository at this point in the history
  • Loading branch information
adrianduffell authored Jul 11, 2021
1 parent 4d3e7bd commit 54ce1b0
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion client/deposits/index.js
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,7 @@ const DepositsPage = () => {
return (
<Page>
<Experiment
name="wcpay_empty_state_preview_mode"
name="wcpay_empty_state_preview_mode_v1"
treatmentExperience={
<>
<EmptyStateTable
Expand Down
2 changes: 1 addition & 1 deletion client/transactions/index.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,7 @@ export const TransactionsPage = (): JSX.Element => {
return (
<Page>
<Experiment
name="wcpay_empty_state_preview_mode"
name="wcpay_empty_state_preview_mode_v1"
treatmentExperience={
<EmptyStateTable
headers={ EmptyStateTableHeaders }
Expand Down
2 changes: 1 addition & 1 deletion includes/admin/class-wc-payments-admin.php
Original file line number Diff line number Diff line change
Expand Up @@ -607,7 +607,7 @@ private function is_in_treatment_mode() {
'yes' === get_option( 'woocommerce_allow_tracking' )
);

return 'treatment' === $abtest->get_variation( 'wcpay_empty_state_preview_mode' );
return 'treatment' === $abtest->get_variation( 'wcpay_empty_state_preview_mode_v1' );
}

/**
Expand Down

0 comments on commit 54ce1b0

Please sign in to comment.