I’m trying to detect anomalies (e.g. illegal video-links share) on my platform course. I’m assigning a token per user to watch a video. The token can’t be valid longer than 24 hours, so I want to track how many minutes were watched per that token.
How to do this?