Support Forums

Coding a video counter


I am seeking to code a video view counter triggered and made viewable when a viewer presses play on my website videos without it going back to zero when site is refreshed, or when users log in and out. Any suggestions? All feedback is greatly appreciated.

Hi @MM6th

You might use Local Storage to store the count value of the video, or videos. This can still get deleted though.

Alternatively set up a DB somewhere, have a serverless function store play count information in it for each user/video.