Last active
December 10, 2021 10:37
-
-
Save brianaohern/cc26ed4bceb3d3c617555eb6029ca806 to your computer and use it in GitHub Desktop.
om.Optin.success Example
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.success', function(event) { | |
| event.detail.Campaign.startClose(); | |
| } ); |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
I believe this one should be updated. You're missing a closing semicolon on the event script.