Category: Admin
example-om-embed-code.html
om-disable-preload-specific-campaigns.js
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
om-disable-preload.js
document.addEventListener(‘om.Campaign.init.preload’, function(event) { event.detail.Campaign.settings.preload = false; });Continue reading
om-wp-plugin-load-in-head.php
// returning false will change the default location from footer to the head add_filter( ‘optin_monster_api_loading_location’, ‘__return_false’ );Continue reading
example-om-embed-code.html
delay-om-execution.html
start close a element
Check out OptinMonster!Continue reading
start Close
om{{id}}.startClose();Continue reading
change view success
om{{id}}.changeView(‘success’);Continue reading