Learn how to add our script to your site
<script />
instead of
<script></script>
) for simplicity. Most JSX and other modern compilers will
accept this syntax. However, if you are working in raw HTML, you
should manually close the tags.Using HTML
<head>
of your HTML file.Using JS
defer
attribute to the script tag to
optimize initial page load speed.(Advanced) A/B testing with the script
dev
attribute to the script to use dev placements.
Using HTML
<head>
of your HTML file.Using JS
data-ad
attribute with the name of the placement to mark where you
want ads to appear.