Last edited: 2023/08/31
Smart Tags are snippets of code that are implemented in header and body sections of the website. They are not only used to serve configuration of all Yieldbird & 3rd party products enabled in the Yieldbird Platform, but also to fully control Google Publisher Tag (they replace the Google Publisher Tags’ ad unit codes on the page).
<aside> <img src="/icons/new-alert_red.svg" alt="/icons/new-alert_red.svg" width="40px" /> Warning: Yieldbird Platform Tags are meant only for Web (Mobile & Desktop). If you want to implement with AMP and / or App please contact your Customer Success Manager.
See On which environments can I use Yieldbird Platform? article to see the availability of particular Yieldbird Platform modules for particular environments.
</aside>
<aside> <img src="/icons/new-alert_red.svg" alt="/icons/new-alert_red.svg" width="40px" /> Warning: Each Domain that you use with Yieldbird Platform has a dedicated Yieldbird Tag. Never use the tag generated for one Domain on different Domains as it will not work properly.
</aside>
Header part contains the configuration of Yieldbird Products that you use as well as defineSlot functions
<!-- Yieldbird start -->
<script>
window.Quickwrap = window.Quickwrap || {};
window.Quickwrap.cmd = window.Quickwrap.cmd || [];
</script>
<script src='//cdn.qwtag.com/b81b6fb4-9860-4a94-9325-244b5f4d0918/qw.js' async></script>
<!-- Yieldbird end -->
Body part are ad unit containers. They are sufficient to handle all your Google Ad Manager based ad serving.
<div id='div-gpt-ad-billboard_1'></div> <script> window.Quickwrap.cmd.push(function () { window.Quickwrap.display('div-gpt-ad-billboard_1'); }); </script>
<aside> <img src="/icons/new-alert_red.svg" alt="/icons/new-alert_red.svg" width="40px" /> Generally the Smart Tags are implemented only once and don’t need to be re-implemented when you do any configuration changes within Yieldbird Platform.
However, there are a few exceptions to that rule: 1. Adding a new ad unit - in such case you need to implement the Body Smart Tag for this ad unit 2. Removing an ad unit - in such case you shall remove the Body Smart Tags for this ad unit 3. Modifying ad unit’s DIV ID - in such case you have to implement the new Body Smart Tag for this particular ad unit (but only this ad unit, the ones were DIV ID was not modified can remain the same.
</aside>
For every ad unit on the page, replace the existing ad unit container (the one you got from your Google Ad Manager)
<div id='div-ID1'></div>
<script>
window.Quickwrap.cmd.push(function () {
window.Quickwrap.display('div-ID1');
});
</script>
← Back to
On this page:
<aside> <img src="/icons/arrow-right_green.svg" alt="/icons/arrow-right_green.svg" width="40px" /> Not sure if the tag is implemented properly?
Contact Yieldbird as soon as it is live (even if just on staging), we will double verify it.
</aside>