From de68583e2ccd99994627279d67fea6283e35e39a Mon Sep 17 00:00:00 2001 From: Aleksey Seren Date: Thu, 4 Jan 2024 13:45:12 -0500 Subject: [PATCH] Fix #8619: Send correct ad notification clicked event --- .../Frontend/Brave Rewards/Ads/AdsNotificationHandler.swift | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Sources/Brave/Frontend/Brave Rewards/Ads/AdsNotificationHandler.swift b/Sources/Brave/Frontend/Brave Rewards/Ads/AdsNotificationHandler.swift index 9ccaa5cb572..e54d6702d1f 100644 --- a/Sources/Brave/Frontend/Brave Rewards/Ads/AdsNotificationHandler.swift +++ b/Sources/Brave/Frontend/Brave Rewards/Ads/AdsNotificationHandler.swift @@ -43,7 +43,7 @@ class AdsNotificationHandler: BraveAdsNotificationHandler { guard let self = self else { return } switch action { case .opened: - self.ads.triggerNotificationAdEvent(notification.placementID, eventType: .viewed, completion: { _ in }) + self.ads.triggerNotificationAdEvent(notification.placementID, eventType: .clicked, completion: { _ in }) case .dismissed: self.ads.triggerNotificationAdEvent(notification.placementID, eventType: .dismissed, completion: { _ in }) case .timedOut: