om.Analytics.track example 2
document.addEventListener('om.Analytics.track', function(event) { if ( 'conversion' === event.detail.Analytics.type ) { dataLayer.push({ 'event': 'gaTriggerEvent', // Follow Custom…
disable OptinMonster campaigns for visitors with specific user roles
function om_docs_hide_optin_for_user_roles( $campaigns ) { // Do nothing if no user is logged in. if (…
om-iframe-conversion-example.html
Double Click Below to Get Started Loading...
Countdown
Countdown
Redirect Lost Password to a Custom Page
By default, some plugins redirect the “Lost Password” link to the WordPress admin panel. This snippet…
Studex CM Main Menu
function homelink(){ $homelink = 'Home'; return $homelink;} function shoplink() { return 'Shop';} function discoverlink() { $discoverlink…
ACF_KEYSMST_MSTCASECPT - TAB: Case Status & Tracking (v3.0 Modular)
/** * ============================================ * MST CASE - TAB: Case Status & Tracking (v3.0 Modular) * ============================================…
Auto-link Site Name - Home Page
Pulls company name from Settings > General > Site Title Pulls link title from Settings >…
Media sync script
add_action( 'admin_init', 'media_sync_library' ); function media_sync_library() { // Folder inside uploads to scan $scan_folder = '/2026/02';…
Force account creation by cart total
Force account creation at checkout if the cart total is a certain amount and the quantity…