ericakfranz
12/7/2015 - 10:29 PM

Redirect to a specific url if there's an error.

Redirect to a specific url if there's an error.

jQuery(document).ready(function($){
    $(document).on('OptinMonsterOnError', function(event, data, object){
      var url = "http://optinmonster.com";
      $(location).attr('href',url);
    });
});