-
-
Save camipaixao/38342288e195bc6f1a52b9f4bc8884d1 to your computer and use it in GitHub Desktop.
Example of how to use the .on formSubmit listener.
This file contains 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
<script> | |
jQuery( document ).ready( function() { | |
//Setup our on formSumbit Listener. | |
jQuery( document ).on( 'nfFormSubmitResponse', function() { | |
//Do Stuff | |
ga('send', 'event', 'Email List', 'Subscribed', 'New Subscriber'); | |
}); | |
}); | |
</script> |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment