Ask A Question

Notifications

You’re not receiving notifications from this thread.

How do i track view count of different div blocks on single page while scrolling without clicking them.

Malav Desai asked in General

I have many cards (div blocks) on my single page application. I want to track view counts when user scroll through this page. Means whenever one card visible on screen or in screen viewport area while scrolling just increment view count for that perticular card (div blocks). Its like Facebook tracking pixel thing but i want ot create custom and different tracking pixel for my cards which track view counts when div is visible.
I am using Ruby on Rails and Angularjs.
Thank you.

Reply
Join the discussion
Create an account Log in

Want to stay up-to-date with Ruby on Rails?

Join 87,677+ developers who get early access to new tutorials, screencasts, articles, and more.

    We care about the protection of your data. Read our Privacy Policy.