Open Bdur604 opened 7 years ago
Can any body help how to set cookie Expire. It is not working for me. Popup is triggering every time i refresh page.
var _ouibounce = ouibounce(document.getElementById('ouibounce-modal'), { aggressive: true, timer: 0, cookieExpire: 10, callback: function() { console.log('ouibounce fired!'); } }); _ouibounce.disable({ cookieExpire: 50, sitewide: true });
Is there is something wrong in my code ??
simple answer: aggressive: false;
Don't use aggressive. According to the doc, this does not use cookie state at all.
aggressive
Hello
Please close this issue if resolved
Can any body help how to set cookie Expire. It is not working for me. Popup is triggering every time i refresh page.
var _ouibounce = ouibounce(document.getElementById('ouibounce-modal'), { aggressive: true, timer: 0, cookieExpire: 10, callback: function() { console.log('ouibounce fired!'); } }); _ouibounce.disable({ cookieExpire: 50, sitewide: true });
Is there is something wrong in my code ??