Google Ads Referral Sweet Demo
Scheduled a demo form Google ads
om-vue.js
// Using Vue Router. import Vue from 'vue'; import Router from 'vue-router'; Vue.use(Router); const router =…
om-webhook-response.json
{ "om_response_data":{ "redirect":"https://optinmonster.com" } }
Hide admin nags
.notice .is-dismissable { display: none; } /* In Wordpress, set this to be inserted into the…
EJEMPLO SHORDCODE CON ATRIBUTO
///Shortcode con atritubo //Ejemplo de uso [shorcode_name atributo="Valor Aqui"] echo "el atributo que colocaste es: ";…
Hkugiggghbb
Gghchhhjgcvkj
Facebook pixel
My Facebook pixel. No additional tracking
Change site url
add_action('init', 'update_site_url_once'); function update_site_url_once() { if (get_option('home') !== 'https://amazingmarvin.com/blog/') { update_option('siteurl', 'https://amazingmarvin.com/blog/'); update_option('home', 'https://amazingmarvin.com/blog/'); } }
Database connection test snippet
A snippet to test the connection to the database.
om.DisplayRules.afterRun
document.addEventListener('om.DisplayRules.afterRun', function(event) { var DisplayRules = event.detail.DisplayRules; var Campaign = event.detail.Campaign; if ( 'YOUR-CAMPAIGN-ID' === Campaign.id…
om.Action.refresh
document.addEventListener('om.Action.refresh', function(event) { // This event is passed the Campaign object console.log(event.detail.Campaign); // This event is…