OptinMonster Team
Member since March 2023
om-manually-set-global-cookies.js
// Set OptinMonster Global Cookies when this function runs function setGlobalCookies() { document.cookie = "omSuccessCookie=true; expires=Fri,…
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.