nuxt-modules / plausible

🎟️ Plausible Analytics integration for Nuxt
https://plausible.io
MIT License
106 stars 7 forks source link

Could be initiated on demand #10

Closed boudydegeer closed 9 months ago

boudydegeer commented 1 year ago

Due to the GDPR in Europe, it would be nice to have a way to no auto initiate the plugin until the user accepts the GDPR/Cookie Consent.

Is there a possibility to do it?

Should/Could I try to do a PR?

Thanks in advance

johannschopplich commented 1 year ago

As far as I understand it, Plausible is GDPR-compliant by default. That's the reason I choose it for my projects.

Having said that, a grantConsent method might come in handy. I have implemented such in the nuxt-gtag module. Sure, PR welcome!

Barbapapazes commented 9 months ago

Yes, no cookies are used by Plausible and impossible to trace a user. It's GPDR compliant!