Skip to content

Commit

Permalink
disable contextual onboarding (#3667)
Browse files Browse the repository at this point in the history
Task/Issue URL: https://app.asana.com/0/0/1208965309086157/f

**Description**: We want to disable the contextual onboarding while
leaving the rest of the treatment variant
  • Loading branch information
SabrinaTardio authored Dec 13, 2024
1 parent ee8dfa8 commit b6be200
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 b6be200

Please sign in to comment.