All Collections
General
Is Monetag compatible with Cloudflare?
Is Monetag compatible with Cloudflare?
A
Written by Admin
Updated over a week ago

Cloudflare does have a feature called RocketLoader that may break our javascript codes and affect your ad impressions and revenue.

To make our ad codes totally compatible with Cloudflare, you can have Rocket Loader ignore individual scripts by adding the data-cfasync="false" attribute to the relevant ad channel tag (before the 'src' attribute), for example:

an onclick ad code created in your account looks like:

<script type="text/javascript"src="//dolohen.com/apu.php?zoneid=1519728"></script>

You should add the data-cfasync="false" before the 'src' attribute. So the code should be:

<script type="text/javascript"data-cfasync="false"src="//dolohen.com/apu.php?zoneid=1519728"></script>
โ€‹

For more info, visit CloudFlare support

Did this answer your question?