document.addEventListener(‘om.Campaign.init.preload’, function(event) { var campaign = event.detail.Campaign; // replace {id} with the unique ID of your OptinMonster campaign if ({id} === campaign.id) { campaign.settings.preload = false; } });Continue reading
document.addEventListener(‘om.Campaign.init.preload’, function(event) { event.detail.Campaign.settings.preload = false; });Continue reading
// returning false will change the default location from footer to the head add_filter( ‘optin_monster_api_loading_location’, ‘__return_false’ );Continue reading
Check out OptinMonster!Continue reading
om{{id}}.startClose();Continue reading
om{{id}}.changeView(‘success’);Continue reading
om{{id}}.changeView(‘optin’);Continue reading
om{{id}}.changeView(‘yesno’);Continue reading