• This site uses cookies. By continuing to use this site, you are agreeing to our use of cookies. Learn more.

XF 1.4 Only load code when viewed


Active member
I recevied the following notice from AdSense this morning:

Ad unit "blah..." is only seen 1% of the time it is loaded. Making an ad unit more viewable can increase your revenue.

It's only displayed if there are a couple posts. It's below the fold. There's the DP adsense thing. What's the best way to code around this unit that I want to keep so that it doesn't display until viewed, without affecting my other ads that are above the fold and always seen?