Skip to content

Commit 80236b2

Browse files
committed
Track when review is opened from review list
1 parent 433e048 commit 80236b2

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

WooCommerce/Classes/ViewRelated/Reviews/ReviewsDataSource.swift

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -229,6 +229,8 @@ extension ReviewsDataSource: ReviewsInteractionDelegate {
229229
let reviewedProduct = product(id: review.productID)
230230
let note = notification(id: review.reviewID)
231231

232+
ServiceLocator.analytics.track(.reviewOpen)
233+
232234
let detailsViewController = ReviewDetailsViewController(productReview: review,
233235
product: reviewedProduct,
234236
notification: note)

0 commit comments

Comments
 (0)