Automattic / pocket-casts-android

Pocket Casts Android šŸŽ§
Mozilla Public License 2.0
2.53k stars 209 forks source link

Add missing auto play track events #2402

Closed mebarbosa closed 1 week ago

mebarbosa commented 1 week ago

Description

This adds autoplay_started and autoplay_finished_last_episode track events

Fixes #2372

Testing Instructions

  1. Go to settings -> General -> Enable AutoPlay toggle
  2. Have some episodes starred
  3. Go to Profile -> Starred
  4. Play episodes from this list (Make sure you have empty Up next)
  5. Scroll to finish the episode
  6. The auto play will add an episode from the starred list
  7. āœ… Ensure šŸ”µ Tracked: autoplay_started, Properties: {"episode_source":"starred" is triggered
  8. Play the last episode from the starred list
  9. Finish this episode
  10. āœ… Ensure šŸ”µ Tracked: autoplay_finished_last_episode, Properties: {"episode_source":"starred" is triggered

You can repeat this test for filter list, download, podcast and file list if you wanted

Checklist

I have tested any UI changes...