This article describes a step-by-step method that can be used for pages utilizing "infinite scroll", loading additional content after the user scrolls down to a certain point.
- Initial page loads with Proper ad units
- User scrolls, new page load triggers and URL changes
- Call
properDeleteSlot("ad_slot_name")
for every ad slot that will be re-used on the new infinite page load, e.g.properDeleteSlot("salon_side_1")
- Re-insert desired ad slots into the new infinite page
- Call
properInfNewPage();
to refresh the auction, count a new pageview, and display new ads on the new page - Repeat for all new pages as the user scrolls