I've been trying to find a way to not allow AdSense to count my own impressions (can this increase the chance of smart pricing?) without disabling Javascript, because I need JS to view other websites. All I did was insert some PHP code to check the visitor's IP. If the IP is mine, then instead of showing AdSense, I show a white block. function adsense() { if ($_SERVER['REMOTE_ADDR'] != "-your ip-") { // show adsense } else { // show white block } } PHP: This allows me to: 1) Keep Javascript on 2) Not count my own impressions in AdSense 3) Show AdSense like normal to my visitors 4) Retain site layout of having AdSense shown
Interesting. I think I will use this on my site, I did something similar with my zango gateway but didnt think about it for adsense so I can get better stats.