Canonical URL: https://docs.ninadata.ai/install/
Before installing, you receive from NinaData:
publisherId and siteId.Ads only render on the exact domains NinaData has authorized for your (publisherId, siteId) pair. On any other domain the runtime is silent -- no ads, no telemetry.
Paste both <script> blocks below into the page <head>, in the order shown. If you use a tag manager, the two blocks must be injected into <head> in that same order (the config block first, then the runtime script).
<script>
window.NINA_MONETIZER_CONFIG = {
mode: "monetizer",
publisherId: "CUSTOMER_PUBLISHER_ID",
siteId: "CUSTOMER_SITE_ID",
diagnostics: false,
quietConsole: true,
telemetry: {
enabled: true,
endpoint: "https://collector.ninadata.ai/api/monetizer-event",
sampleRate: 1,
maxBatchEvents: 10,
flushIntervalMs: 500
},
consent: {
enabled: true,
mode: "observe",
timeoutMs: 1000
}
};
</script>
<script async src="https://cdn.ninadata.ai/monetization.js"></script>
Replace CUSTOMER_PUBLISHER_ID and CUSTOMER_SITE_ID with the exact strings NinaData provided.
NINA_MONETIZER_CONFIG.If NinaData asks you to change any of these values, they will confirm it in writing.
Install on the agreed test URL first. Then, in a fresh private / incognito browser window, open DevTools and confirm:
200 OK.POST and returned 204 No Content.Visible ads may appear when the page is eligible and demand returns a bid. Absence of an ad on a given page load is not automatically a failure.
Chrome 121 / Windows 11 desktop).NinaData confirms healthy install on their side before you extend the install beyond the test URL. See the rollout checklist.
<script> block that sets window.NINA_MONETIZER_CONFIG.<script async> block that loads https://cdn.ninadata.ai/monetization.js.After the next page load, no NinaData runtime code runs, no telemetry is sent, and no placements are created.