Hi Guys, Could anyone here suggest me some best WordPress plugins to prevent clicking my AdSense Ads from a specific user / country / IP ? GS
You cannot prevent them from clicking, you can only hide the ad. I don't know any plugin but if you put a simple conditional in your theme it should basically do what you want. Pseudocode: if($ip_address != "1.2.3.4"){ //show the ad to everyone } else{ //hide the ad if a visitor has this $ip_address } Code (markup):
Get a free 3rd party IP to country geolocation service, and redirect out the unwanted visitors from a list of countries. It won't be that hard to implement, but a few line codes will do. You can check this site for details, http://www.ipinfodb.com
You can keep unwanted IP addresses from the site (with .htaccess), but you'd have to write a lot of code to keep people in specific IP ranges from clicking ads.