voctoweb icon indicating copy to clipboard operation
voctoweb copied to clipboard

Expose view count per recording

Open saerdnaer opened this issue 7 years ago • 4 comments

AFAIK we currently only count views per event (aka talk) – Should we also count which format (hd, sd), language ('html5' recordings with single audio track), or subtitle tracks users select?

(idea came up when reading a discussion of the C3 translate team)

saerdnaer avatar Sep 28 '17 18:09 saerdnaer

If this is implemented, please also consider #110

TobiX avatar Nov 01 '17 17:11 TobiX

Views are recorded per recording: https://github.com/voc/voctoweb/blob/master/app/models/recording_view.rb

However those are aggregated every 15 minutes: https://github.com/voc/voctoweb/blob/master/app/models/event.rb#L74-L92

manno avatar Dec 28 '18 16:12 manno

Okay looks like this is already implemented.

saerdnaer avatar Sep 27 '19 21:09 saerdnaer

We should aggregate the view count not only on the event, but also on the individual recording.

saerdnaer avatar Feb 23 '20 19:02 saerdnaer