OptinMonster Team
Member since March 2023
Webhook smart tags
{ "smart_tags": { "region": "Gujarat", "state": "Gujarat", "province": "Gujarat", "territory": "Gujarat", "region_code": "GJ", "country": "India", "country_code":…
om.Html.init
document.addEventListener('om.Html.init', function(event) { console.log(event.detail.Html); console.log(event.detail.Campaign); } );
om.PoweredBy.init
document.addEventListener('om.PoweredBy.init', function(event) { console.log(event.detail.PoweredBy); console.log(event.detail.Campaign); } );
om.Action.redirect
document.addEventListener('om.Action.redirect', function(event) { console.log("Redirect in progress..."); } );
Slide Reposition Top Left v2
html div#om-{{id}} { top: 0px !important; bottom: unset !important; right: auto !important; margin-left: 20px !important; transition:…
Dynamic Monsterlinks by Id
// Target by ID window.onload = function(){ document.getElementById("someID").href="MONSTERLINK_URL"; }
zapier-lead-data.json
{ "lead": { "email": "[email protected]", "ipAddress": "1.2.3.4", "referrer": "https://optinmonster.com/", "timestamp": 1699985224, "privacyConsent": true, "firstName": "Archie", "lastName":…
Custom Separator
This code creates a custom separator smart tag for OptinMonster, which determines whether to use ?…
om.DisplayRules.init
document.addEventListener('om.DisplayRules.init', function(event) { console.log(event.detail.DisplayRules); // An array of the Ruleset objects console.log(event.detail.DisplayRules.rulesets); console.log(event.detail.Campaign); } );