Website tag
Use the site tag on any HTML page. WordPress users can use the plugin instead.
1. Add the script once
Place this in <head> (or before </body>). Copy the exact snippet from Websites → Embed code so the key matches that site.
<script src="https://ynoad.link/tag.js" data-key="YOUR_INTEGRATION_KEY" async></script>
data-keyis the website integration key, not a user password.- Load one tag per page. Extra copies are ignored safely, but one is enough.
Optional: header bidding hint
On websites where Inventory → Header Bidding & Yield is enabled, the tag loads your configured Prebid.js (third-party, integrated with YnoAds) build from tag config, runs one auction for the slots on the page, and sends each slot’s best bid with the ad request. Sites without header bidding do not wait for Prebid.
If you want the tag to treat the page as a header-bidding site immediately (for example on a first visit before the key is remembered), add data-hb="1":
<script
src="https://ynoad.link/tag.js"
data-key="YOUR_INTEGRATION_KEY"
data-hb="1"
async
></script>
2. Add a container per placement
The data-placement value must match the Ad Slot slug in the dashboard (website page → Ad Slots tab).
<div data-placement="top-leaderboard" style="width:728px;height:90px"></div>
Set width and height to the slot size so layout does not jump before the ad arrives. If YnoAds cannot fill the slot (after any house ad), the tag collapses the container.
3. Optional rotation
If the dashboard embed snippet includes data-rotate, the slot will request a new ad on that interval. Leave it off unless you intentionally want in-page rotation. On header-bidding sites, each rotation can run a fresh Prebid auction for that slot.
4. Check that it works
- Publish the page on the verified domain (or a host that can load
ynoad.link). - Confirm the placement slug on the page matches the dashboard.
- Confirm the campaign, ad, and ad–slot link are active and inside the date window.
- Open Analytics filtered to that website.
Click tracking
Do not wrap ads in your own redirector if you want YnoAds click metrics. The tag rewrites click-through URLs through YnoAds, then sends the user to the advertiser.
AdChoices / about ads
Served banners can include an info link to ynoad.com/about-ads.