OptinMonster Team
Member since March 2023
slide-top-right.css
html div#om-{{id}} { top: 0px !important; bottom: unset !important; transition: top 0.3s ease 0s !important; }
What is Available
document.addEventListener('om.Campaign.load', function(event) { console.log(event.detail); });
om.Html.customVars
document.addEventListener('om.Html.customVars', function(event) { console.log(event.detail.Html); console.log(event.detail.Campaign); } );
om.Optin.success example 1
document.addEventListener('om.Optin.success', function(event) { event.detail.Campaign.startClose(); } );
Slide Reposition Top Right
html div#om-{{id}} { top: 0px !important; bottom: unset !important; transition: top 0.3s ease 0s !important; }
trigger monsterlink of an external link
jQuery(document).ready(function($){ // Change 'rt78pcbzrddo1y7w0yq3' to match your specific campaign slug var campaignSlug = 'rt78pcbzrddo1y7w0yq3'; // When…
Style ALL Placeholder Text on Your Website
::-webkit-input-placeholder { color: #333 !important; } /* Chrome/Opera/Safari */ ::-moz-placeholder { color: #333 !important; } /*…
Multiple Event Tracking with an HTML Link
Example of how to use Multiple Event Tracking with an HTML link.
om.Lock.init
document.addEventListener('om.Lock.init', function(event) { console.log(event.detail.Lock); // The method that will be used for locking the content. console.log(event.detail.Lock.method);…
om.Action.init
document.addEventListener('om.Action.init', function(event) { console.log(event.detail.Action); console.log(event.detail.Campaign); } );