Every site on the NitroPay platform gets a custom built version of our advertising script. This allows us to only bundle what’s needed to maximize your specific site’s revenue, keeping the script as lean as possible. Please include the script in the <head>
section of your site. None of your placements will generate ads unless this script is fully loaded on your page. Replace the ####
with the ID of your site, you can see the correct IDs for each of your properties in the panel.
<script data-cfasync="false">window.nitroAds=window.nitroAds||{createAd:function(){return new Promise(e=>{window.nitroAds.queue.push(["createAd",arguments,e])})},addUserToken:function(){window.nitroAds.queue.push(["addUserToken",arguments])},queue:[]};
</script>
<script data-cfasync="false" async src="https://s.nitropay.com/ads-####.js"></script>
Do not host the script locally, bundle it, or use anything to proxy the request (ie: Cloudflare). The script will not work properly in these situations and revenue will be heavily impacted.