Skip to content

Instantly share code, notes, and snippets.

@brianaohern
Created July 12, 2018 13:47
Show Gist options
  • Save brianaohern/e437a26e5b2248b0b1f66c33f54aa74a to your computer and use it in GitHub Desktop.
Save brianaohern/e437a26e5b2248b0b1f66c33f54aa74a to your computer and use it in GitHub Desktop.
om.Campaign.load Example
document.addEventListener('om.Campaign.load', function(event) {
console.log("Congratulations! The " + event.detail.Campaign.id + '-' + event.detail.Campaign.type + " optin has been successfully loaded.");
});
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment