Created
          December 7, 2015 22:14 
        
      - 
      
- 
        Save ericakfranz/62431f69ec229abca4e4 to your computer and use it in GitHub Desktop. 
    Redirect to a specific url before the optin closes.
  
        
  
    
      This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
      Learn more about bidirectional Unicode characters
    
  
  
    
  | jQuery(document).ready( function($){ | |
| $(document).on('OptinMonsterBeforeClose', function( event, data, object ){ | |
| var url = "http://optinmonster.com"; | |
| $(location).attr('href',url); | |
| }); | |
| }); | 
  
    Sign up for free
    to join this conversation on GitHub.
    Already have an account?
    Sign in to comment