om-available.js
document.addEventListener('om.Campaign.load', function(event) { console.log(event.detail); } );
specific-element-custom-font.css
div#om-{{id}} .my-headline * { font-family: "Proxima Nova", Helvetica, "Helvetica Neue", Arial, sans-serif !important; }
Untitled Snippet
document.addEventListener('om.Campaign.load', function(event) { console.log(event.detail); } );
Webhook smart tags
{ "smart_tags": { "region": "Gujarat", "state": "Gujarat", "province": "Gujarat", "territory": "Gujarat", "region_code": "GJ", "country": "India", "country_code":…
CSS for Countdown Timer text
Translate the text ‘Days’, ‘Hours’, ‘Minutes’, and ‘Seconds’ into another language.
Multiple Event Tracking Custom Form Example
How to use Multiple Event Tracking with a custom HTML form.
Multiple Event Tracking with an HTML Link
Example of how to use Multiple Event Tracking with an HTML link.
custom smart tag full page example
Page Title
Automatically Close Campaign After Specific Amount of Seconds
The below code snippet closes your campaign after a specific amount of seconds have passed.
Set a cookie if the URL contains specific UTM parameters.
The below script checks the URL for specific UTM parameters and if found, saves a cookie…
Custom Separator
This code creates a custom separator smart tag for OptinMonster, which determines whether to use ?…