Skip to content

Commit 7f73474

Browse files
committed
Track when review is opened from push notification
1 parent 80236b2 commit 7f73474

File tree

2 files changed

+2
-0
lines changed

2 files changed

+2
-0
lines changed

WooCommerce/Classes/ViewRelated/Hub Menu/HubMenuCoordinator.swift

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -95,6 +95,7 @@ final class HubMenuCoordinator: Coordinator {
9595
}
9696

9797
Task { @MainActor in
98+
ServiceLocator.analytics.track(.reviewOpen)
9899
await self.willPresentReviewDetailsFromPushNotification()
99100
self.pushReviewDetailsViewController(using: parcel)
100101

WooCommerce/Classes/ViewRelated/Reviews/ReviewsCoordinator.swift

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -90,6 +90,7 @@ final class ReviewsCoordinator: Coordinator {
9090
return
9191
}
9292

93+
ServiceLocator.analytics.track(.reviewOpen)
9394
self.willPresentReviewDetailsFromPushNotification()
9495
self.pushReviewDetailsViewController(using: parcel)
9596

0 commit comments

Comments
 (0)