Created
July 11, 2018 20:29
-
-
Save brianaohern/948858dc84901eee53bb1d42c21f0891 to your computer and use it in GitHub Desktop.
om.Optin.success
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
document.addEventListener('om.Optin.success', function(event) { | |
// This event is passed the Campaign object | |
console.log(event.detail.Campaign); | |
// This event is passed the Optin object | |
console.log(event.detail.Optin); | |
// This event is passed the success response | |
console.log(event.detail.response); | |
} ); |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment