Yes. Monetag ad tags work on websites that use Cloudflare. The only Cloudflare feature that may interfere with them is Rocket Loader, which defers the loading of all JavaScript on a page, including ad tags. If it is enabled, our ad code may load too late, which can affect your ad impressions and revenue.
Monetag ad tags contain the data-cfasync="false" attribute. It tells Rocket Loader to leave the script untouched, so you can copy the tag from your dashboard and paste it into your website as is.
If you use Rocket Loader and notice that ads don’t show or impressions are lower than expected, check two things:
1. Open the source code of your page and make sure the Monetag tag still contains data-cfasync="false". Some CMS, page builders, and plugins remove unknown attributes when you paste code through them. If the attribute is missing, add it at the beginning of the tag, right after <script. For example:
<script data-cfasync="false" src="//<tag-domain>/5/<zone_id>" async></script>
The domain and zone ID are individual for each tag, so always use the ones from your account.
2. If the attribute is in place and ads still don’t show, disable Rocket Loader for your website in the Cloudflare dashboard, or exclude specific pages with a Configuration Rule. If your website uses a Content Security Policy, make sure it allows Rocket Loader.
For more details, see Cloudflare’s documentation on ignoring scripts in Rocket Loader.
If you need help, contact us at support@monetag.com.
