View Counter but increment should be once per user just like Youtube!

I have an ecommerce app and I have created a view counter function for the listed items. I want increment for a viewed item once every new user and not each time a user views the item.
Any tips for the above problem?

have a relasonship between a Video and Users that can have mutible and add an action on laod of screen were it add the Video to the users like this


1 Like

i did something similar to this but problem is view is incremented for by existing users as well. I want views to be incremented by only new users only once per new user. i hope i am making sense. sorry my English is not so good.

This topic was automatically closed 10 days after the last reply. New replies are no longer allowed.