OFFLINE-GmbH / oc-gdpr-plugin

October CMS plugin to make websites GDPR and ePrivacy compliant
https://octobercms.com/plugin/offline-gdpr
MIT License
36 stars 20 forks source link

After acceptance non-relevant cookies are written only after manual refresh #90

Open nopaxx opened 2 years ago

nopaxx commented 2 years ago

hey there, ive integrated that wonderfull plugin into my october install. it works as intended but only starts to write the cookies after acceptance when i do a manual refresh of the page. is there anything iam missing? regards

tobias-kuendig commented 2 years ago

Do you have jQuery and the JS framework included? The component renders your gdpr partial after the user hits Accept, which wil load your assets.

https://github.com/OFFLINE-GmbH/oc-gdpr-plugin/blob/develop/components/cookiebanner/optin.htm#L8