From e0840895fa5e4719f829e28f8dbf9e49c6f2a47d Mon Sep 17 00:00:00 2001 From: aseren <86598290+aseren@users.noreply.github.com> Date: Thu, 4 Jan 2024 14:28:31 -0500 Subject: [PATCH] Fix #8619: Send correct ad notification clicked event (#8620) --- .../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 9ccaa5cb5726..e54d6702d1f2 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: