Created
December 7, 2015 22:00
-
-
Save ericakfranz/88ee0341224ad4aea7d0 to your computer and use it in GitHub Desktop.
Write to the console a message whenever a manually-triggered OM optin is loaded into the DOM.
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('OptinMonsterManualOptinSuccess', function( event, data, object ){ | |
console.log("Congratulations! The " + data.optin + '-' + data.type + " manual-trigger optin has been successfully loaded."); | |
}); | |
}); |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment