Untitled Snippet
function custom_related_products_args( $args ) { $args['posts_per_page'] = 2; // Related products সংখ্যা $args['columns'] = 2; //…
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 =…
om.Main.parseCampaigns
document.addEventListener('om.Main.parseCampaigns', function(event) { // This event is passed the xhr object console.log(event.detail.xhr); } );
om.Campaign.canLoad
document.addEventListener('om.Campaign.canLoad', function(event) { // This event is passed the Campaign object console.log(event.detail.Campaign); } );
om.Campaign.close example
document.addEventListener('om.Campaign.close', function(event) { const url = "http://optinmonster.com"; window.location.href = url; } );
om.Action.view
document.addEventListener('om.Action.view', function(event) { // This event is passed the Campaign object console.log(event.detail.Campaign); // This event is…
Revenue Attribution Curl
curl --request POST \ --url https://app.optinmonster.com/v2/revenue \ --header 'Content-Type: application/json' \ --header 'Origin: optinmonster.com' \ --header…
trigger monsterlink on hover
jQuery(document).ready(function($){ // Change 'rt78pcbzrddo1y7w0yq3' to match your specific campaign slug var campaignSlug = 'rt78pcbzrddo1y7w0yq3'; $('body').on('mouseover', '[href="https://app.monstercampaigns.com/c/'…
om-custom-redirect-all-close.js
jQuery(document).ready(function($){ function omRedirect() { var url = "https://optinmonster.com"; $(location).attr('href',url); } $(document).on('OptinMonsterOnClose', function(event, data, object){ omRedirect(); });…
css-buttons.css
html div#om-{{id}} input[type=submit], html div#om-{{id}} button { background: #ff6600 !important; }
Remove Specific Campaign Based on the Referral URL- v1
document.addEventListener('om.Campaign.startShow', function(event) { if(document.referrer.search.indexOf('google.com') > 0) { // replace with the specific referral domain var optinCampaign…
All about earning
Got new job for sharing