Title: Plugin sometimes work and sometimes it doesn&#8217;t
Last modified: April 25, 2019

---

# Plugin sometimes work and sometimes it doesn’t

 *  [spodrr](https://wordpress.org/support/users/spodrr/)
 * (@spodrr)
 * [7 years, 1 month ago](https://wordpress.org/support/topic/plugin-sometimes-work-and-sometimes-it-doesnt/)
 * Hi,
 * i’ve been using this plugin for a while, sometimes it works sometimes it doesn’t,
   i’ve set the Ad Click Limit to 1 to see what’s the issue and i’ve been seeing
   that the clicks on Adsense are coming, but on the AICP Blocked User Statistics
   in the WordPress dashboard shows less Blocked users in the last 24h than the 
   actual Adsense clicks.
 * I’ve made sure i turned off the page caching in all my plugins, i even installed
   an app that disables page caching but as usual, i see clicks on Adsense but the
   Blocked users in 24h in the AICP dashboard are waaay less.
 * This how i implemented the code on Ad Inserter:
 * <?php
    if( aicp_can_see_ads() ) { // This part will show ads to your non-banned
   visitors $adCode = ‘<div class=”aicp”><!– Don\’t forget to add this div with 
   aicp class –> <script async src=”//pagead2.googlesyndication.com/pagead/js/adsbygoogle.
   js”></script> <!– bad boi –> <ins class=”adsbygoogle” style=”display:inline-block;
   width:320px;height:50px” data-ad-client=”ca-pub-###########” data-ad-slot=”########”
   > <script> (adsbygoogle = window.adsbygoogle || []).push({}); </script> </div
   ><!– end of the aicp div –>’; echo $adCode; } ?>
 * The plugins that i think they do the caching but since i installed the plugin‘
   Prevent Browser Caching’ that disables it, i don’t think it’s a caching issue,
   but here they are anyway : Autoptimize, JCH Optimize, Asset CleanUP.
 * I hope you can help with the issue because it’s becoming annoying.
 * Thank you!

The topic ‘Plugin sometimes work and sometimes it doesn’t’ is closed to new replies.

 * ![](https://ps.w.org/ad-invalid-click-protector/assets/icon-256x256.png?rev=1534940)
 * [Ad Invalid Click Protector (AICP)](https://wordpress.org/plugins/ad-invalid-click-protector/)
 * [Frequently Asked Questions](https://wordpress.org/plugins/ad-invalid-click-protector/#faq)
 * [Support Threads](https://wordpress.org/support/plugin/ad-invalid-click-protector/)
 * [Active Topics](https://wordpress.org/support/plugin/ad-invalid-click-protector/active/)
 * [Unresolved Topics](https://wordpress.org/support/plugin/ad-invalid-click-protector/unresolved/)
 * [Reviews](https://wordpress.org/support/plugin/ad-invalid-click-protector/reviews/)

## Tags

 * [aicp](https://wordpress.org/support/topic-tag/aicp/)

 * 0 replies
 * 1 participant
 * Last reply from: [spodrr](https://wordpress.org/support/users/spodrr/)
 * Last activity: [7 years, 1 month ago](https://wordpress.org/support/topic/plugin-sometimes-work-and-sometimes-it-doesnt/)
 * Status: not resolved