diff --git a/DuckDuckGo/Menus/MainMenuActions.swift b/DuckDuckGo/Menus/MainMenuActions.swift index c3cfd79318..7223f82218 100644 --- a/DuckDuckGo/Menus/MainMenuActions.swift +++ b/DuckDuckGo/Menus/MainMenuActions.swift @@ -728,7 +728,7 @@ extension MainViewController { UserDefaults.netP.networkProtectionEntitlementsExpired = false // Clear pixel data - DailyPixel.clearLastFireDate(pixel: .privacyProEnabled) + DailyPixel.clearLastFireDate(pixel: .privacyProFeatureEnabled) Pixel.shared?.clearRepetitions(for: .privacyProBetaUserThankYouDBP) Pixel.shared?.clearRepetitions(for: .privacyProBetaUserThankYouVPN) } diff --git a/DuckDuckGo/Statistics/PixelEvent.swift b/DuckDuckGo/Statistics/PixelEvent.swift index 723284e4b0..98085b7828 100644 --- a/DuckDuckGo/Statistics/PixelEvent.swift +++ b/DuckDuckGo/Statistics/PixelEvent.swift @@ -218,7 +218,7 @@ extension Pixel { case dataBrokerProtectionErrorWhenFetchingSubscriptionAuthTokenAfterSignIn // Subscription - case privacyProEnabled + case privacyProFeatureEnabled case privacyProBetaUserThankYouVPN case privacyProBetaUserThankYouDBP case privacyProSubscriptionActive @@ -654,8 +654,8 @@ extension Pixel.Event { case .defaultRequestedFromOnboarding: return "m_mac_default_requested_from_onboarding" // MARK: - Subscription - case .privacyProEnabled: return - "m_mac_\(appDistribution)_privacy-pro_enabled" + case .privacyProFeatureEnabled: return + "m_mac_\(appDistribution)_privacy-pro_feature_enabled" case .privacyProBetaUserThankYouVPN: return "m_mac_\(appDistribution)_privacy-pro_promotion-dialog_shown_vpn" case .privacyProBetaUserThankYouDBP: return "m_mac_\(appDistribution)_privacy-pro_promotion-dialog_shown_dbp" case .privacyProSubscriptionActive: return "m_mac_\(appDistribution)_privacy-pro_app_subscription_active" diff --git a/DuckDuckGo/Statistics/PixelParameters.swift b/DuckDuckGo/Statistics/PixelParameters.swift index 1c2f4d7037..e75de1bb08 100644 --- a/DuckDuckGo/Statistics/PixelParameters.swift +++ b/DuckDuckGo/Statistics/PixelParameters.swift @@ -170,7 +170,7 @@ extension Pixel.Event { .defaultRequestedFromHomepageSetupView, .defaultRequestedFromSettings, .defaultRequestedFromOnboarding, - .privacyProEnabled, + .privacyProFeatureEnabled, .privacyProBetaUserThankYouVPN, .privacyProBetaUserThankYouDBP, .privacyProSubscriptionActive, diff --git a/DuckDuckGo/Waitlist/Views/WaitlistThankYouPromptPresenter.swift b/DuckDuckGo/Waitlist/Views/WaitlistThankYouPromptPresenter.swift index d3669668ab..07155802a3 100644 --- a/DuckDuckGo/Waitlist/Views/WaitlistThankYouPromptPresenter.swift +++ b/DuckDuckGo/Waitlist/Views/WaitlistThankYouPromptPresenter.swift @@ -54,7 +54,7 @@ final class WaitlistThankYouPromptPresenter { // Wiring this here since it's mostly useful for rolling out PrivacyPro, and should // go away once PPro is fully rolled out. if NSApp.delegateTyped.subscriptionFeatureAvailability.isFeatureAvailable { - DailyPixel.fire(pixel: .privacyProEnabled, frequency: .dailyOnly) + DailyPixel.fire(pixel: .privacyProFeatureEnabled, frequency: .dailyOnly) } guard canShowPromptCheck() else {