Skip to content

Commit

Permalink
Track Podcast Selection Screen Dismiss event (#3470)
Browse files Browse the repository at this point in the history
  • Loading branch information
mebarbosa authored Jan 22, 2025
1 parent 666a860 commit ff909ab
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 @@ -524,6 +524,7 @@ enum class AnalyticsEvent(val key: String) {
SETTINGS_SELECT_PODCASTS_SELECT_NONE_TAPPED("settings_select_podcasts_select_none_tapped"),
SETTINGS_SELECT_PODCASTS_PODCAST_TOGGLED("settings_select_podcasts_podcast_toggled"),
SETTINGS_SELECT_PODCASTS_SELECT_ALL_PODCASTS_TOGGLED("settings_select_podcasts_select_all_podcasts_toggled"),
SETTINGS_SELECT_PODCASTS_DISMISSED("settings_select_podcasts_dismissed"),

/* Settings - Files */
SETTINGS_FILES_SHOWN("settings_files_shown"),
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -181,6 +181,7 @@ class PodcastSelectFragment : BaseFragment() {

override fun onDestroyView() {
super.onDestroyView()
analyticsTracker.track(AnalyticsEvent.SETTINGS_SELECT_PODCASTS_DISMISSED, source.toEventProperty())
disposables.clear()
trackChange()
binding = null
Expand Down

0 comments on commit ff909ab

Please sign in to comment.