Skip to content

Commit bdf07a1

Browse files
committed
Track event for top performers waiting time.
1 parent 973f8ee commit bdf07a1

File tree

1 file changed

+3
-1
lines changed

1 file changed

+3
-1
lines changed

WooCommerce/Classes/ViewRelated/Dashboard/TopPerformers/TopPerformersDashboardViewModel.swift

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -208,7 +208,9 @@ private extension TopPerformersDashboardViewModel {
208208
analytics.track(event: .Dashboard.dashboardTopPerformersLoaded(timeRange: timeRange))
209209
analytics.track(event: .DynamicDashboard.cardLoadingCompleted(type: .topPerformers))
210210
}
211-
waitingTracker?.end()
211+
if let event = waitingTracker?.end() {
212+
analytics.track(event: event)
213+
}
212214
}
213215
.store(in: &subscriptions)
214216
}

0 commit comments

Comments
 (0)