305 Snippets
<10 Favourites
<10 Downloads

Remove Specific Campaign From Any URLs Containing a Specific URL Path-v1

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

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" } }

om.WebFonts.init

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

om.Campaign.changeView.done

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

Revenue Attribution Curl

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

om-js-events-ga-conversion.js

// OptinMonster Javascript Event for Google Analytics Conversion Event document.addEventListener( 'om.GoogleAnalytics.preConversionEvent', function( event ) { var…

1 3 4 5 6 7 26