Untitled Snippet

document.addEventListener("DOMContentLoaded", () => { const canvas = document.getElementById("canvas"); const ctx = canvas.getContext("2d"); const expressionInput = document.getElementById("expressionInput");…

<10

Google Analytics

Downloaded when the analytics account was setup

Steven McGraw
<10

Automatically Close Campaign After Specific Amount of Seconds

The below code snippet closes your campaign after a specific amount of seconds have passed.

Food quiz 2

Getting Older Quiz 🧠 Healthy Food Quiz for Older Adults Submit Quiz

Payment Method Smart Tag

This code only has handling for klarna, us_bank_account and card (default). The other available types are…

om.Api.init

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

om.WebFonts.init

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

bos_leaderboard_top6

Displays loyalty points and activity leaders for Best Of Sarasota

Jack Burns
<10

om.Campaign.load , capture query args

document.addEventListener('om.Campaign.load', function(event) { const queryString = window.location.search; // capture all query args // Registers a custom…

Slide Reposition Top Center v2

html div#om-{{id}} { top: 0px !important; bottom: unset !important; width: 350px !important; left: calc(350px / 2)…

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/'…

change view optin

om{{id}}.changeView('optin');

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…

Move WPCode "Status" Column from Last to First (WPCode)

This code snippet moves the "Status" column of WPCode's code snippets table from last to first.…

1 … 78 79 80 81 82 … 129