I am looking for a simple way to minimize ads on a website I’m developing in WordPress by only showing ads (Google Adsense, to be precise) on the site upon a large influx of traffic. A large influx as defined as, say, more than 2x the normal hourly traffic (though the exact metric used to determine popularity is not that important to me).
In other words, if ever the site sees a huge influx of traffic, I would like to begin delivering ads (to attempt to cover the incremental server costs). Otherwise, I would like to keep the site ad-free for the casual visitors.
Is there a simple way, or plug-in, to do this in WordPress?