Skip to content

Commit

Permalink
remove onboarding experiment (#3077)
Browse files Browse the repository at this point in the history
Task/Issue URL:
https://app.asana.com/0/1204186595873227/1207981214658238/f

**Description**: Turns Onboarding experiment off
  • Loading branch information
SabrinaTardio authored Aug 6, 2024
1 parent 0009c0e commit 2051b85
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 6 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 = "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.
Expand Down
8 changes: 4 additions & 4 deletions DuckDuckGo/Tab/Model/Tab.swift
Original file line number Diff line number Diff line change
Expand Up @@ -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)
Expand Down

0 comments on commit 2051b85

Please sign in to comment.