I ran across this on another site and thought it might be useful for this group. I was developing one of my sites with Google Adsense on it and I accidentally clicked a link. Using this tag would have prevented that from being an issue.
google_adtest='on';
Just add it to the Google Code. It will not count clicks or views. Nice little trick.
Sounds useful - I always just use a gif whilst I am playing around with layouts and design and stuff, then change it to the proper adsense before I upload to the live server (I usually use includes so I only have to change one file).
Would be nice to use this and know who a lot of the adverts are for though!
<?php
if ($_SERVER['REMOTE_ADDR'] == "XX.XXX.XXX.XX")
{$ggl_code="google_adtest='on';"}
?>
Where the XX.XX's are your IP address (you may also have to escape that ; but I am too lazy to test that...)
then in the adsense code put:
<?=$ggl_code?>
__________________
Why you should Join MillNic Media: *Weekly Affiliate Payments* (Net 15 is for chumps) Visit the new Millnic Blog Best CPA Network
Sounds useful - I always just use a gif whilst I am playing around with layouts and design and stuff, then change it to the proper adsense before I upload to the live server (I usually use includes so I only have to change one file).
I do that too except I just have an html that says [INSERT ADSENSE HERE].. your gif idea is pretty cool though, you can actually take a screenshot of the ad block so you get the correct size unlike what I'm doing.
<?php
if ($_SERVER['REMOTE_ADDR'] == "XX.XXX.XXX.XX")
{$ggl_code="google_adtest='on';"}
?>
Where the XX.XX's are your IP address (you may also have to escape that ; but I am too lazy to test that...)
Is there any way you can block certain IP addresses from couting towards clicks? My site is live now, but (ergh) just now I accidentally clicked one of my links.
Is there any way you can block certain IP addresses from couting towards clicks? My site is live now, but (ergh) just now I accidentally clicked one of my links.
email google and tell them you clicked your own link right away...
Hi Atomm, thanks for the neat tip. I am going to test it right away. At last I can click through my sites without having to think about how I influence the AdSense stats.