Created
July 11, 2018 20:28
-
-
Save brianaohern/01cadc374b7981563066f626a10e2c75 to your computer and use it in GitHub Desktop.
om.Optin.error
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
document.addEventListener('om.Optin.error', 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 error response | |
console.log(event.detail.response); | |
} ); |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment