diff --git a/Core/PixelEvent.swift b/Core/PixelEvent.swift index cb740707df..a4f7696458 100644 --- a/Core/PixelEvent.swift +++ b/Core/PixelEvent.swift @@ -137,6 +137,7 @@ extension Pixel { case autocompleteDisplayedLocalHistory case autocompleteDisplayedOpenedTab case autocompleteSwipeToDelete + case autocompleteSwipeToDeleteDaily case feedbackPositive case feedbackNegativePrefix(category: String) @@ -979,6 +980,7 @@ extension Pixel.Event { case .autocompleteDisplayedLocalHistory: return "m_autocomplete_display_local_history" case .autocompleteDisplayedOpenedTab: return "m_autocomplete_display_switch_to_tab" case .autocompleteSwipeToDelete: return "m_autocomplete_result_deleted" + case .autocompleteSwipeToDeleteDaily: return "m_autocomplete_result_deleted_daily" case .feedbackPositive: return "mfbs_positive_submit" case .feedbackNegativePrefix(category: let category): return "mfbs_negative_\(category)" diff --git a/DuckDuckGo/AutocompleteViewController.swift b/DuckDuckGo/AutocompleteViewController.swift index 7c09c4da6a..c358fe97cd 100644 --- a/DuckDuckGo/AutocompleteViewController.swift +++ b/DuckDuckGo/AutocompleteViewController.swift @@ -274,6 +274,7 @@ extension AutocompleteViewController: AutocompleteViewModelDelegate { Task { await historyManager.deleteHistoryForURL(url) Pixel.fire(pixel: .autocompleteSwipeToDelete) + DailyPixel.fireDaily(.autocompleteSwipeToDeleteDaily) requestSuggestions(query: self.query) } default: