Configure the Wisepops cookies lifetime

Lisa Fockens Updated by Lisa Fockens

By default, the cookies we set on your visitors devices will expire after 2 years. You can easily adjust our cookies' lifetime by placing the following snippet just after our setup code:

wisepops('options', {
cookieTTL: RETENTION_PERIOD_EXPRESSED_IN_DAYS
});

RETENTION_PERIOD_EXPRESSED_IN_DAYS must be replaced by the number of days that suits your need. Let's assume that you would like the cookies lifetime to be 13 months (or 396 days). The snippet would be:

wisepops('options', {
cookieTTL: 396
});

Place it just after the setup code, as follows:

Don't hesitate to contact our support if you have any question!

GDPR & CCPA compliance

Accessibility and compliance with ADA/WCAG

Contact