Embed the ad script
Integration is one async script tag on your page plus a small placeholder div per placement — or a programmatic JavaScript call if you prefer. The Integration page generates personalized copy-paste snippets carrying your IDs.
The one-tag embedlink
Add the async loader script once per page, and a declarative div wherever an ad should render. The div carries your identifiers — including the data-unit value for the ad unit serving in that slot. The Integration page (publishers.kariant.app/integration) generates the exact snippet for your account and each of your units, so always copy from there rather than hand-writing it.
<script async src="https://publishers.kariant.app/kdn.js"></script>
<!-- Copy your personalized placement div (with your data-unit code)
from publishers.kariant.app/integration -->Programmatic APIlink
For dynamic pages and single-page apps, use the programmatic API instead of the declarative div: push a placement request via window.kdn.push with your publisher ID, ad unit, dimensions, and target element. The Integration page generates this variant too, and carries worked examples for WordPress, React, and plain REST integrations.
How ads renderlink
- check_circleAds render inside a sandboxed frame — they never touch your host page, its cookies, or its storage.
- check_circleEvery ad carries a visible "Sponsored" label.
- check_circleThe script loads asynchronously, so it does not block your page render.
Frequently asked questions
Does the embed slow my site down?expand_more
The loader is a single async script — it does not block rendering, and the ad itself renders in an isolated frame.
Can ads read or change my page?expand_more
No. Ads render inside a sandboxed frame and never touch the host page.
I use WordPress / React — is there a guide?expand_more
Yes. The Integration page at publishers.kariant.app/integration carries WordPress, React, and REST examples with your personalized snippet.