How to implement ads on pages that utilize Infinite Scroll
- Initial page loads with your ad units
- User scrolls to a point on the page where a new page loads
- Re-insert desired ad slots to the new infinite page
- Update page URL (if it is changing)
- Call the function properInfNewPage(); to refresh the auction, to count a new page view, and to display new ads on the page
- Repeat the steps above for EACH new page that users scroll to
Notes:
Dynamic tags are required
If a new pageview should not be counted, or if the new ads are inserted after properInfNewPage(); is called, then the function properBuildSlots(); must be called to display the new ads