From 2051b85db9be09d92aa6a18ed7b579bcf7141681 Mon Sep 17 00:00:00 2001 From: Sabrina Tardio <44158575+SabrinaTardio@users.noreply.github.com> Date: Tue, 6 Aug 2024 17:39:22 +0200 Subject: [PATCH] remove onboarding experiment (#3077) Task/Issue URL: https://app.asana.com/0/1204186595873227/1207981214658238/f **Description**: Turns Onboarding experiment off --- DuckDuckGo/Statistics/Experiment/PixelExperiment.swift | 4 ++-- DuckDuckGo/Tab/Model/Tab.swift | 8 ++++---- 2 files changed, 6 insertions(+), 6 deletions(-) diff --git a/DuckDuckGo/Statistics/Experiment/PixelExperiment.swift b/DuckDuckGo/Statistics/Experiment/PixelExperiment.swift index 04465aa90f..58fdee2b3a 100644 --- a/DuckDuckGo/Statistics/Experiment/PixelExperiment.swift +++ b/DuckDuckGo/Statistics/Experiment/PixelExperiment.swift @@ -60,8 +60,8 @@ enum PixelExperiment: String, CaseIterable { // These are the variants. Rename or add/remove them as needed. If you change the string value // remember to keep it clear for privacy triage. - case control = "oa" - case newOnboarding = "ob" + case control +// case newOnboarding = "ob" } // These functions contain the business logic for determining if the pixel should be fired or not. diff --git a/DuckDuckGo/Tab/Model/Tab.swift b/DuckDuckGo/Tab/Model/Tab.swift index 99e6598883..7a1fd12d30 100644 --- a/DuckDuckGo/Tab/Model/Tab.swift +++ b/DuckDuckGo/Tab/Model/Tab.swift @@ -727,11 +727,11 @@ protocol NewWindowPolicyDecisionMaker { } #endif - if PixelExperiment.cohort == .newOnboarding { - setContent(.onboarding) - } else { +// if PixelExperiment.cohort == .newOnboarding { +// setContent(.onboarding) +// } else { setContent(.onboardingDeprecated) - } +// } } @MainActor(unsafe)