Skip to content

Commit

Permalink
Add tracking for activity card footer and item clicks
Browse files Browse the repository at this point in the history
  • Loading branch information
zwarm committed Apr 21, 2023
1 parent ba1350e commit 3bb31a6
Showing 1 changed file with 2 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -718,7 +718,7 @@ class MySiteViewModel @Inject constructor(
}

private fun onActivityCardItemClick(activityCardItemClickParams: ActivityCardItemClickParams) {
// implement track event for activity item click
cardsTracker.trackActivityCardItemClicked()
_onNavigation.value =
Event(
SiteNavigationAction.OpenActivityLogDetail(
Expand All @@ -730,7 +730,7 @@ class MySiteViewModel @Inject constructor(
}

private fun onActivityCardFooterLinkClick() {
// implement track event for activity card footer link
cardsTracker.trackActivityCardFooterClicked()
_onNavigation.value =
Event(SiteNavigationAction.OpenActivityLog(requireNotNull(selectedSiteRepository.getSelectedSite())))
}
Expand Down

0 comments on commit 3bb31a6

Please sign in to comment.