305 Snippets
<10 Favourites
<10 Downloads

om-reactv4.js

// Using React Router V4 import React from "react"; import { withRouter } from "react-router"; class…

om-reactv3.js

// Using React Router V3 import { browserHistory } from 'react-router'; class App extends React.component {…

om-nextjs.js

import { useEffect } from 'react'; import { useRouter } from 'next/router'; const OptinMonsterEmbed = ()…

om.Tags.init

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

om.Campaign.load

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

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…

om external links monsterlink

(function(window, document) { // Your campaign's UNIQUE ID var campaignSlug = 'YOUR-UNIQUE-ID'; // Helper to get…

Success view

#om-{{id}}-success button.{{ns}}-CloseButton { /* Your Custom Styles */ }

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…

1 2 3 26