From 722854c714dfcc1068d036a7561bab0316e091ed Mon Sep 17 00:00:00 2001 From: Sabrina Tardio Date: Fri, 13 Dec 2024 09:31:53 +0100 Subject: [PATCH] disable contextual onboarding --- DuckDuckGo/Statistics/Experiment/PixelExperiment.swift | 4 ++-- DuckDuckGo/Tab/Model/Tab.swift | 1 - 2 files changed, 2 insertions(+), 3 deletions(-) diff --git a/DuckDuckGo/Statistics/Experiment/PixelExperiment.swift b/DuckDuckGo/Statistics/Experiment/PixelExperiment.swift index b23bc40d9b..50c04dfd8c 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 = "oc" - case newOnboarding = "od" + case control = "oe" + case newOnboarding = "of" } // 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 dd6c68518b..9fcc072057 100644 --- a/DuckDuckGo/Tab/Model/Tab.swift +++ b/DuckDuckGo/Tab/Model/Tab.swift @@ -793,7 +793,6 @@ protocol NewWindowPolicyDecisionMaker { #endif if PixelExperiment.cohort == .newOnboarding { - Application.appDelegate.onboardingStateMachine.state = .notStarted setContent(.onboarding) } else { setContent(.onboardingDeprecated)