New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Video views stats #262
Comments
|
I don't think it's a good idea to directly store views in the database (size/writes). What we could do however is:
I imagine a table with this type of row: |
|
Yeah, should have added that, sorry. |
|
First step (storing views by dates) implemented: 9a629c6 |
|
Does this mean that a plugin can now be written to implement this? |
|
No not yet, the label means that we have to add features to the plugin API so we can create this kind of plugin |
|
View stats could store additional metadata, some of which we could take from https://support.google.com/youtube/answer/9314414?hl=en (YouTube support doc). For instance: view time in a video in minutes, how the user reached a video ("organic" if from within the interface, "external" if directly from a link posted outside, "embed" if from an embeded player). Some more detailed stats could be interesting form the uploader's PoV, under "audience retention" stats. They consist in just reporting more precisely what parts of the video got watched, and not just the time watched. |
|
Implemented in #4900 |
We currently only have the number of views for a video. Saving the date when the view occurred (for instance like we do for likes inside
accountVideoRate) would allow :The text was updated successfully, but these errors were encountered: