om.WebFonts.init
document.addEventListener('om.WebFonts.init', function(event) { console.log(event.detail.WebFonts); console.log(event.detail.Campaign); } );
om.Styles.positionPopup
document.addEventListener('om.Styles.positionPopup', function(event) { // This event is passed the Campaign object console.log(event.detail.Campaign); // This event is…
Slide Reposition Bottom Left
html div#om-{{id}} { right: auto !important; margin-left: 20px !important; }
om external links monsterlink uniqe id
(function(window, document) { // Your campaign's UNIQUE ID var campaignSlug = 'pcoamlfqsv7jeervep0b'; // ... the rest…
allow authors
add_filter( 'optin_monster_api_menu_cap', function( $cap ) { return 'publish_posts'; } );
Success view
#om-{{id}}-success button.{{ns}}-CloseButton { /* Your Custom Styles */ }
Feed Generation Cron Script
This file will be used to run via cron and update feed based on the ID
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' );
Mjellma Widget
function custom_dashboard_widget() { echo ' Për cdo pytje rreth webfaqes ju lutem na kontaktoni. Website: Mjellma.al…
Google account
Google ad sense
webhook updated request body example
{ "lead": { "email": "[email protected]", "ipAddress": "1.2.3.4", "referrer": "https://optinmonster.com/", "timestamp": 1699985224, "firstName": "Archie", "lastName": "Monster", "phone":…