Usually this is caused by some optimizing plugins changing ad blocking detection code.
Please enable remote debugging and post website address:
https://wordpress.org/support/topic/ad-inserter-support-how-to-ask-for-help/
Hello @spacetime,
now remote debugging is active
https://bit.ly/2NkJsPR
thank you for the help!
As suspected, ad blocking detection scripts are missing – the Javascript code is put inline which is wrong and causes false detection.
It seems you are using some caching plugin WP Rocket which loads script code inline:
https://adinserter.pro/documentation/ad-blocking-detection#debugging
If you go to this page (not optimized):
https://www.shoppatoriseriali.eu/offerte-online/?test=1
you’ll see this code in the source:
<!--noptimize-->
<script type='text/javascript' src='https://www.shoppatoriseriali.eu/wp-content/plugins/ad-inserter/js/ads.js?ver=2.4.0'></script>
<script type='text/javascript' src='https://www.shoppatoriseriali.eu/wp-content/plugins/ad-inserter/js/sponsors.js?ver=2.4.0'></script>
<!--/noptimize-->
Ad blocking is not detected.
However, if you go to this (normal, optimized) page:
https://www.shoppatoriseriali.eu/offerte-online/
The code above is missing.
This is equivalent to ad blocking which blocks those scripts so ad blocking action is triggered.
You should configure the plugin to leave the following scripts untouched:
/wp-content/plugins/ad-inserter/js/ads.js
/wp-content/plugins/ad-inserter/js/sponsors.js
Check this page:
https://docs.wp-rocket.me/article/1104-excluding-inline-js-from-combine
Hi @spacetime,
I did as you suggested, I also deleted the cache but the problem persists on the iPad.
Thank you very much.
https://i.imgur.com/aLKlIuJ_d.jpg?maxwidth=640&shape=thumb&fidelity=medium
If you go to
https://www.shoppatoriseriali.eu/offerte-online/
or any other page you’ll see that the scripts are still missing.
I’m not sure if WP rocket is properly configured as that option is not enabled at all.
It looks there is another option that removes those scripts.
I suggest to contact support to help you with caching settings.
-
This reply was modified 7 years, 7 months ago by
Spacetime.
Okay I try with the support.
And I have the same problem even if I use the incognito mode of google chrome, why?
Thank you!
PS: Can you kindly obscure the site links? Thank you!
Incognito mode is a feature of the browser.
You have issue on the server – scripts missing.
Sorry, I can’t edit posts anymore.
I solved both the incognito mode and the iPad with your solution.
Thanks so much.