om.Campaign.init.preload2

document.addEventListener(‘om.Campaign.init.preload’, function(event) { var campaign = event.detail.Campaign; if ({slug} === campaign.id) { campaign.settings.preload = false; } });Continue reading

om-custom-smart-tag-all-query-args.js

const queryString = window.location.search; // capture all query args document.addEventListener(‘om.Dtr.init’, function(event) { // use this event instead if added directly through the OM campaign builder // document.addEventListener(‘om.Campaign.load’, function(event) { // Registers {{query_args}} smart tag that outputs all query args from…Continue reading