digitalwithyou / craft-facebook-conversion

Craft CMS plugin to send web events directly to Facebook
https://digitalwithyou.com/en/plugins/facebook-conversion/getting-started
Other
0 stars 3 forks source link

JS Hooks not GDPR compliant - small feature request #32

Open MisterMike opened 1 year ago

MisterMike commented 1 year ago

Hi there,

I use the free consent manager https://github.com/orestbida/cookieconsent which relies on the fact that included Javascript files are tagged as text/plain thus preventing them from being executed.

Would you consider adding a setting to the plugin that lets the user decide wether the scripts are being included as presently – and alternatively using something like <script type="text/plain" data-cookiecategory="marketing">.

This would make it compliant with those cookie consent managers that rely on this, and the CP lightswitch would let everyone else with the current setting.