craft-cookies
craft-cookies copied to clipboard
Permission Sets
It would be great if we could add 'permission sets' on the fly, which may aid with GDPR legislation with the opt-in and privacy by design aspects of it.
For example, if the user has said that tracking cookies are okay, it would be great if we could go.
{% if craft.cookies.permission('tracking') %}
{!-- Facebook pixel code here --}
{% endif %}
hmmmm. How would you envision these being handle? I'd assume you'd need to store the preferences on a per-use basis somewhere?
I'm not sure if it makes sense to have something like this baked in, but maybe it does -- can you outline how you think it'd work?