om.Html.init

document.addEventListener(‘om.Html.init’, function(event) { console.log(event.detail.Html); console.log(event.detail.Campaign); } );Continue reading

om.Sites.init

document.addEventListener(‘om.Sites.init’, function(event) { console.log(event.detail.Sites); // An array of all the Site objects associated to this campaign. console.log(event.detail.Sites.sites); console.log(event.detail.Campaign); } );Continue reading

om.Analytics.init

document.addEventListener(‘om.Analytics.init’, function(event) { console.log(event.detail.Analytics); console.log(event.detail.Campaign); } );Continue reading

om.Types.init

document.addEventListener(‘om.Types.init’, function(event) { // The Campaign type. console.log(event.detail.Types.type); // The Campaign Type object (one of Floating, Fullscreen, Inline, Popup, Slide) console.log(event.detail.Types.Type); } );Continue reading

om.Campaigns.init

document.addEventListener(‘om.Campaigns.init’, function(event) { // This event is passed the Campaigns object console.log(event.detail.Campaigns); } );Continue reading