How to Enable OptinMonster Debugging

Do you need to troubleshoot your OptinMonster campaign? OptinMonster’s JavaScript Events API provides many powerful features, including the ability to enable campaign debugging. To use campaign debugging, place the following script in your site’s footer and it will output data about the campaign to the browser’s console.

<script type="text/javascript">
        jQuery(document).on('OptinMonsterInit', function(event, data, object) {
            object.setProp('debug', true);

Interested in getting even more functionality from OptinMonster? Check out our JavaScript events API.