Skip to content

Commit

Permalink
Tracks Audit: Track Discover Share (#3426)
Browse files Browse the repository at this point in the history
  • Loading branch information
mebarbosa authored Jan 13, 2025
1 parent 99b3a52 commit c569a60
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -174,6 +174,7 @@ open class PodcastGridListFragment : BaseFragment(), Toolbar.OnMenuItemClickList
type = "text/plain"
putExtra(Intent.EXTRA_TEXT, shareUrl ?: "")
}
analyticsTracker.track(AnalyticsEvent.DISCOVER_LIST_SHARE_TAPPED_TAPPED)
startActivity(Intent.createChooser(intent, getString(LR.string.podcasts_share_via)))
return true
}
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -309,6 +309,7 @@ enum class AnalyticsEvent(val key: String) {
DISCOVER_LIST_EPISODE_TAPPED("discover_list_episode_tapped"),
DISCOVER_LIST_EPISODE_PLAY("discover_list_episode_play"),
DISCOVER_LIST_PODCAST_TAPPED("discover_list_podcast_tapped"),
DISCOVER_LIST_SHARE_TAPPED_TAPPED("discover_list_share_tapped_tapped"),
DISCOVER_LIST_PODCAST_SUBSCRIBED("discover_list_podcast_subscribed"),
DISCOVER_FEATURED_PAGE_CHANGED("discover_featured_page_changed"),
DISCOVER_SMALL_LIST_PAGE_CHANGED("discover_small_list_page_changed"),
Expand Down

0 comments on commit c569a60

Please sign in to comment.