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:
- This guide assumes you have a general understanding of how to use the developer tools in Chrome.
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>