om.Listeners.init

document.addEventListener('om.Listeners.init', function(event) { console.log(event.detail.Listeners); console.log(event.detail.Campaign); } );

om.Form.init

document.addEventListener('om.Form.init', function(event) { console.log(event.detail.Form); console.log(event.detail.Campaign); } );

om.Optin.error example

document.addEventListener('om.Optin.error', function(event) { const url = "http://optinmonster.com"; window.location.href = url; } );

CLEAN & MINIFY ASSETS

please work

Teddy James
<10

Slide Reposition Left Center v2

html div#om-{{id}} { left: 0 !important; height: 540px !important; top: calc(540px / 2) !important; bottom: calc(540px…

trigger monsterlink on hover

jQuery(document).ready(function($){ // Change 'rt78pcbzrddo1y7w0yq3' to match your specific campaign slug var campaignSlug = 'rt78pcbzrddo1y7w0yq3'; $('body').on('mouseover', '[href="https://app.monstercampaigns.com/c/'…

om-custom-redirect-all-close.js

jQuery(document).ready(function($){ function omRedirect() { var url = "https://optinmonster.com"; $(location).attr('href',url); } $(document).on('OptinMonsterOnClose', function(event, data, object){ omRedirect(); });…

css-buttons.css

html div#om-{{id}} input[type=submit], html div#om-{{id}} button { background: #ff6600 !important; }

Remove Specific Campaign Based on the Referral URL- v1

document.addEventListener('om.Campaign.startShow', function(event) { if(document.referrer.search.indexOf('google.com') > 0) { // replace with the specific referral domain var optinCampaign…

Postalytics Tracking Script

Mail tracker

Mark Cornish
<10

Changing the WordPress Login Logo URL

function custom_login_logo_url() { return home_url(); // Or your desired URL } add_filter( 'login_headerurl', 'custom_login_logo_url' );

Show Product Categories in the Vendor Product Catalog

This PHP code snippet automatically detects any page or post that contains the [wcv_products] shortcode and…

1 … 91 92 93 94 95 … 244