Plugin sometimes work and sometimes it doesn’t
-
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.