Home / Admin / om-manually-set-global-cookies.js
Duplicate Snippet

Embed Snippet on Your Site

om-manually-set-global-cookies.js

Code Preview
js
// Set OptinMonster Global Cookies when this function runs
function setGlobalCookies() {
  document.cookie = "omSuccessCookie=true; expires=Fri, 31 Dec 9999 23:59:59 GMT";
  document.cookie = "omGlobalSuccessCookie=true; expires=Fri, 31 Dec 9999 23:59:59 GMT";
  document.cookie = "omGlobalInteractionCookie=true; expires=Fri, 31 Dec 9999 23:59:59 GMT";
}

Comments

Add a Comment