A
A
afishr2019-06-01 13:37:31
Feeds
afishr, 2019-06-01 13:37:31

How to record all views of a post in a feed on a website?

Hello. The essence of the question is this:
I am writing a social. a network where users can write posts, and other users can see these posts in their feed. How can I track the views of these very posts. On YouTube, for example, the basic principle is clear, you need to go to the video page. But how to do it when you are just scrolling through the posts in the feed? Here in VKontakte, for example, there is also a view counter. It would be interesting to know how they implemented it.
Thank you all in advance for any hint. Good luck!

Answer the question

In order to leave comments, you need to log in

1 answer(s)
R
Robur, 2019-06-01
@Robur

What exactly is the problem? Showed a post in the feed - add a view. To make it closer to reality - add only when it stays on the screen for at least 5 seconds.

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question