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.

In this article, you will learn how to enable Campaign Debugging.

Before You Start

Here are some things to know before you begin:

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).ready(function($){
        jQuery(document).on('OptinMonsterInit', function(event, data, object) {
            object.setProp('debug', true);
        });
    });
</script>