This guide will use self closing tags (<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.

Add the Rev script

Learn how to add our script to your site.

You may also consider adding the defer attribute to the script tag to optimize initial page load speed.

Development

Add the dev attribute to the script to use dev placements.

Defining ad units

Add the data-ad attribute with the name of the placement to mark where you want ads to appear.

<div data-ad="right-rail-1" />
<div data-ad="right-rail-2" />
<div data-ad="right-rail-3" />