Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

cookieExpire is not working #133

Open
Bdur604 opened this issue Jul 4, 2017 · 3 comments
Open

cookieExpire is not working #133

Bdur604 opened this issue Jul 4, 2017 · 3 comments

Comments

@Bdur604
Copy link

Bdur604 commented Jul 4, 2017

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 ??

@CraigWallsauce
Copy link

simple answer:
aggressive: false;

@nodesocket
Copy link

Don't use aggressive. According to the doc, this does not use cookie state at all.

@lauterry
Copy link

Hello

Please close this issue if resolved

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

4 participants