diff --git a/Configuration/BuildNumber.xcconfig b/Configuration/BuildNumber.xcconfig index 911537c5b9..da04733512 100644 --- a/Configuration/BuildNumber.xcconfig +++ b/Configuration/BuildNumber.xcconfig @@ -1 +1 @@ -CURRENT_PROJECT_VERSION = 339 +CURRENT_PROJECT_VERSION = 340 diff --git a/DuckDuckGo/HomePage/View/HomePageViewController.swift b/DuckDuckGo/HomePage/View/HomePageViewController.swift index 7651f0b5a5..3882315491 100644 --- a/DuckDuckGo/HomePage/View/HomePageViewController.swift +++ b/DuckDuckGo/HomePage/View/HomePageViewController.swift @@ -162,6 +162,7 @@ final class HomePageViewController: NSViewController { func createRecentlyVisitedModel() -> HomePage.Models.RecentlyVisitedModel { return .init { [weak self] url in + PixelKit.fire(GeneralPixel.privacyFeedHistoryLinkOpened, frequency: .dailyAndCount) self?.openUrl(url) } } diff --git a/DuckDuckGo/Statistics/GeneralPixel.swift b/DuckDuckGo/Statistics/GeneralPixel.swift index 0c24d26481..4a0a454f67 100644 --- a/DuckDuckGo/Statistics/GeneralPixel.swift +++ b/DuckDuckGo/Statistics/GeneralPixel.swift @@ -146,6 +146,9 @@ enum GeneralPixel: PixelKitEventV2 { case duckPlayerYouTubeOverlayNavigationClosed case duckPlayerYouTubeNavigationIdle30 + // Temporary Home Page Pixels + case privacyFeedHistoryLinkOpened + // Dashboard case dashboardProtectionAllowlistAdd(triggerOrigin: String?) case dashboardProtectionAllowlistRemove(triggerOrigin: String?) @@ -695,6 +698,9 @@ enum GeneralPixel: PixelKitEventV2 { case .duckPlayerYouTubeNavigationIdle30: return "duckplayer_youtube_overlay_idle-30" + case .privacyFeedHistoryLinkOpened: + return "privacy_feed_history_link_opened" + case .dashboardProtectionAllowlistAdd: return "mp_wla" case .dashboardProtectionAllowlistRemove: