diff --git a/Configuration/BuildNumber.xcconfig b/Configuration/BuildNumber.xcconfig index fe0a007cd9..899f38a1ac 100644 --- a/Configuration/BuildNumber.xcconfig +++ b/Configuration/BuildNumber.xcconfig @@ -1 +1 @@ -CURRENT_PROJECT_VERSION = 220 +CURRENT_PROJECT_VERSION = 221 diff --git a/DuckDuckGo/Statistics/Experiment/PixelExperiment.swift b/DuckDuckGo/Statistics/Experiment/PixelExperiment.swift index 71f0705f03..54739261d8 100644 --- a/DuckDuckGo/Statistics/Experiment/PixelExperiment.swift +++ b/DuckDuckGo/Statistics/Experiment/PixelExperiment.swift @@ -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() {