wisconsindad Posted June 22, 2021 Report Share Posted June 22, 2021 We would like to delay loading the ads until the ad spot has scrolled into the browser window view. We want this for both performance and ad-sales purposes. We dug around in the JS that the revive server sends to the site, and it appears to have a refresh function, that ultimately calls a detect function. We tried running this command in our console: reviveAsync.f046842b221f24c6a533c0729d3c49c8.refresh() But it did not do anything. Can you clarify: What is the proper way to call this function from our code? If we know the proper way to call this function we could then easily write an event listener to call this function after we insert the ad blocks. Thanks! Quote Link to comment Share on other sites More sharing options...
wisconsindad Posted June 22, 2021 Author Report Share Posted June 22, 2021 This is resolved. I found the answer here: https://forum.revive-adserver.com/topic/4897-how-to-refresh-async-javascript-tags/ Quote Link to comment Share on other sites More sharing options...
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.