Published: 2nd May 2017 | Words: 305 | Reading Time: 2 minutes

Google Adsense

Why you should test Adsense

Testing is an integral part of building anything and Adsense ads are no different. When you integrate Google Adsense into your website during development you will need to test them to make sure they render on your page as expected. An issue can occur where reloading your pages during testing can give extra Adsense ad impressions and in turn bloat your Adsense ad performance data leading to skewed statistics. Lucky Adsense provides an option to enable a test mode that does not impact your data.

Enabling Adsense test mode

Add the following to your Adsense code block to enable test mode (dont forget to remove when your ads go live).


<script async src="//"></script>
   <!-- MY AD - 01/01/2017 -->
   <ins class="adsbygoogle"
(adsbygoogle = window.adsbygoogle || []).push({});