I am working on a website where we have thousands of products. I have to capture the impression of all products users can see in their viewport. So I created a directory
and I used IntersectionObserver
, and referred to it inside the HTML
code of that product. The issue is that it's causing a performing impact on the mobile site as soon as the user scrolls. How can I capture impressions without slowing my website?
from Capturing product impression without making the website slow
No comments:
Post a Comment