All Collections
Is Monetag compatible with Cloudflare?
Is Monetag compatible with Cloudflare?
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="//"></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="//"></script>

For more info, visit CloudFlare support

Did this answer your question?