OptinMonster Logo

OptinMonster Documentation

Documentation, Reference Materials, and Tutorials for OptinMonster

Home

Docs

How to Enable OptinMonster Debugging

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>

Still stuck?

How can we help?

Last updated on


Start Getting More
Leads & Sales Today
with OptinMonster!

Popups work, and you can get started for a few bucks a month. What are you waiting for?

Create and launch smart capture forms
today in minutes. What are you waiting for?