Skip to content

Commit

Permalink
disable contextual onboarding
Browse files Browse the repository at this point in the history
  • Loading branch information
SabrinaTardio committed Dec 13, 2024
1 parent ee8dfa8 commit 722854c
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 3 deletions.
4 changes: 2 additions & 2 deletions DuckDuckGo/Statistics/Experiment/PixelExperiment.swift
Original file line number Diff line number Diff line change
Expand Up @@ -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.
Expand Down
1 change: 0 additions & 1 deletion DuckDuckGo/Tab/Model/Tab.swift
Original file line number Diff line number Diff line change
Expand Up @@ -793,7 +793,6 @@ protocol NewWindowPolicyDecisionMaker {
#endif

if PixelExperiment.cohort == .newOnboarding {
Application.appDelegate.onboardingStateMachine.state = .notStarted
setContent(.onboarding)
} else {
setContent(.onboardingDeprecated)
Expand Down

0 comments on commit 722854c

Please sign in to comment.