Tagged: Cookie Consent
Hi Enfold team
Re. the new cookie consent notice:
When a user clicks ok on the cookie consent – how long time will this consent last?
Or put another way: How long time will pass before the user encounters the cookie consent notice again?
I mean as put default by the Enfold theme?
Best regards
Hey Carsten,
That is basically for 30 days.
Let us know if we can help you with something else.
Best regards,
Basilis
Thanks Basilis 😊
Is this period adjustable – and how?
Best regards
Hi,
It can be adjusted but you have to modify the js > avia-snippet-cookieconsent.js file. Look for this line.
aviaSetCookie('aviaCookieConsent',cookieContents,60);
The default is 60 days.
Best regards,
Ismael
Thanks a lot Ismael – always constructive help from you! Really appreciate it :-)
Do you prolong it to fx 120 days by just writing:
aviaSetCookie(‘aviaCookieConsent’,cookieContents,120);
Best regards
Hi,
Glad to help. And yes, you can do that. You may need to re-save the theme options to regenerate the updated scripts. :)
Best regards,
Ismael
Hi,
Glad to help. And yes, you can do that. You may need to re-save the theme options to regenerate the updated scripts. :)
Best regards,
Ismael
Thanks again(!) for your great help Ismael :-)
Thread may be closed.
Best regards
Hi,
Glad we could help!
Please take a moment to review our theme and show your support https://themeforest.net/downloads
To know more about enfold features please check – http://kriesi.at/documentation/enfold/
Thank you for using Enfold :)
Best regards,
Basilis