Before using this extension make sure you have gone through the library’s documentation so you understand what’s and what’s not possible and how to achieve your objective.
This Wappler component wraps the library for compatibility with App Connect while providing a UI to interact with it from the Studio app.
Screenies:
App Connect panel
App Connect panel and dynamic events
Databindings
Actions
Event data
Demo from the library website in case you want to play a bit with it:
https://playground.cookieconsent.orestbida.com
How to block scripts that place cookies until consent is given(or not)?
- Change your script type to
text/plain
- Use the
data-category
attribute in your script tag and use as value one of the categories you have configured in the plugin.
<script src="external.js" type="text/plain" data-category="analytics"></script>
Once the user accepts the analytics
category in the consent modal it will load the script. If the user doesn’t accept the analytics
category the script will never run so the analytics cookies won’t be placed in the user’s browser.
Enjoy GDPRing.