I have a development and a live environment. How can I disable the impressions from my development environment (dev.domain.com) so that my adsense stats are real and not counting all my personal impressions and programmers impressions... I want the ads to show on the dev site (and they do show) but don't want the impressions to count in adsense stats. thanks you
if u are still using old style codes in adsense. you can simply change the adsense pub-id to something like : pub-test
You want adsense to not count the impressions when you visit your site right? I think it is not possible. The only solution is to remove the ads. But even if adsense is counting the impressions when you visit your site, there is no harm in it.
Thanks. But the thing is that I take my database from the live environment, put it on my dev. Work on the website (me and programmers can make more than 1000 clics in a day while working). When I'm done, I upload the code and database from dev to live. So I don't want to have to always change the Adsense information in the code (between dev and live). What I would like is to block subdomain from counting clics, example no: dev.mydomain.com Either with Adsense tools, robots.txt or php code... What do people do with live environment and dev environment? Thanks!
Since I'm in /admin pages on my dev site, I just removed the blocks from appearing in/admin* Thanks for suggestions!
Take a screenshot of the adsense blocks and shape to the mentioned diameter and put them in with image tag. so there fake but looks the same. That should work.
i had this problem tonight. i just added a robots text just to my dev env. hopefully wont hurt my live site.