Search results for: admin

Remove All Campaigns From a Specific URL

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

Remove Specific Campaign From a Specific URL

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

Remove Specific Campaign From Any URLs Containing a Specific URL Path

document.addEventListener('om.Campaign.startShow', function(event) { if(window.location.search.indexOf('shopping-cart') > -1) { // replace shopping-cart wtih your specific URL path var…

Remove Specific Campaign Based on the Referral URL

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

Insert User Status and EN-ID into localStorage (for Jason)

add_action('wp_head', 'output_auth0_user_id_meta'); function output_auth0_user_id_meta() { $script = ""; echo $script; }

Colin Bunn PRO
<10

Database connection test snippet

A snippet to test the connection to the database.

Event Use

document.addEventListener('EVENT NAME', function(event) {} );

What is Available

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

om.Api.init

document.addEventListener('om.Api.init', function(event) {} );

1 99 100 101 102 103 114