om.Campaign.canLoad

document.addEventListener('om.Campaign.canLoad', function(event) { // This event is passed the Campaign object console.log(event.detail.Campaign); } );

om.Campaign.close example

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

om.Action.view

document.addEventListener('om.Action.view', function(event) { // This event is passed the Campaign object console.log(event.detail.Campaign); // This event is…

Revenue Attribution Curl

curl --request POST \ --url https://app.optinmonster.com/v2/revenue \ --header 'Content-Type: application/json' \ --header 'Origin: optinmonster.com' \ --header…

add filter

add_filter( 'optin_monster_api_menu_cap', function( $cap ) { return 'edit_pages'; } );

Google Ads

Google AdSense Short code insert

Tomos Shah-Howells PRO
<10

Hide all admin notices and notifications

The code below can hide all notices, error notices, warnings, update notices, etc, from the WP…

Remove Specific Campaign From a Specific URL-v1

document.addEventListener('om.Campaign.startShow', function(event) { if(window.location.href == 'https://example.com/specific-page') { // replace with your specific URL var optinCampaign =…

Fix Divi Post Content Width

Paste this directly into the post content module of the theme builder template.

Enable Secure Forex Trade Functions

This snippet improves the website by adding essential functions for expert forex trading, including security, customization,…

1 127 128 129 130 131 216