Xippo / OM-Cookie-Manager

TYPO3 Extension - OM Cookie Manager | Feats: Consent Panel (Optin), Grouping and Google Tag Manager support
GNU General Public License v3.0
10 stars 10 forks source link

Changing default lifetime of 'cookie consent cookie' #13

Open mgrn0 opened 4 years ago

mgrn0 commented 4 years ago

It would be a nice feature being able to set the default lifetime of the 'cookie consent' cookie itself - it defaults to 365 days, but if I change cookies or -groups after people already accepted their choice of cookies on a website they wont see the panel anymore from that day on until a year after.

This could be problematic e.g. if I make a cookie which was non-essential an essential cookie some day, it won't be for all 'existing' visitors until their 365 days are passed.

A similar 'workaround' would be the possibility to change the default name of the cookie - but would mean to change the JS file, so probably is not THAT ideal solution.

Xippo commented 3 years ago

Thanks for your Input. At the moment the panel will only triggerd again if you add a new group but not if you remove or modify one. To archive this we need some more elaborated checking stuff inside the js. Maybe some kind of helper cookie where is stored some kind of hash, which is generated on the base of the data stored in the entries (groups and cookies)