blocking own ip address

hslambo23

Registered Member
Joined
Aug 21, 2010
Messages
64
Reaction score
17
How do I Block my own IP address from the AdSense Page Impression Counter? Also, if I visit my website multiple times a day mainly because of trying to fix it up, can they or would adsense ban me? For example, everytime I log into my website, it says the number of impressions I get. Thanks
 
Depending upon the language your website is written in, using its not static HTML, you can do this fairly easily.
An IF statement that basically follows the logic below will suffice.
IF CGI.REMOTE_ADDR <> ?123.123.23.123′
show your adsense code
End IF
Alternatively, you can do the same thing by setting a cookie for yourself and filtering yourself out via an IF statement looking for the existence of that cookie. This could be helpful if your IP address changes occasionally.
If you?ve got a site built in regular HTML its time to buy learn some more programming. Try ColdFusion (by Adobe_, .asp by Microsoft or PHP.
 
Alright man thanks...Also, do u think I can get banned if I log onto my website multiple times a day from adsense?
 
Back
Top