Skip to content

Commit

Permalink
Merge release/1.96.0 into main
Browse files Browse the repository at this point in the history
  • Loading branch information
daxmobile authored Jul 12, 2024
2 parents fb600d6 + b18e8a6 commit eed9a0a
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 2 deletions.
2 changes: 1 addition & 1 deletion Configuration/BuildNumber.xcconfig
Original file line number Diff line number Diff line change
@@ -1 +1 @@
CURRENT_PROJECT_VERSION = 220
CURRENT_PROJECT_VERSION = 221
6 changes: 5 additions & 1 deletion DuckDuckGo/Statistics/Experiment/PixelExperiment.swift
Original file line number Diff line number Diff line change
Expand Up @@ -208,7 +208,11 @@ final internal class PixelExperimentLogic {
}

func fireSerpPixel() {
PixelKit.fire(GeneralPixel.serp(cohort: cohort?.rawValue), frequency: .standard, includeAppVersionParameter: false)
if allocatedCohort != nil {
PixelKit.fire(GeneralPixel.serp(cohort: cohort?.rawValue), frequency: .standard, includeAppVersionParameter: false)
} else {
PixelKit.fire(GeneralPixel.serp(cohort: nil), frequency: .standard, includeAppVersionParameter: false)
}
}

func fireOnboardingHomeButtonEnabledPixel() {
Expand Down

0 comments on commit eed9a0a

Please sign in to comment.