As I had mentioned previously, I had installed the fabulous Planet Ozh Who Sees Ads plugin and I wanted to set up a demo that you could see for yourself. So I tried using the built-in ‘if ad viewed <= number of views then display’ condition. But that tracks total number of views ever — not per reader.
So I modified the plugin to add a built-in ‘if ad viewed by visitor <= number of views then display’, which uses cookies to track each reader’s number of views. Just check out this demo…
I've installed it on this site for the following 336x280 block of Adsense Ads which you can only see 2 times. So go ahead and refresh your browser twice. After the second refresh, you'll no longer see the Adsense Ads...
Did you try it? Did you refresh the page 2 times? How cool was that!
Now I also wanted to use it for the 160×600 Adsense skyscraper in my sidebar, so that you’d only see the ad if you were not a regular reader (someone who has viewed at least 2 pages over the last 10 days, but I can change this definition too), or if you arrived at this site from a search engine. The only problem was, my sidebar content is set up using widgets, and this otherwise awesome plugin didn’t come with a built-in widget. ![]()
So I wrote my own! Yup. So if you want the widgetized version of this plugin then…
Subscribe to this site's RSS feed.
Affiliate Marketing article marketing blogging business dedicated servers domain domain name domain names domains ecommerce home business host hosting internet internet business internet marketing internet marketing tips linux web hosting Mack Michaels Make Money make money online marketing Millionaire Society Millionaire Society Bonus Millionaire Society Review online Online Business online marketing search engine marketing search engine optimization seo Site Promotion The Blueprint Project The Blueprint Project Black Edition The blueprint project review Tim Godfrey & Steve Clayton Web Web Design Web Designer Web Development web hosting website Website Design website hosting websites
proudly powered by WordPress and based on the Red Minimalista theme by Vlad -- XHTML 1.0 | Get RSS and Comments RSS