beyonk-group / gdpr-cookie-consent-banner

A GDPR compliant cookie consent banner implementation
MIT License
248 stars 42 forks source link

QUESTION: How can one hook into the user's selection event? #22

Closed carlosalvidrez closed 2 years ago

carlosalvidrez commented 3 years ago

I ask because I need to store the agreement in a database... wonder how I can hook into the selection events. Also, is there a demo somewhere so I can see its UI?

Thanks!

antony commented 2 years ago

The banner has four events - such as on:analytics - you would call a method there to do something with the choice.

There isn't a demo online no. But it's live on our site - https://beyonk.com