Skip to content

Commit 9b865e7

Browse files
committed
Track taps on Clear Filters button
1 parent 52cf45c commit 9b865e7

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

WooCommerce/Classes/ViewRelated/Products/ProductsViewController.swift

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -255,6 +255,7 @@ private extension ProductsViewController {
255255
}
256256

257257
func clearFilter(sourceBarButtonItem: UIBarButtonItem? = nil, sourceView: UIView? = nil) {
258+
ServiceLocator.analytics.track(.productListClearFiltersTapped)
258259
self.filters = FilterProductListViewModel.Filters(stockStatus: nil,
259260
productStatus: nil,
260261
productType: nil,

0 commit comments

Comments
 (0)