From daf6d93489f2bc0f91a87af4d587d81c595652fd Mon Sep 17 00:00:00 2001 From: Simon Hong Date: Sat, 18 Jan 2025 03:08:01 +0900 Subject: [PATCH] Enabled brave search promotion button study for CA/GB in beta/nightly (#1275) Related issue - https://github.com/brave/brave-browser/issues/40776 also removed CA/GB from search promotion banner study. --- studies/BraveSearchPromotionBannerStudy.json5 | 2 -- studies/BraveSearchPromotionButtonStudy.json5 | 36 +++++++++++++++++++ 2 files changed, 36 insertions(+), 2 deletions(-) create mode 100644 studies/BraveSearchPromotionButtonStudy.json5 diff --git a/studies/BraveSearchPromotionBannerStudy.json5 b/studies/BraveSearchPromotionBannerStudy.json5 index f122b702..75aeb422 100644 --- a/studies/BraveSearchPromotionBannerStudy.json5 +++ b/studies/BraveSearchPromotionBannerStudy.json5 @@ -60,10 +60,8 @@ 'LINUX', ], country: [ - 'CA', 'DE', 'FR', - 'GB', 'US', 'AT', 'ES', diff --git a/studies/BraveSearchPromotionButtonStudy.json5 b/studies/BraveSearchPromotionButtonStudy.json5 new file mode 100644 index 00000000..7ad4ff64 --- /dev/null +++ b/studies/BraveSearchPromotionButtonStudy.json5 @@ -0,0 +1,36 @@ +[ + { + name: 'BraveSearchPromotionButtonStudy', + experiment: [ + { + name: 'Enabled', + probability_weight: 100, + feature_association: { + enable_feature: [ + 'BraveSearchPromotionOmniboxButton', + ], + }, + }, + { + name: 'Default', + probability_weight: 0, + }, + ], + filter: { + min_version: '131.1.74.20', + channel: [ + 'BETA', + 'NIGHTLY', + ], + platform: [ + 'WINDOWS', + 'MAC', + 'LINUX', + ], + country: [ + 'CA', + 'GB', + ], + }, + }, +]