Skip to content

Commit

Permalink
added the editor_audio_file_added event to track audio files.
Browse files Browse the repository at this point in the history
  • Loading branch information
jd-alexander committed Jan 7, 2021
1 parent 203de09 commit a8a1e82
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -141,6 +141,7 @@ public enum Stat {
EDITOR_ADDED_VIDEO_VIA_WP_MEDIA_LIBRARY,
EDITOR_ADDED_PHOTO_VIA_STOCK_MEDIA_LIBRARY,
EDITOR_ADDED_FILE_VIA_LIBRARY,
EDITOR_ADDED_AUDIO_FILE_VIA_LIBRARY,
MEDIA_PHOTO_OPTIMIZED,
MEDIA_PHOTO_OPTIMIZE_ERROR,
MEDIA_VIDEO_OPTIMIZED,
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -798,6 +798,8 @@ public static String getEventNameForStat(AnalyticsTracker.Stat stat) {
return "editor_photo_added";
case EDITOR_ADDED_FILE_VIA_LIBRARY:
return "editor_file_added";
case EDITOR_ADDED_AUDIO_FILE_VIA_LIBRARY:
return "editor_audio_file_added";
case MEDIA_PHOTO_OPTIMIZED:
return "media_photo_optimized";
case MEDIA_PHOTO_OPTIMIZE_ERROR:
Expand Down

0 comments on commit a8a1e82

Please sign in to comment.